/** * * * <pre> * An optional list of DDL statements to run inside the newly created * database. Statements can create tables, indexes, etc. These * statements execute atomically with the creation of the database: * if there is an error in any statement, the database is not created. * </pre> * * <code>repeated string extra_statements = 3;</code> */ public Builder addExtraStatementsBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureExtraStatementsIsMutable(); extraStatements_.add(value); onChanged(); return this; }
/** * * * <pre> * An optional list of DDL statements to run inside the newly created * database. Statements can create tables, indexes, etc. These * statements execute atomically with the creation of the database: * if there is an error in any statement, the database is not created. * </pre> * * <code>repeated string extra_statements = 3;</code> */ public Builder setExtraStatements(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureExtraStatementsIsMutable(); extraStatements_.set(index, value); onChanged(); return this; } /**
/** * * * <pre> * An optional list of DDL statements to run inside the newly created * database. Statements can create tables, indexes, etc. These * statements execute atomically with the creation of the database: * if there is an error in any statement, the database is not created. * </pre> * * <code>repeated string extra_statements = 3;</code> */ public Builder addExtraStatements(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureExtraStatementsIsMutable(); extraStatements_.add(value); onChanged(); return this; } /**
public Builder mergeFrom(com.google.spanner.admin.database.v1.CreateDatabaseRequest other) { if (other == com.google.spanner.admin.database.v1.CreateDatabaseRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } if (!other.getCreateStatement().isEmpty()) { createStatement_ = other.createStatement_; onChanged(); } if (!other.extraStatements_.isEmpty()) { if (extraStatements_.isEmpty()) { extraStatements_ = other.extraStatements_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureExtraStatementsIsMutable(); extraStatements_.addAll(other.extraStatements_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * An optional list of DDL statements to run inside the newly created * database. Statements can create tables, indexes, etc. These * statements execute atomically with the creation of the database: * if there is an error in any statement, the database is not created. * </pre> * * <code>repeated string extra_statements = 3;</code> */ public Builder addExtraStatementsBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureExtraStatementsIsMutable(); extraStatements_.add(value); onChanged(); return this; }
/** * * * <pre> * An optional list of DDL statements to run inside the newly created * database. Statements can create tables, indexes, etc. These * statements execute atomically with the creation of the database: * if there is an error in any statement, the database is not created. * </pre> * * <code>repeated string extra_statements = 3;</code> */ public Builder addExtraStatements(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureExtraStatementsIsMutable(); extraStatements_.add(value); onChanged(); return this; } /**
/** * * * <pre> * An optional list of DDL statements to run inside the newly created * database. Statements can create tables, indexes, etc. These * statements execute atomically with the creation of the database: * if there is an error in any statement, the database is not created. * </pre> * * <code>repeated string extra_statements = 3;</code> */ public Builder setExtraStatements(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureExtraStatementsIsMutable(); extraStatements_.set(index, value); onChanged(); return this; } /**
/** * * * <pre> * An optional list of DDL statements to run inside the newly created * database. Statements can create tables, indexes, etc. These * statements execute atomically with the creation of the database: * if there is an error in any statement, the database is not created. * </pre> * * <code>repeated string extra_statements = 3;</code> */ public Builder addAllExtraStatements(java.lang.Iterable<java.lang.String> values) { ensureExtraStatementsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, extraStatements_); onChanged(); return this; } /**
public Builder mergeFrom(com.google.spanner.admin.database.v1.CreateDatabaseRequest other) { if (other == com.google.spanner.admin.database.v1.CreateDatabaseRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } if (!other.getCreateStatement().isEmpty()) { createStatement_ = other.createStatement_; onChanged(); } if (!other.extraStatements_.isEmpty()) { if (extraStatements_.isEmpty()) { extraStatements_ = other.extraStatements_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureExtraStatementsIsMutable(); extraStatements_.addAll(other.extraStatements_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * An optional list of DDL statements to run inside the newly created * database. Statements can create tables, indexes, etc. These * statements execute atomically with the creation of the database: * if there is an error in any statement, the database is not created. * </pre> * * <code>repeated string extra_statements = 3;</code> */ public Builder addAllExtraStatements(java.lang.Iterable<java.lang.String> values) { ensureExtraStatementsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, extraStatements_); onChanged(); return this; } /**