- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
public static final class DatabaseConfig.Builder extends GeneratedMessageV3.Builder<DatabaseConfig.Builder> implements DatabaseConfigOrBuilder
The configuration of Cloud SQL instance that is used by the Apache Airflow software.
Protobuf type google.cloud.orchestration.airflow.service.v1.DatabaseConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DatabaseConfig.BuilderImplements
DatabaseConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DatabaseConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DatabaseConfig.Builder |
build()
public DatabaseConfig build()
Type | Description |
DatabaseConfig |
buildPartial()
public DatabaseConfig buildPartial()
Type | Description |
DatabaseConfig |
clear()
public DatabaseConfig.Builder clear()
Type | Description |
DatabaseConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public DatabaseConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
DatabaseConfig.Builder |
clearMachineType()
public DatabaseConfig.Builder clearMachineType()
Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1..-airflow-..*.
string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
DatabaseConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DatabaseConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DatabaseConfig.Builder |
clone()
public DatabaseConfig.Builder clone()
Type | Description |
DatabaseConfig.Builder |
getDefaultInstanceForType()
public DatabaseConfig getDefaultInstanceForType()
Type | Description |
DatabaseConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMachineType()
public String getMachineType()
Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1..-airflow-..*.
string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The machineType. |
getMachineTypeBytes()
public ByteString getMachineTypeBytes()
Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1..-airflow-..*.
string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for machineType. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(DatabaseConfig other)
public DatabaseConfig.Builder mergeFrom(DatabaseConfig other)
Name | Description |
other | DatabaseConfig |
Type | Description |
DatabaseConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DatabaseConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DatabaseConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DatabaseConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DatabaseConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DatabaseConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DatabaseConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DatabaseConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DatabaseConfig.Builder |
setMachineType(String value)
public DatabaseConfig.Builder setMachineType(String value)
Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1..-airflow-..*.
string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The machineType to set. |
Type | Description |
DatabaseConfig.Builder | This builder for chaining. |
setMachineTypeBytes(ByteString value)
public DatabaseConfig.Builder setMachineTypeBytes(ByteString value)
Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1..-airflow-..*.
string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for machineType to set. |
Type | Description |
DatabaseConfig.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DatabaseConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DatabaseConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DatabaseConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DatabaseConfig.Builder |