public Builder addProperties( int index, org.apache.pulsar.common.api.proto.PulsarApi.KeyValue value) { if (value == null) { throw new NullPointerException(); } ensurePropertiesIsMutable(); properties_.add(index, value); return this; } public Builder addProperties(
public Builder addProperties(org.apache.pulsar.common.api.proto.PulsarApi.KeyValue value) { if (value == null) { throw new NullPointerException(); } ensurePropertiesIsMutable(); properties_.add(value); return this; } public Builder addProperties(
public Builder setProperties( int index, org.apache.pulsar.common.api.proto.PulsarApi.KeyValue value) { if (value == null) { throw new NullPointerException(); } ensurePropertiesIsMutable(); properties_.set(index, value); return this; } public Builder setProperties(
public Builder mergeFrom(org.apache.pulsar.common.api.proto.PulsarApi.SingleMessageMetadata other) { if (other == org.apache.pulsar.common.api.proto.PulsarApi.SingleMessageMetadata.getDefaultInstance()) return this; if (!other.properties_.isEmpty()) { if (properties_.isEmpty()) { properties_ = other.properties_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePropertiesIsMutable(); properties_.addAll(other.properties_); } } if (other.hasPartitionKey()) { setPartitionKey(other.getPartitionKey()); } if (other.hasPayloadSize()) { setPayloadSize(other.getPayloadSize()); } if (other.hasCompactedOut()) { setCompactedOut(other.getCompactedOut()); } if (other.hasEventTime()) { setEventTime(other.getEventTime()); } if (other.hasPartitionKeyB64Encoded()) { setPartitionKeyB64Encoded(other.getPartitionKeyB64Encoded()); } return this; }
public Builder removeProperties(int index) { ensurePropertiesIsMutable(); properties_.remove(index); return this; }
public Builder addProperties( int index, org.apache.pulsar.common.api.proto.PulsarApi.KeyValue value) { if (value == null) { throw new NullPointerException(); } ensurePropertiesIsMutable(); properties_.add(index, value); return this; } public Builder addProperties(
public Builder addProperties(org.apache.pulsar.common.api.proto.PulsarApi.KeyValue value) { if (value == null) { throw new NullPointerException(); } ensurePropertiesIsMutable(); properties_.add(value); return this; } public Builder addProperties(
public Builder setProperties( int index, org.apache.pulsar.common.api.proto.PulsarApi.KeyValue.Builder builderForValue) { ensurePropertiesIsMutable(); properties_.set(index, builderForValue.build()); return this; } public Builder addProperties(org.apache.pulsar.common.api.proto.PulsarApi.KeyValue value) {
public Builder setProperties( int index, org.apache.pulsar.common.api.proto.PulsarApi.KeyValue value) { if (value == null) { throw new NullPointerException(); } ensurePropertiesIsMutable(); properties_.set(index, value); return this; } public Builder setProperties(
public Builder addProperties( org.apache.pulsar.common.api.proto.PulsarApi.KeyValue.Builder builderForValue) { ensurePropertiesIsMutable(); properties_.add(builderForValue.build()); return this; } public Builder addProperties(
public Builder addAllProperties( java.lang.Iterable<? extends org.apache.pulsar.common.api.proto.PulsarApi.KeyValue> values) { ensurePropertiesIsMutable(); super.addAll(values, properties_); return this; } public Builder clearProperties() {
public Builder addProperties( int index, org.apache.pulsar.common.api.proto.PulsarApi.KeyValue.Builder builderForValue) { ensurePropertiesIsMutable(); properties_.add(index, builderForValue.build()); return this; } public Builder addAllProperties(
public Builder mergeFrom(org.apache.pulsar.common.api.proto.PulsarApi.SingleMessageMetadata other) { if (other == org.apache.pulsar.common.api.proto.PulsarApi.SingleMessageMetadata.getDefaultInstance()) return this; if (!other.properties_.isEmpty()) { if (properties_.isEmpty()) { properties_ = other.properties_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePropertiesIsMutable(); properties_.addAll(other.properties_); } } if (other.hasPartitionKey()) { setPartitionKey(other.getPartitionKey()); } if (other.hasPayloadSize()) { setPayloadSize(other.getPayloadSize()); } if (other.hasCompactedOut()) { setCompactedOut(other.getCompactedOut()); } if (other.hasEventTime()) { setEventTime(other.getEventTime()); } if (other.hasPartitionKeyB64Encoded()) { setPartitionKeyB64Encoded(other.getPartitionKeyB64Encoded()); } return this; }
public Builder addAllProperties( java.lang.Iterable<? extends org.apache.pulsar.common.api.proto.PulsarApi.KeyValue> values) { ensurePropertiesIsMutable(); super.addAll(values, properties_); return this; } public Builder clearProperties() {
public Builder addProperties( int index, org.apache.pulsar.common.api.proto.PulsarApi.KeyValue.Builder builderForValue) { ensurePropertiesIsMutable(); properties_.add(index, builderForValue.build()); return this; } public Builder addAllProperties(
public Builder addProperties( org.apache.pulsar.common.api.proto.PulsarApi.KeyValue.Builder builderForValue) { ensurePropertiesIsMutable(); properties_.add(builderForValue.build()); return this; } public Builder addProperties(
public Builder setProperties( int index, org.apache.pulsar.common.api.proto.PulsarApi.KeyValue.Builder builderForValue) { ensurePropertiesIsMutable(); properties_.set(index, builderForValue.build()); return this; } public Builder addProperties(org.apache.pulsar.common.api.proto.PulsarApi.KeyValue value) {
public Builder removeProperties(int index) { ensurePropertiesIsMutable(); properties_.remove(index); return this; }