/** * <code>repeated .KeyValue properties = 2;</code> */ public Builder addProperties(org.apache.bookkeeper.mledger.proto.MLDataFormats.KeyValue value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePropertiesIsMutable(); properties_.add(value); onChanged(); } else { propertiesBuilder_.addMessage(value); } return this; } /**
/** * <code>repeated .KeyValue properties = 2;</code> */ public Builder addProperties( int index, org.apache.bookkeeper.mledger.proto.MLDataFormats.KeyValue value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePropertiesIsMutable(); properties_.add(index, value); onChanged(); } else { propertiesBuilder_.addMessage(index, value); } return this; } /**
/** * <code>repeated .KeyValue properties = 2;</code> */ public Builder setProperties( int index, org.apache.bookkeeper.mledger.proto.MLDataFormats.KeyValue value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePropertiesIsMutable(); properties_.set(index, value); onChanged(); } else { propertiesBuilder_.setMessage(index, value); } return this; } /**
bitField0_ = (bitField0_ & ~0x00000002); } else { ensurePropertiesIsMutable(); properties_.addAll(other.properties_);
/** * <code>repeated .KeyValue properties = 2;</code> */ public Builder setProperties( int index, org.apache.bookkeeper.mledger.proto.MLDataFormats.KeyValue value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePropertiesIsMutable(); properties_.set(index, value); onChanged(); } else { propertiesBuilder_.setMessage(index, value); } return this; } /**
/** * <code>repeated .KeyValue properties = 2;</code> */ public Builder addProperties( int index, org.apache.bookkeeper.mledger.proto.MLDataFormats.KeyValue value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePropertiesIsMutable(); properties_.add(index, value); onChanged(); } else { propertiesBuilder_.addMessage(index, value); } return this; } /**
/** * <code>repeated .KeyValue properties = 2;</code> */ public Builder addProperties(org.apache.bookkeeper.mledger.proto.MLDataFormats.KeyValue value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePropertiesIsMutable(); properties_.add(value); onChanged(); } else { propertiesBuilder_.addMessage(value); } return this; } /**
/** * <code>repeated .KeyValue properties = 2;</code> */ public Builder addAllProperties( java.lang.Iterable<? extends org.apache.bookkeeper.mledger.proto.MLDataFormats.KeyValue> values) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, properties_); onChanged(); } else { propertiesBuilder_.addAllMessages(values); } return this; } /**
/** * <code>repeated .KeyValue properties = 2;</code> */ public Builder addProperties( int index, org.apache.bookkeeper.mledger.proto.MLDataFormats.KeyValue.Builder builderForValue) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.add(index, builderForValue.build()); onChanged(); } else { propertiesBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .KeyValue properties = 2;</code> */ public Builder addProperties( org.apache.bookkeeper.mledger.proto.MLDataFormats.KeyValue.Builder builderForValue) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.add(builderForValue.build()); onChanged(); } else { propertiesBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .KeyValue properties = 2;</code> */ public Builder setProperties( int index, org.apache.bookkeeper.mledger.proto.MLDataFormats.KeyValue.Builder builderForValue) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.set(index, builderForValue.build()); onChanged(); } else { propertiesBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .KeyValue properties = 2;</code> */ public Builder removeProperties(int index) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.remove(index); onChanged(); } else { propertiesBuilder_.remove(index); } return this; } /**
bitField0_ = (bitField0_ & ~0x00000002); } else { ensurePropertiesIsMutable(); properties_.addAll(other.properties_);
/** * <code>repeated .KeyValue properties = 2;</code> */ public Builder addAllProperties( java.lang.Iterable<? extends org.apache.bookkeeper.mledger.proto.MLDataFormats.KeyValue> values) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, properties_); onChanged(); } else { propertiesBuilder_.addAllMessages(values); } return this; } /**
/** * <code>repeated .KeyValue properties = 2;</code> */ public Builder addProperties( int index, org.apache.bookkeeper.mledger.proto.MLDataFormats.KeyValue.Builder builderForValue) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.add(index, builderForValue.build()); onChanged(); } else { propertiesBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .KeyValue properties = 2;</code> */ public Builder addProperties( org.apache.bookkeeper.mledger.proto.MLDataFormats.KeyValue.Builder builderForValue) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.add(builderForValue.build()); onChanged(); } else { propertiesBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .KeyValue properties = 2;</code> */ public Builder setProperties( int index, org.apache.bookkeeper.mledger.proto.MLDataFormats.KeyValue.Builder builderForValue) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.set(index, builderForValue.build()); onChanged(); } else { propertiesBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .KeyValue properties = 2;</code> */ public Builder removeProperties(int index) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.remove(index); onChanged(); } else { propertiesBuilder_.remove(index); } return this; } /**