/** * * * <pre> * The server-assigned ID of each published message, in the same order as * the messages in the request. IDs are guaranteed to be unique within * the topic. * </pre> * * <code>repeated string message_ids = 1;</code> */ public Builder addMessageIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureMessageIdsIsMutable(); messageIds_.add(value); onChanged(); return this; }
/** * * * <pre> * The server-assigned ID of each published message, in the same order as * the messages in the request. IDs are guaranteed to be unique within * the topic. * </pre> * * <code>repeated string message_ids = 1;</code> */ public Builder addMessageIds(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureMessageIdsIsMutable(); messageIds_.add(value); onChanged(); return this; } /**
/** * * * <pre> * The server-assigned ID of each published message, in the same order as * the messages in the request. IDs are guaranteed to be unique within * the topic. * </pre> * * <code>repeated string message_ids = 1;</code> */ public Builder setMessageIds(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureMessageIdsIsMutable(); messageIds_.set(index, value); onChanged(); return this; } /**
/** * <pre> * The server-assigned ID of each published message, in the same order as * the messages in the request. IDs are guaranteed to be unique within * the topic. * </pre> * * <code>repeated string message_ids = 1;</code> */ public Builder addMessageIds( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureMessageIdsIsMutable(); messageIds_.add(value); onChanged(); return this; } /**
/** * <pre> * The server-assigned ID of each published message, in the same order as * the messages in the request. IDs are guaranteed to be unique within * the topic. * </pre> * * <code>repeated string message_ids = 1;</code> */ public Builder setMessageIds( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureMessageIdsIsMutable(); messageIds_.set(index, value); onChanged(); return this; } /**
/** * <code>repeated string message_ids = 1;</code> * * <pre> * The server-assigned ID of each published message, in the same order as * the messages in the request. IDs are guaranteed to be unique within * the topic. * </pre> */ public Builder addMessageIds( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureMessageIdsIsMutable(); messageIds_.add(value); onChanged(); return this; } /**
/** * <code>repeated string message_ids = 1;</code> * * <pre> * The server-assigned ID of each published message, in the same order as * the messages in the request. IDs are guaranteed to be unique within * the topic. * </pre> */ public Builder setMessageIds( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureMessageIdsIsMutable(); messageIds_.set(index, value); onChanged(); return this; } /**
/** * * * <pre> * The server-assigned ID of each published message, in the same order as * the messages in the request. IDs are guaranteed to be unique within * the topic. * </pre> * * <code>repeated string message_ids = 1;</code> */ public Builder addMessageIds(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureMessageIdsIsMutable(); messageIds_.add(value); onChanged(); return this; } /**
/** * <code>repeated string message_ids = 1;</code> * * <pre> * The server-assigned ID of each published message, in the same order as * the messages in the request. IDs are guaranteed to be unique within * the topic. * </pre> */ public Builder addAllMessageIds( java.lang.Iterable<java.lang.String> values) { ensureMessageIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, messageIds_); onChanged(); return this; } /**
/** * * * <pre> * The server-assigned ID of each published message, in the same order as * the messages in the request. IDs are guaranteed to be unique within * the topic. * </pre> * * <code>repeated string message_ids = 1;</code> */ public Builder clearMessageIds() { messageIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /**
/** * * * <pre> * The server-assigned ID of each published message, in the same order as * the messages in the request. IDs are guaranteed to be unique within * the topic. * </pre> * * <code>repeated string message_ids = 1;</code> */ public Builder addAllMessageIds(java.lang.Iterable<java.lang.String> values) { ensureMessageIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, messageIds_); onChanged(); return this; } /**
/** * <pre> * The server-assigned ID of each published message, in the same order as * the messages in the request. IDs are guaranteed to be unique within * the topic. * </pre> * * <code>repeated string message_ids = 1;</code> */ public Builder addAllMessageIds( java.lang.Iterable<java.lang.String> values) { ensureMessageIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, messageIds_); onChanged(); return this; } /**
/** * <pre> * The server-assigned ID of each published message, in the same order as * the messages in the request. IDs are guaranteed to be unique within * the topic. * </pre> * * <code>repeated string message_ids = 1;</code> */ public Builder clearMessageIds() { messageIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /**
/** * <code>repeated string message_ids = 1;</code> * * <pre> * The server-assigned ID of each published message, in the same order as * the messages in the request. IDs are guaranteed to be unique within * the topic. * </pre> */ public Builder clearMessageIds() { messageIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /**
public Builder mergeFrom(com.google.pubsub.v1.PublishResponse other) { if (other == com.google.pubsub.v1.PublishResponse.getDefaultInstance()) return this; if (!other.messageIds_.isEmpty()) { if (messageIds_.isEmpty()) { messageIds_ = other.messageIds_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureMessageIdsIsMutable(); messageIds_.addAll(other.messageIds_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(com.google.pubsub.v1.PublishResponse other) { if (other == com.google.pubsub.v1.PublishResponse.getDefaultInstance()) return this; if (!other.messageIds_.isEmpty()) { if (messageIds_.isEmpty()) { messageIds_ = other.messageIds_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureMessageIdsIsMutable(); messageIds_.addAll(other.messageIds_); } onChanged(); } onChanged(); return this; }
public Builder mergeFrom(com.google.pubsub.v1.PublishResponse other) { if (other == com.google.pubsub.v1.PublishResponse.getDefaultInstance()) return this; if (!other.messageIds_.isEmpty()) { if (messageIds_.isEmpty()) { messageIds_ = other.messageIds_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureMessageIdsIsMutable(); messageIds_.addAll(other.messageIds_); } onChanged(); } onChanged(); return this; }
/** * * * <pre> * The server-assigned ID of each published message, in the same order as * the messages in the request. IDs are guaranteed to be unique within * the topic. * </pre> * * <code>repeated string message_ids = 1;</code> */ public Builder clearMessageIds() { messageIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /**
/** * * * <pre> * The server-assigned ID of each published message, in the same order as * the messages in the request. IDs are guaranteed to be unique within * the topic. * </pre> * * <code>repeated string message_ids = 1;</code> */ public Builder addAllMessageIds(java.lang.Iterable<java.lang.String> values) { ensureMessageIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, messageIds_); onChanged(); return this; } /**
public Builder mergeFrom(com.google.pubsub.v1.PublishResponse other) { if (other == com.google.pubsub.v1.PublishResponse.getDefaultInstance()) return this; if (!other.messageIds_.isEmpty()) { if (messageIds_.isEmpty()) { messageIds_ = other.messageIds_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureMessageIdsIsMutable(); messageIds_.addAll(other.messageIds_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }