/** * * * <pre> * The resulting topics. * </pre> * * <code>repeated .google.pubsub.v1.Topic topics = 1;</code> */ public Builder addTopics(int index, com.google.pubsub.v1.Topic value) { if (topicsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTopicsIsMutable(); topics_.add(index, value); onChanged(); } else { topicsBuilder_.addMessage(index, value); } return this; } /**
/** * * * <pre> * The resulting topics. * </pre> * * <code>repeated .google.pubsub.v1.Topic topics = 1;</code> */ public Builder addTopics(com.google.pubsub.v1.Topic value) { if (topicsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTopicsIsMutable(); topics_.add(value); onChanged(); } else { topicsBuilder_.addMessage(value); } return this; } /**
/** * * * <pre> * The resulting topics. * </pre> * * <code>repeated .google.pubsub.v1.Topic topics = 1;</code> */ public Builder setTopics(int index, com.google.pubsub.v1.Topic value) { if (topicsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTopicsIsMutable(); topics_.set(index, value); onChanged(); } else { topicsBuilder_.setMessage(index, value); } return this; } /**
/** * <code>repeated .google.pubsub.v1.Topic topics = 1;</code> * * <pre> * The resulting topics. * </pre> */ public Builder setTopics( int index, com.google.pubsub.v1.Topic.Builder builderForValue) { if (topicsBuilder_ == null) { ensureTopicsIsMutable(); topics_.set(index, builderForValue.build()); onChanged(); } else { topicsBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * The resulting topics. * </pre> * * <code>repeated .google.pubsub.v1.Topic topics = 1;</code> */ public Builder addTopics( int index, com.google.pubsub.v1.Topic.Builder builderForValue) { if (topicsBuilder_ == null) { ensureTopicsIsMutable(); topics_.add(index, builderForValue.build()); onChanged(); } else { topicsBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .google.pubsub.v1.Topic topics = 1;</code> * * <pre> * The resulting topics. * </pre> */ public Builder addTopics(com.google.pubsub.v1.Topic value) { if (topicsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTopicsIsMutable(); topics_.add(value); onChanged(); } else { topicsBuilder_.addMessage(value); } return this; } /**
/** * <code>repeated .google.pubsub.v1.Topic topics = 1;</code> * * <pre> * The resulting topics. * </pre> */ public Builder addTopics( int index, com.google.pubsub.v1.Topic.Builder builderForValue) { if (topicsBuilder_ == null) { ensureTopicsIsMutable(); topics_.add(index, builderForValue.build()); onChanged(); } else { topicsBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * The resulting topics. * </pre> * * <code>repeated .google.pubsub.v1.Topic topics = 1;</code> */ public Builder setTopics( int index, com.google.pubsub.v1.Topic.Builder builderForValue) { if (topicsBuilder_ == null) { ensureTopicsIsMutable(); topics_.set(index, builderForValue.build()); onChanged(); } else { topicsBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * The resulting topics. * </pre> * * <code>repeated .google.pubsub.v1.Topic topics = 1;</code> */ public Builder addTopics( com.google.pubsub.v1.Topic.Builder builderForValue) { if (topicsBuilder_ == null) { ensureTopicsIsMutable(); topics_.add(builderForValue.build()); onChanged(); } else { topicsBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * * * <pre> * The resulting topics. * </pre> * * <code>repeated .google.pubsub.v1.Topic topics = 1;</code> */ public Builder addTopics(com.google.pubsub.v1.Topic.Builder builderForValue) { if (topicsBuilder_ == null) { ensureTopicsIsMutable(); topics_.add(builderForValue.build()); onChanged(); } else { topicsBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <pre> * The resulting topics. * </pre> * * <code>repeated .google.pubsub.v1.Topic topics = 1;</code> */ public Builder removeTopics(int index) { if (topicsBuilder_ == null) { ensureTopicsIsMutable(); topics_.remove(index); onChanged(); } else { topicsBuilder_.remove(index); } return this; } /**
/** * <code>repeated .google.pubsub.v1.Topic topics = 1;</code> * * <pre> * The resulting topics. * </pre> */ public Builder addTopics( com.google.pubsub.v1.Topic.Builder builderForValue) { if (topicsBuilder_ == null) { ensureTopicsIsMutable(); topics_.add(builderForValue.build()); onChanged(); } else { topicsBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .google.pubsub.v1.Topic topics = 1;</code> * * <pre> * The resulting topics. * </pre> */ public Builder removeTopics(int index) { if (topicsBuilder_ == null) { ensureTopicsIsMutable(); topics_.remove(index); onChanged(); } else { topicsBuilder_.remove(index); } return this; } /**
/** * * * <pre> * The resulting topics. * </pre> * * <code>repeated .google.pubsub.v1.Topic topics = 1;</code> */ public Builder removeTopics(int index) { if (topicsBuilder_ == null) { ensureTopicsIsMutable(); topics_.remove(index); onChanged(); } else { topicsBuilder_.remove(index); } return this; } /**
bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTopicsIsMutable(); topics_.addAll(other.topics_);
/** * * * <pre> * The resulting topics. * </pre> * * <code>repeated .google.pubsub.v1.Topic topics = 1;</code> */ public Builder addAllTopics(java.lang.Iterable<? extends com.google.pubsub.v1.Topic> values) { if (topicsBuilder_ == null) { ensureTopicsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, topics_); onChanged(); } else { topicsBuilder_.addAllMessages(values); } return this; } /**
/** * * * <pre> * The resulting topics. * </pre> * * <code>repeated .google.pubsub.v1.Topic topics = 1;</code> */ public Builder removeTopics(int index) { if (topicsBuilder_ == null) { ensureTopicsIsMutable(); topics_.remove(index); onChanged(); } else { topicsBuilder_.remove(index); } return this; } /**
/** * * * <pre> * The resulting topics. * </pre> * * <code>repeated .google.pubsub.v1.Topic topics = 1;</code> */ public Builder addTopics(com.google.pubsub.v1.Topic.Builder builderForValue) { if (topicsBuilder_ == null) { ensureTopicsIsMutable(); topics_.add(builderForValue.build()); onChanged(); } else { topicsBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * * * <pre> * The resulting topics. * </pre> * * <code>repeated .google.pubsub.v1.Topic topics = 1;</code> */ public Builder setTopics(int index, com.google.pubsub.v1.Topic.Builder builderForValue) { if (topicsBuilder_ == null) { ensureTopicsIsMutable(); topics_.set(index, builderForValue.build()); onChanged(); } else { topicsBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * The resulting topics. * </pre> * * <code>repeated .google.pubsub.v1.Topic topics = 1;</code> */ public Builder addTopics(int index, com.google.pubsub.v1.Topic.Builder builderForValue) { if (topicsBuilder_ == null) { ensureTopicsIsMutable(); topics_.add(index, builderForValue.build()); onChanged(); } else { topicsBuilder_.addMessage(index, builderForValue.build()); } return this; } /**