/** * * * <pre> * The names of the subscriptions that match the request. * </pre> * * <code>repeated string subscriptions = 1;</code> */ public Builder addSubscriptionsBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSubscriptionsIsMutable(); subscriptions_.add(value); onChanged(); return this; }
/** * * * <pre> * The names of the subscriptions that match the request. * </pre> * * <code>repeated string subscriptions = 1;</code> */ public Builder setSubscriptions(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSubscriptionsIsMutable(); subscriptions_.set(index, value); onChanged(); return this; } /**
/** * * * <pre> * The names of the subscriptions that match the request. * </pre> * * <code>repeated string subscriptions = 1;</code> */ public Builder addSubscriptions(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSubscriptionsIsMutable(); subscriptions_.add(value); onChanged(); return this; } /**
public Builder mergeFrom(com.google.pubsub.v1.ListTopicSubscriptionsResponse other) { if (other == com.google.pubsub.v1.ListTopicSubscriptionsResponse.getDefaultInstance()) return this; if (!other.subscriptions_.isEmpty()) { if (subscriptions_.isEmpty()) { subscriptions_ = other.subscriptions_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSubscriptionsIsMutable(); subscriptions_.addAll(other.subscriptions_); } onChanged(); } if (!other.getNextPageToken().isEmpty()) { nextPageToken_ = other.nextPageToken_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * The names of the subscriptions that match the request. * </pre> * * <code>repeated string subscriptions = 1;</code> */ public Builder setSubscriptions(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSubscriptionsIsMutable(); subscriptions_.set(index, value); onChanged(); return this; } /**
/** * <code>repeated string subscriptions = 1;</code> * * <pre> * The names of the subscriptions that match the request. * </pre> */ public Builder addSubscriptionsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSubscriptionsIsMutable(); subscriptions_.add(value); onChanged(); return this; }
/** * <pre> * The names of the subscriptions that match the request. * </pre> * * <code>repeated string subscriptions = 1;</code> */ public Builder setSubscriptions( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSubscriptionsIsMutable(); subscriptions_.set(index, value); onChanged(); return this; } /**
public Builder mergeFrom(com.google.pubsub.v1.ListTopicSubscriptionsResponse other) { if (other == com.google.pubsub.v1.ListTopicSubscriptionsResponse.getDefaultInstance()) return this; if (!other.subscriptions_.isEmpty()) { if (subscriptions_.isEmpty()) { subscriptions_ = other.subscriptions_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSubscriptionsIsMutable(); subscriptions_.addAll(other.subscriptions_); } onChanged(); } if (!other.getNextPageToken().isEmpty()) { nextPageToken_ = other.nextPageToken_; onChanged(); } onChanged(); return this; }
/** * * * <pre> * The names of the subscriptions that match the request. * </pre> * * <code>repeated string subscriptions = 1;</code> */ public Builder addSubscriptions(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSubscriptionsIsMutable(); subscriptions_.add(value); onChanged(); return this; } /**
public Builder mergeFrom(com.google.pubsub.v1.ListTopicSubscriptionsResponse other) { if (other == com.google.pubsub.v1.ListTopicSubscriptionsResponse.getDefaultInstance()) return this; if (!other.subscriptions_.isEmpty()) { if (subscriptions_.isEmpty()) { subscriptions_ = other.subscriptions_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSubscriptionsIsMutable(); subscriptions_.addAll(other.subscriptions_); } onChanged(); } if (!other.getNextPageToken().isEmpty()) { nextPageToken_ = other.nextPageToken_; onChanged(); } onChanged(); return this; }
/** * * * <pre> * The names of the subscriptions that match the request. * </pre> * * <code>repeated string subscriptions = 1;</code> */ public Builder addSubscriptionsBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSubscriptionsIsMutable(); subscriptions_.add(value); onChanged(); return this; }
/** * <pre> * The names of the subscriptions that match the request. * </pre> * * <code>repeated string subscriptions = 1;</code> */ public Builder addSubscriptionsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSubscriptionsIsMutable(); subscriptions_.add(value); onChanged(); return this; }
/** * <code>repeated string subscriptions = 1;</code> * * <pre> * The names of the subscriptions that match the request. * </pre> */ public Builder addSubscriptions( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSubscriptionsIsMutable(); subscriptions_.add(value); onChanged(); return this; } /**
/** * <pre> * The names of the subscriptions that match the request. * </pre> * * <code>repeated string subscriptions = 1;</code> */ public Builder addSubscriptions( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSubscriptionsIsMutable(); subscriptions_.add(value); onChanged(); return this; } /**
/** * <code>repeated string subscriptions = 1;</code> * * <pre> * The names of the subscriptions that match the request. * </pre> */ public Builder setSubscriptions( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSubscriptionsIsMutable(); subscriptions_.set(index, value); onChanged(); return this; } /**
/** * * * <pre> * The names of the subscriptions that match the request. * </pre> * * <code>repeated string subscriptions = 1;</code> */ public Builder addAllSubscriptions(java.lang.Iterable<java.lang.String> values) { ensureSubscriptionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, subscriptions_); onChanged(); return this; } /**
/** * <pre> * The names of the subscriptions that match the request. * </pre> * * <code>repeated string subscriptions = 1;</code> */ public Builder addAllSubscriptions( java.lang.Iterable<java.lang.String> values) { ensureSubscriptionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, subscriptions_); onChanged(); return this; } /**
/** * <code>repeated string subscriptions = 1;</code> * * <pre> * The names of the subscriptions that match the request. * </pre> */ public Builder addAllSubscriptions( java.lang.Iterable<java.lang.String> values) { ensureSubscriptionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, subscriptions_); onChanged(); return this; } /**
public Builder mergeFrom(com.google.pubsub.v1.ListTopicSubscriptionsResponse other) { if (other == com.google.pubsub.v1.ListTopicSubscriptionsResponse.getDefaultInstance()) return this; if (!other.subscriptions_.isEmpty()) { if (subscriptions_.isEmpty()) { subscriptions_ = other.subscriptions_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSubscriptionsIsMutable(); subscriptions_.addAll(other.subscriptions_); } onChanged(); } if (!other.getNextPageToken().isEmpty()) { nextPageToken_ = other.nextPageToken_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * The names of the subscriptions that match the request. * </pre> * * <code>repeated string subscriptions = 1;</code> */ public Builder addAllSubscriptions(java.lang.Iterable<java.lang.String> values) { ensureSubscriptionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, subscriptions_); onChanged(); return this; } /**