/** * * * <pre> * DDL statements to be applied to the database. * </pre> * * <code>repeated string statements = 2;</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> * DDL statements to be applied to the database. * </pre> * * <code>repeated string statements = 2;</code> */ public Builder addStatements(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureStatementsIsMutable(); statements_.add(value); onChanged(); return this; } /**
/** * * * <pre> * DDL statements to be applied to the database. * </pre> * * <code>repeated string statements = 2;</code> */ public Builder addStatementsBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureStatementsIsMutable(); statements_.add(value); onChanged(); return this; }
public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest other) { if (other == com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.getDefaultInstance()) return this; if (!other.getDatabase().isEmpty()) { database_ = other.database_; onChanged(); } if (!other.statements_.isEmpty()) { if (statements_.isEmpty()) { statements_ = other.statements_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureStatementsIsMutable(); statements_.addAll(other.statements_); } onChanged(); } if (!other.getOperationId().isEmpty()) { operationId_ = other.operationId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * DDL statements to be applied to the database. * </pre> * * <code>repeated string statements = 2;</code> */ public Builder addStatements(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureStatementsIsMutable(); statements_.add(value); onChanged(); return this; } /**
/** * * * <pre> * DDL statements to be applied to the database. * </pre> * * <code>repeated string statements = 2;</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> * DDL statements to be applied to the database. * </pre> * * <code>repeated string statements = 2;</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> * DDL statements to be applied to the database. * </pre> * * <code>repeated string statements = 2;</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.UpdateDatabaseDdlRequest other) { if (other == com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.getDefaultInstance()) return this; if (!other.getDatabase().isEmpty()) { database_ = other.database_; onChanged(); } if (!other.statements_.isEmpty()) { if (statements_.isEmpty()) { statements_ = other.statements_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureStatementsIsMutable(); statements_.addAll(other.statements_); } onChanged(); } if (!other.getOperationId().isEmpty()) { operationId_ = other.operationId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * DDL statements to be applied to the database. * </pre> * * <code>repeated string statements = 2;</code> */ public Builder addAllStatements(java.lang.Iterable<java.lang.String> values) { ensureStatementsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, statements_); onChanged(); return this; } /**