public static final class WebServerConfig.Builder extends GeneratedMessageV3.Builder<WebServerConfig.Builder> implements WebServerConfigOrBuilder
The configuration settings for the Airflow web server App Engine instance.
Supported for Cloud Composer environments in versions
composer-1..-airflow-..*.
Protobuf type google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WebServerConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public WebServerConfig build()
Returns
buildPartial()
public WebServerConfig buildPartial()
Returns
clear()
public WebServerConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public WebServerConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMachineType()
public WebServerConfig.Builder clearMachineType()
Optional. Machine type on which Airflow web server is running.
It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
composer-n1-webserver-8.
If not specified, composer-n1-webserver-2 will be used.
Value custom is returned only in response, if Airflow web server parameters
were manually changed to a non-standard values.
string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public WebServerConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public WebServerConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public WebServerConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMachineType()
public String getMachineType()
Optional. Machine type on which Airflow web server is running.
It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
composer-n1-webserver-8.
If not specified, composer-n1-webserver-2 will be used.
Value custom is returned only in response, if Airflow web server parameters
were manually changed to a non-standard values.
string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
String |
The machineType.
|
getMachineTypeBytes()
public ByteString getMachineTypeBytes()
Optional. Machine type on which Airflow web server is running.
It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
composer-n1-webserver-8.
If not specified, composer-n1-webserver-2 will be used.
Value custom is returned only in response, if Airflow web server parameters
were manually changed to a non-standard values.
string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
ByteString |
The bytes for machineType.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(WebServerConfig other)
public WebServerConfig.Builder mergeFrom(WebServerConfig other)
Parameter
Returns
public WebServerConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public WebServerConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WebServerConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public WebServerConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMachineType(String value)
public WebServerConfig.Builder setMachineType(String value)
Optional. Machine type on which Airflow web server is running.
It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
composer-n1-webserver-8.
If not specified, composer-n1-webserver-2 will be used.
Value custom is returned only in response, if Airflow web server parameters
were manually changed to a non-standard values.
string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name |
Description |
value |
String
The machineType to set.
|
Returns
setMachineTypeBytes(ByteString value)
public WebServerConfig.Builder setMachineTypeBytes(ByteString value)
Optional. Machine type on which Airflow web server is running.
It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
composer-n1-webserver-8.
If not specified, composer-n1-webserver-2 will be used.
Value custom is returned only in response, if Airflow web server parameters
were manually changed to a non-standard values.
string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name |
Description |
value |
ByteString
The bytes for machineType to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WebServerConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final WebServerConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides