@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasClassName()) { hash = (37 * hash) + CLASSNAME_FIELD_NUMBER; hash = (53 * hash) + getClassName().hashCode(); } if (getConfigCount() > 0) { hash = (37 * hash) + CONFIG_FIELD_NUMBER; hash = (53 * hash) + getConfigList().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.AddSpanReceiverRequestProto)) { return super.equals(obj); } org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto other = (org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto) obj; boolean result = true; result = result && (hasClassName() == other.hasClassName()); if (hasClassName()) { result = result && getClassName() .equals(other.getClassName()); } result = result && getConfigList() .equals(other.getConfigList()); 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 (hasClassName()) { hash = (37 * hash) + CLASSNAME_FIELD_NUMBER; hash = (53 * hash) + getClassName().hashCode(); } if (getConfigCount() > 0) { hash = (37 * hash) + CONFIG_FIELD_NUMBER; hash = (53 * hash) + getConfigList().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.AddSpanReceiverRequestProto)) { return super.equals(obj); } org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto other = (org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto) obj; boolean result = true; result = result && (hasClassName() == other.hasClassName()); if (hasClassName()) { result = result && getClassName() .equals(other.getClassName()); } result = result && getConfigList() .equals(other.getConfigList()); 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.AddSpanReceiverRequestProto)) { return super.equals(obj); } org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto other = (org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto) obj; boolean result = true; result = result && (hasClassName() == other.hasClassName()); if (hasClassName()) { result = result && getClassName() .equals(other.getClassName()); } result = result && getConfigList() .equals(other.getConfigList()); 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 (hasClassName()) { hash = (37 * hash) + CLASSNAME_FIELD_NUMBER; hash = (53 * hash) + getClassName().hashCode(); } if (getConfigCount() > 0) { hash = (37 * hash) + CONFIG_FIELD_NUMBER; hash = (53 * hash) + getConfigList().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.AddSpanReceiverRequestProto)) { return super.equals(obj); } org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto other = (org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto) obj; boolean result = true; result = result && (hasClassName() == other.hasClassName()); if (hasClassName()) { result = result && getClassName() .equals(other.getClassName()); } result = result && getConfigList() .equals(other.getConfigList()); 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 (hasClassName()) { hash = (37 * hash) + CLASSNAME_FIELD_NUMBER; hash = (53 * hash) + getClassName().hashCode(); } if (getConfigCount() > 0) { hash = (37 * hash) + CONFIG_FIELD_NUMBER; hash = (53 * hash) + getConfigList().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 (hasClassName()) { hash = (37 * hash) + CLASSNAME_FIELD_NUMBER; hash = (53 * hash) + getClassName().hashCode(); } if (getConfigCount() > 0) { hash = (37 * hash) + CONFIG_FIELD_NUMBER; hash = (53 * hash) + getConfigList().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.AddSpanReceiverRequestProto)) { return super.equals(obj); } org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto other = (org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto) obj; boolean result = true; result = result && (hasClassName() == other.hasClassName()); if (hasClassName()) { result = result && getClassName() .equals(other.getClassName()); } result = result && getConfigList() .equals(other.getConfigList()); result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@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 className = 1;</code> */ public Builder clearClassName() { bitField0_ = (bitField0_ & ~0x00000001); className_ = getDefaultInstance().getClassName(); onChanged(); return this; } /**
/** * <code>required string className = 1;</code> */ public Builder clearClassName() { bitField0_ = (bitField0_ & ~0x00000001); className_ = getDefaultInstance().getClassName(); onChanged(); return this; } /**
/** * <code>required string className = 1;</code> */ public Builder clearClassName() { bitField0_ = (bitField0_ & ~0x00000001); className_ = getDefaultInstance().getClassName(); onChanged(); return this; } /**
/** * <code>required string className = 1;</code> */ public Builder clearClassName() { bitField0_ = (bitField0_ & ~0x00000001); className_ = getDefaultInstance().getClassName(); 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 className = 1;</code> */ public Builder clearClassName() { bitField0_ = (bitField0_ & ~0x00000001); className_ = getDefaultInstance().getClassName(); onChanged(); return this; } /**