public static final class WorkloadsConfig.Builder extends GeneratedMessageV3.Builder<WorkloadsConfig.Builder> implements WorkloadsConfigOrBuilder
The Kubernetes workloads configuration for GKE cluster associated with the
Cloud Composer environment. Supported for Cloud Composer environments in
versions composer-2..-airflow-..* and newer.
Protobuf type google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig
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 WorkloadsConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public WorkloadsConfig build()
Returns
buildPartial()
public WorkloadsConfig buildPartial()
Returns
clear()
public WorkloadsConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public WorkloadsConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public WorkloadsConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearScheduler()
public WorkloadsConfig.Builder clearScheduler()
Optional. Resources used by Airflow schedulers.
.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearWebServer()
public WorkloadsConfig.Builder clearWebServer()
Optional. Resources used by Airflow web server.
.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearWorker()
public WorkloadsConfig.Builder clearWorker()
Optional. Resources used by Airflow workers.
.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
clone()
public WorkloadsConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public WorkloadsConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getScheduler()
public WorkloadsConfig.SchedulerResource getScheduler()
Optional. Resources used by Airflow schedulers.
.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
getSchedulerBuilder()
public WorkloadsConfig.SchedulerResource.Builder getSchedulerBuilder()
Optional. Resources used by Airflow schedulers.
.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
getSchedulerOrBuilder()
public WorkloadsConfig.SchedulerResourceOrBuilder getSchedulerOrBuilder()
Optional. Resources used by Airflow schedulers.
.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
getWebServer()
public WorkloadsConfig.WebServerResource getWebServer()
Optional. Resources used by Airflow web server.
.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getWebServerBuilder()
public WorkloadsConfig.WebServerResource.Builder getWebServerBuilder()
Optional. Resources used by Airflow web server.
.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getWebServerOrBuilder()
public WorkloadsConfig.WebServerResourceOrBuilder getWebServerOrBuilder()
Optional. Resources used by Airflow web server.
.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getWorker()
public WorkloadsConfig.WorkerResource getWorker()
Optional. Resources used by Airflow workers.
.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
getWorkerBuilder()
public WorkloadsConfig.WorkerResource.Builder getWorkerBuilder()
Optional. Resources used by Airflow workers.
.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
getWorkerOrBuilder()
public WorkloadsConfig.WorkerResourceOrBuilder getWorkerOrBuilder()
Optional. Resources used by Airflow workers.
.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
hasScheduler()
public boolean hasScheduler()
Optional. Resources used by Airflow schedulers.
.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
boolean |
Whether the scheduler field is set.
|
hasWebServer()
public boolean hasWebServer()
Optional. Resources used by Airflow web server.
.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
boolean |
Whether the webServer field is set.
|
hasWorker()
public boolean hasWorker()
Optional. Resources used by Airflow workers.
.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
boolean |
Whether the worker field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(WorkloadsConfig other)
public WorkloadsConfig.Builder mergeFrom(WorkloadsConfig other)
Parameter
Returns
public WorkloadsConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public WorkloadsConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeScheduler(WorkloadsConfig.SchedulerResource value)
public WorkloadsConfig.Builder mergeScheduler(WorkloadsConfig.SchedulerResource value)
Optional. Resources used by Airflow schedulers.
.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WorkloadsConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeWebServer(WorkloadsConfig.WebServerResource value)
public WorkloadsConfig.Builder mergeWebServer(WorkloadsConfig.WebServerResource value)
Optional. Resources used by Airflow web server.
.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
mergeWorker(WorkloadsConfig.WorkerResource value)
public WorkloadsConfig.Builder mergeWorker(WorkloadsConfig.WorkerResource value)
Optional. Resources used by Airflow workers.
.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public WorkloadsConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WorkloadsConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setScheduler(WorkloadsConfig.SchedulerResource value)
public WorkloadsConfig.Builder setScheduler(WorkloadsConfig.SchedulerResource value)
Optional. Resources used by Airflow schedulers.
.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setScheduler(WorkloadsConfig.SchedulerResource.Builder builderForValue)
public WorkloadsConfig.Builder setScheduler(WorkloadsConfig.SchedulerResource.Builder builderForValue)
Optional. Resources used by Airflow schedulers.
.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final WorkloadsConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setWebServer(WorkloadsConfig.WebServerResource value)
public WorkloadsConfig.Builder setWebServer(WorkloadsConfig.WebServerResource value)
Optional. Resources used by Airflow web server.
.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setWebServer(WorkloadsConfig.WebServerResource.Builder builderForValue)
public WorkloadsConfig.Builder setWebServer(WorkloadsConfig.WebServerResource.Builder builderForValue)
Optional. Resources used by Airflow web server.
.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setWorker(WorkloadsConfig.WorkerResource value)
public WorkloadsConfig.Builder setWorker(WorkloadsConfig.WorkerResource value)
Optional. Resources used by Airflow workers.
.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setWorker(WorkloadsConfig.WorkerResource.Builder builderForValue)
public WorkloadsConfig.Builder setWorker(WorkloadsConfig.WorkerResource.Builder builderForValue)
Optional. Resources used by Airflow workers.
.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns