/** * * * <pre> * A list of formatted DDL statements defining the schema of the database * specified in the request. * </pre> * * <code>repeated string statements = 1;</code> */ public Builder setStatements(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureStatementsIsMutable(); statements_.set(index, value); onChanged(); return this; } /**
/** * * * <pre> * A list of formatted DDL statements defining the schema of the database * specified in the request. * </pre> * * <code>repeated string statements = 1;</code> */ public Builder addStatements(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureStatementsIsMutable(); statements_.add(value); onChanged(); return this; } /**
/** * * * <pre> * A list of formatted DDL statements defining the schema of the database * specified in the request. * </pre> * * <code>repeated string statements = 1;</code> */ public Builder addStatementsBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureStatementsIsMutable(); statements_.add(value); onChanged(); return this; }
/** * * * <pre> * A list of formatted DDL statements defining the schema of the database * specified in the request. * </pre> * * <code>repeated string statements = 1;</code> */ public Builder setStatements(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureStatementsIsMutable(); statements_.set(index, value); onChanged(); return this; } /**
/** * * * <pre> * A list of formatted DDL statements defining the schema of the database * specified in the request. * </pre> * * <code>repeated string statements = 1;</code> */ public Builder addStatementsBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureStatementsIsMutable(); statements_.add(value); onChanged(); return this; }
/** * * * <pre> * A list of formatted DDL statements defining the schema of the database * specified in the request. * </pre> * * <code>repeated string statements = 1;</code> */ public Builder addStatements(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureStatementsIsMutable(); statements_.add(value); onChanged(); return this; } /**
/** * * * <pre> * A list of formatted DDL statements defining the schema of the database * specified in the request. * </pre> * * <code>repeated string statements = 1;</code> */ public Builder clearStatements() { statements_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /**
/** * * * <pre> * A list of formatted DDL statements defining the schema of the database * specified in the request. * </pre> * * <code>repeated string statements = 1;</code> */ public Builder addAllStatements(java.lang.Iterable<java.lang.String> values) { ensureStatementsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, statements_); onChanged(); return this; } /**
public Builder mergeFrom(com.google.spanner.admin.database.v1.GetDatabaseDdlResponse other) { if (other == com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.getDefaultInstance()) return this; if (!other.statements_.isEmpty()) { if (statements_.isEmpty()) { statements_ = other.statements_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureStatementsIsMutable(); statements_.addAll(other.statements_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(com.google.spanner.admin.database.v1.GetDatabaseDdlResponse other) { if (other == com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.getDefaultInstance()) return this; if (!other.statements_.isEmpty()) { if (statements_.isEmpty()) { statements_ = other.statements_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureStatementsIsMutable(); statements_.addAll(other.statements_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * A list of formatted DDL statements defining the schema of the database * specified in the request. * </pre> * * <code>repeated string statements = 1;</code> */ public Builder clearStatements() { statements_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /**
/** * * * <pre> * A list of formatted DDL statements defining the schema of the database * specified in the request. * </pre> * * <code>repeated string statements = 1;</code> */ public Builder addAllStatements(java.lang.Iterable<java.lang.String> values) { ensureStatementsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, statements_); onChanged(); return this; } /**