public org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto buildPartial() { org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto result = new org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.className_ = className_; if (configBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { config_ = java.util.Collections.unmodifiableList(config_); bitField0_ = (bitField0_ & ~0x00000002); } result.config_ = config_; } else { result.config_ = configBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); 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; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getClassNameBytes()); } for (int i = 0; i < config_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, config_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public Builder mergeFrom(org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto other) { if (other == org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto.getDefaultInstance()) return this; if (other.hasClassName()) { bitField0_ |= 0x00000001; className_ = other.className_; this.mergeUnknownFields(other.getUnknownFields()); return this;
public Builder mergeFrom(org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto other) { if (other == org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto.getDefaultInstance()) return this; if (other.hasClassName()) { bitField0_ |= 0x00000001; className_ = other.className_; this.mergeUnknownFields(other.getUnknownFields()); return this;
public Builder mergeFrom(org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto other) { if (other == org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto.getDefaultInstance()) return this; if (other.hasClassName()) { bitField0_ |= 0x00000001; className_ = other.className_; this.mergeUnknownFields(other.getUnknownFields()); return this;
public Builder mergeFrom(org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto other) { if (other == org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto.getDefaultInstance()) return this; if (other.hasClassName()) { bitField0_ |= 0x00000001; className_ = other.className_; this.mergeUnknownFields(other.getUnknownFields()); return this;
public org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto buildPartial() { org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto result = new org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.className_ = className_; if (configBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { config_ = java.util.Collections.unmodifiableList(config_); bitField0_ = (bitField0_ & ~0x00000002); } result.config_ = config_; } else { result.config_ = configBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto buildPartial() { org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto result = new org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.className_ = className_; if (configBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { config_ = java.util.Collections.unmodifiableList(config_); bitField0_ = (bitField0_ & ~0x00000002); } result.config_ = config_; } else { result.config_ = configBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto buildPartial() { org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto result = new org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.className_ = className_; if (configBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { config_ = java.util.Collections.unmodifiableList(config_); bitField0_ = (bitField0_ & ~0x00000002); } result.config_ = config_; } else { result.config_ = configBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto buildPartial() { org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto result = new org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.className_ = className_; if (configBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { config_ = java.util.Collections.unmodifiableList(config_); bitField0_ = (bitField0_ & ~0x00000002); } result.config_ = config_; } else { result.config_ = configBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); 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 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; }
public final com.google.protobuf.Message getRequestPrototype( com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getRequestPrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto.getDefaultInstance(); case 1: return org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto.getDefaultInstance(); case 2: return org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } }
@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; }
public final io.prestosql.hadoop.$internal.com.google.protobuf.Message getRequestPrototype( io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getRequestPrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto.getDefaultInstance(); case 1: return org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto.getDefaultInstance(); case 2: return org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } }
public final io.prestosql.hadoop.$internal.com.google.protobuf.Message getRequestPrototype( io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getRequestPrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto.getDefaultInstance(); case 1: return org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto.getDefaultInstance(); case 2: return org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } }
public final com.google.protobuf.Message getRequestPrototype( com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getRequestPrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto.getDefaultInstance(); case 1: return org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto.getDefaultInstance(); case 2: return org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } }
public final com.google.protobuf.Message getRequestPrototype( com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getRequestPrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto.getDefaultInstance(); case 1: return org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto.getDefaultInstance(); case 2: return org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } }