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 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 org.apache.pulsar.common.api.proto.PulsarApi.SingleMessageMetadata getDefaultInstanceForType() { return org.apache.pulsar.common.api.proto.PulsarApi.SingleMessageMetadata.getDefaultInstance(); }
public Builder clearPartitionKey() { bitField0_ = (bitField0_ & ~0x00000002); partitionKey_ = getDefaultInstance().getPartitionKey(); return this; } void setPartitionKey(org.apache.pulsar.shaded.com.google.protobuf.v241.ByteString value) {
public org.apache.pulsar.common.api.proto.PulsarApi.SingleMessageMetadata getDefaultInstanceForType() { return org.apache.pulsar.common.api.proto.PulsarApi.SingleMessageMetadata.getDefaultInstance(); }
public Builder clearPartitionKey() { bitField0_ = (bitField0_ & ~0x00000002); partitionKey_ = getDefaultInstance().getPartitionKey(); return this; } void setPartitionKey(org.apache.pulsar.shaded.com.google.protobuf.v241.ByteString value) {