@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasKey()) { hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); } if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.tracing.TraceAdminPB.ConfigPair)) { return super.equals(obj); } org.apache.hadoop.tracing.TraceAdminPB.ConfigPair other = (org.apache.hadoop.tracing.TraceAdminPB.ConfigPair) obj; boolean result = true; result = result && (hasKey() == other.hasKey()); if (hasKey()) { result = result && getKey() .equals(other.getKey()); } result = result && (hasValue() == other.hasValue()); if (hasValue()) { result = result && getValue() .equals(other.getValue()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasKey()) { hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); } if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.tracing.TraceAdminPB.ConfigPair)) { return super.equals(obj); } org.apache.hadoop.tracing.TraceAdminPB.ConfigPair other = (org.apache.hadoop.tracing.TraceAdminPB.ConfigPair) obj; boolean result = true; result = result && (hasKey() == other.hasKey()); if (hasKey()) { result = result && getKey() .equals(other.getKey()); } result = result && (hasValue() == other.hasValue()); if (hasValue()) { result = result && getValue() .equals(other.getValue()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.tracing.TraceAdminPB.ConfigPair)) { return super.equals(obj); } org.apache.hadoop.tracing.TraceAdminPB.ConfigPair other = (org.apache.hadoop.tracing.TraceAdminPB.ConfigPair) obj; boolean result = true; result = result && (hasKey() == other.hasKey()); if (hasKey()) { result = result && getKey() .equals(other.getKey()); } result = result && (hasValue() == other.hasValue()); if (hasValue()) { result = result && getValue() .equals(other.getValue()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.tracing.TraceAdminPB.ConfigPair)) { return super.equals(obj); } org.apache.hadoop.tracing.TraceAdminPB.ConfigPair other = (org.apache.hadoop.tracing.TraceAdminPB.ConfigPair) obj; boolean result = true; result = result && (hasKey() == other.hasKey()); if (hasKey()) { result = result && getKey() .equals(other.getKey()); } result = result && (hasValue() == other.hasValue()); if (hasValue()) { result = result && getValue() .equals(other.getValue()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.tracing.TraceAdminPB.ConfigPair)) { return super.equals(obj); } org.apache.hadoop.tracing.TraceAdminPB.ConfigPair other = (org.apache.hadoop.tracing.TraceAdminPB.ConfigPair) obj; boolean result = true; result = result && (hasKey() == other.hasKey()); if (hasKey()) { result = result && getKey() .equals(other.getKey()); } result = result && (hasValue() == other.hasValue()); if (hasValue()) { result = result && getValue() .equals(other.getValue()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasKey()) { hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); } if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasKey()) { hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); } if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasKey()) { hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); } if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
@Override public AddSpanReceiverResponseProto addSpanReceiver( RpcController controller, AddSpanReceiverRequestProto req) throws ServiceException { try { SpanReceiverInfoBuilder factory = new SpanReceiverInfoBuilder(req.getClassName()); for (ConfigPair config : req.getConfigList()) { factory.addConfigurationPair(config.getKey(), config.getValue()); } long id = server.addSpanReceiver(factory.build()); return AddSpanReceiverResponseProto.newBuilder().setId(id).build(); } catch (IOException e) { throw new ServiceException(e); } }
@Override public AddSpanReceiverResponseProto addSpanReceiver( RpcController controller, AddSpanReceiverRequestProto req) throws ServiceException { try { SpanReceiverInfoBuilder factory = new SpanReceiverInfoBuilder(req.getClassName()); for (ConfigPair config : req.getConfigList()) { factory.addConfigurationPair(config.getKey(), config.getValue()); } long id = server.addSpanReceiver(factory.build()); return AddSpanReceiverResponseProto.newBuilder().setId(id).build(); } catch (IOException e) { throw new ServiceException(e); } }
@Override public AddSpanReceiverResponseProto addSpanReceiver( RpcController controller, AddSpanReceiverRequestProto req) throws ServiceException { try { SpanReceiverInfoBuilder factory = new SpanReceiverInfoBuilder(req.getClassName()); for (ConfigPair config : req.getConfigList()) { factory.addConfigurationPair(config.getKey(), config.getValue()); } long id = server.addSpanReceiver(factory.build()); return AddSpanReceiverResponseProto.newBuilder().setId(id).build(); } catch (IOException e) { throw new ServiceException(e); } }
@Override public AddSpanReceiverResponseProto addSpanReceiver( RpcController controller, AddSpanReceiverRequestProto req) throws ServiceException { try { SpanReceiverInfoBuilder factory = new SpanReceiverInfoBuilder(req.getClassName()); for (ConfigPair config : req.getConfigList()) { factory.addConfigurationPair(config.getKey(), config.getValue()); } long id = server.addSpanReceiver(factory.build()); return AddSpanReceiverResponseProto.newBuilder().setId(id).build(); } catch (IOException e) { throw new ServiceException(e); } }
/** * <code>required string value = 2;</code> */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000002); value_ = getDefaultInstance().getValue(); onChanged(); return this; } /**
/** * <code>required string value = 2;</code> */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000002); value_ = getDefaultInstance().getValue(); onChanged(); return this; } /**
/** * <code>required string value = 2;</code> */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000002); value_ = getDefaultInstance().getValue(); onChanged(); return this; } /**
/** * <code>required string value = 2;</code> */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000002); value_ = getDefaultInstance().getValue(); onChanged(); return this; } /**
@Override public AddSpanReceiverResponseProto addSpanReceiver( RpcController controller, AddSpanReceiverRequestProto req) throws ServiceException { try { SpanReceiverInfoBuilder factory = new SpanReceiverInfoBuilder(req.getClassName()); for (ConfigPair config : req.getConfigList()) { factory.addConfigurationPair(config.getKey(), config.getValue()); } long id = server.addSpanReceiver(factory.build()); return AddSpanReceiverResponseProto.newBuilder().setId(id).build(); } catch (IOException e) { throw new ServiceException(e); } }
/** * <code>required string value = 2;</code> */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000002); value_ = getDefaultInstance().getValue(); onChanged(); return this; } /**