bitField0_ |= 0x00000001; className_ = other.className_; onChanged(); bitField0_ = (bitField0_ & ~0x00000002); } else { ensureConfigIsMutable(); config_.addAll(other.config_); onChanged(); configBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getConfigFieldBuilder() : null; } else { configBuilder_.addAllMessages(other.config_); this.mergeUnknownFields(other.getUnknownFields()); return this;
private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.tracing.TraceAdminPB.ConfigPair, org.apache.hadoop.tracing.TraceAdminPB.ConfigPair.Builder, org.apache.hadoop.tracing.TraceAdminPB.ConfigPairOrBuilder> getConfigFieldBuilder() { if (configBuilder_ == null) { configBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.tracing.TraceAdminPB.ConfigPair, org.apache.hadoop.tracing.TraceAdminPB.ConfigPair.Builder, org.apache.hadoop.tracing.TraceAdminPB.ConfigPairOrBuilder>( config_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); config_ = null; } return configBuilder_; }
bitField0_ |= 0x00000001; className_ = other.className_; onChanged(); bitField0_ = (bitField0_ & ~0x00000002); } else { ensureConfigIsMutable(); config_.addAll(other.config_); onChanged(); configBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getConfigFieldBuilder() : null; } else { configBuilder_.addAllMessages(other.config_); this.mergeUnknownFields(other.getUnknownFields()); return this;
bitField0_ |= 0x00000001; className_ = other.className_; onChanged(); bitField0_ = (bitField0_ & ~0x00000002); } else { ensureConfigIsMutable(); config_.addAll(other.config_); onChanged(); configBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getConfigFieldBuilder() : null; } else { configBuilder_.addAllMessages(other.config_); this.mergeUnknownFields(other.getUnknownFields()); return this;
bitField0_ |= 0x00000001; className_ = other.className_; onChanged(); bitField0_ = (bitField0_ & ~0x00000002); } else { ensureConfigIsMutable(); config_.addAll(other.config_); onChanged(); configBuilder_ = io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getConfigFieldBuilder() : null; } else { configBuilder_.addAllMessages(other.config_); this.mergeUnknownFields(other.getUnknownFields()); return this;
bitField0_ |= 0x00000001; className_ = other.className_; onChanged(); bitField0_ = (bitField0_ & ~0x00000002); } else { ensureConfigIsMutable(); config_.addAll(other.config_); onChanged(); configBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getConfigFieldBuilder() : null; } else { configBuilder_.addAllMessages(other.config_); this.mergeUnknownFields(other.getUnknownFields()); return this;
@Override public long addSpanReceiver(SpanReceiverInfo info) throws IOException { try { AddSpanReceiverRequestProto.Builder bld = AddSpanReceiverRequestProto.newBuilder(); bld.setClassName(info.getClassName()); for (ConfigurationPair configPair : info.configPairs) { ConfigPair tuple = ConfigPair.newBuilder(). setKey(configPair.getKey()). setValue(configPair.getValue()).build(); bld.addConfig(tuple); } AddSpanReceiverResponseProto resp = rpcProxy.addSpanReceiver(null, bld.build()); return resp.getId(); } catch (ServiceException e) { throw ProtobufHelper.getRemoteException(e); } }
/** * <code>repeated .hadoop.common.ConfigPair config = 2;</code> */ public Builder addConfig( int index, org.apache.hadoop.tracing.TraceAdminPB.ConfigPair value) { if (configBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureConfigIsMutable(); config_.add(index, value); onChanged(); } else { configBuilder_.addMessage(index, value); } return this; } /**
/** * <code>repeated .hadoop.common.ConfigPair config = 2;</code> */ public Builder setConfig( int index, org.apache.hadoop.tracing.TraceAdminPB.ConfigPair value) { if (configBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureConfigIsMutable(); config_.set(index, value); onChanged(); } else { configBuilder_.setMessage(index, value); } return this; } /**
@Override public long addSpanReceiver(SpanReceiverInfo info) throws IOException { try { AddSpanReceiverRequestProto.Builder bld = AddSpanReceiverRequestProto.newBuilder(); bld.setClassName(info.getClassName()); for (ConfigurationPair configPair : info.configPairs) { ConfigPair tuple = ConfigPair.newBuilder(). setKey(configPair.getKey()). setValue(configPair.getValue()).build(); bld.addConfig(tuple); } AddSpanReceiverResponseProto resp = rpcProxy.addSpanReceiver(null, bld.build()); return resp.getId(); } catch (ServiceException e) { throw ProtobufHelper.getRemoteException(e); } }
@Override public long addSpanReceiver(SpanReceiverInfo info) throws IOException { try { AddSpanReceiverRequestProto.Builder bld = AddSpanReceiverRequestProto.newBuilder(); bld.setClassName(info.getClassName()); for (ConfigurationPair configPair : info.configPairs) { ConfigPair tuple = ConfigPair.newBuilder(). setKey(configPair.getKey()). setValue(configPair.getValue()).build(); bld.addConfig(tuple); } AddSpanReceiverResponseProto resp = rpcProxy.addSpanReceiver(null, bld.build()); return resp.getId(); } catch (ServiceException e) { throw ProtobufHelper.getRemoteException(e); } }
@Override public long addSpanReceiver(SpanReceiverInfo info) throws IOException { try { AddSpanReceiverRequestProto.Builder bld = AddSpanReceiverRequestProto.newBuilder(); bld.setClassName(info.getClassName()); for (ConfigurationPair configPair : info.configPairs) { ConfigPair tuple = ConfigPair.newBuilder(). setKey(configPair.getKey()). setValue(configPair.getValue()).build(); bld.addConfig(tuple); } AddSpanReceiverResponseProto resp = rpcProxy.addSpanReceiver(null, bld.build()); return resp.getId(); } catch (ServiceException e) { throw ProtobufHelper.getRemoteException(e); } }
/** * <code>repeated .hadoop.common.ConfigPair config = 2;</code> */ public Builder addConfig(org.apache.hadoop.tracing.TraceAdminPB.ConfigPair value) { if (configBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureConfigIsMutable(); config_.add(value); onChanged(); } else { configBuilder_.addMessage(value); } return this; } /**
/** * <code>repeated .hadoop.common.ConfigPair config = 2;</code> */ public Builder addConfig( int index, org.apache.hadoop.tracing.TraceAdminPB.ConfigPair value) { if (configBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureConfigIsMutable(); config_.add(index, value); onChanged(); } else { configBuilder_.addMessage(index, value); } return this; } /**
/** * <code>repeated .hadoop.common.ConfigPair config = 2;</code> */ public Builder addConfig( int index, org.apache.hadoop.tracing.TraceAdminPB.ConfigPair value) { if (configBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureConfigIsMutable(); config_.add(index, value); onChanged(); } else { configBuilder_.addMessage(index, value); } return this; } /**
/** * <code>repeated .hadoop.common.ConfigPair config = 2;</code> */ public Builder addConfig(org.apache.hadoop.tracing.TraceAdminPB.ConfigPair value) { if (configBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureConfigIsMutable(); config_.add(value); onChanged(); } else { configBuilder_.addMessage(value); } return this; } /**
/** * <code>repeated .hadoop.common.ConfigPair config = 2;</code> */ public Builder addConfig( int index, org.apache.hadoop.tracing.TraceAdminPB.ConfigPair.Builder builderForValue) { if (configBuilder_ == null) { ensureConfigIsMutable(); config_.add(index, builderForValue.build()); onChanged(); } else { configBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .hadoop.common.ConfigPair config = 2;</code> */ public Builder addConfig( org.apache.hadoop.tracing.TraceAdminPB.ConfigPair.Builder builderForValue) { if (configBuilder_ == null) { ensureConfigIsMutable(); config_.add(builderForValue.build()); onChanged(); } else { configBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .hadoop.common.ConfigPair config = 2;</code> */ public Builder addAllConfig( java.lang.Iterable<? extends org.apache.hadoop.tracing.TraceAdminPB.ConfigPair> values) { if (configBuilder_ == null) { ensureConfigIsMutable(); super.addAll(values, config_); onChanged(); } else { configBuilder_.addAllMessages(values); } return this; } /**
/** * <code>repeated .hadoop.common.ConfigPair config = 2;</code> */ public Builder addConfig( int index, org.apache.hadoop.tracing.TraceAdminPB.ConfigPair.Builder builderForValue) { if (configBuilder_ == null) { ensureConfigIsMutable(); config_.add(index, builderForValue.build()); onChanged(); } else { configBuilder_.addMessage(index, builderForValue.build()); } return this; } /**