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.v1.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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WebServerConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public WebServerConfig build()
buildPartial()
public WebServerConfig buildPartial()
clear()
public WebServerConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public WebServerConfig.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public WebServerConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public WebServerConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public WebServerConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(WebServerConfig other)
public WebServerConfig.Builder mergeFrom(WebServerConfig other)
public WebServerConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public WebServerConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WebServerConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public WebServerConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WebServerConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final WebServerConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides