/** * * * <pre> * The collection ids. * </pre> * * <code>repeated string collection_ids = 1;</code> */ public Builder setCollectionIds(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCollectionIdsIsMutable(); collectionIds_.set(index, value); onChanged(); return this; } /**
/** * * * <pre> * The collection ids. * </pre> * * <code>repeated string collection_ids = 1;</code> */ public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); return this; }
/** * * * <pre> * A page token that may be used to continue the list. * </pre> * * <code>string next_page_token = 2;</code> */ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; onChanged(); return this; }
public Builder mergeFrom(com.google.firestore.v1beta1.ListCollectionIdsResponse other) { if (other == com.google.firestore.v1beta1.ListCollectionIdsResponse.getDefaultInstance()) return this; if (!other.collectionIds_.isEmpty()) { if (collectionIds_.isEmpty()) { collectionIds_ = other.collectionIds_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureCollectionIdsIsMutable(); collectionIds_.addAll(other.collectionIds_); } onChanged(); } if (!other.getNextPageToken().isEmpty()) { nextPageToken_ = other.nextPageToken_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * The collection ids. * </pre> * * <code>repeated string collection_ids = 1;</code> */ public Builder addCollectionIds(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); return this; } /**
/** * * * <pre> * A page token that may be used to continue the list. * </pre> * * <code>string next_page_token = 2;</code> */ public Builder setNextPageToken(java.lang.String value) { if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; onChanged(); return this; } /**
/** * * * <pre> * The collection ids. * </pre> * * <code>repeated string collection_ids = 1;</code> */ public Builder clearCollectionIds() { collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /**
/** * * * <pre> * The collection ids. * </pre> * * <code>repeated string collection_ids = 1;</code> */ public Builder addAllCollectionIds(java.lang.Iterable<java.lang.String> values) { ensureCollectionIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, collectionIds_); onChanged(); return this; } /**
/** * * * <pre> * A page token that may be used to continue the list. * </pre> * * <code>string next_page_token = 2;</code> */ public Builder clearNextPageToken() { nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /**