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.v1.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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WorkloadsConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public WorkloadsConfig build()
buildPartial()
public WorkloadsConfig buildPartial()
clear()
public WorkloadsConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public WorkloadsConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public WorkloadsConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearScheduler()
public WorkloadsConfig.Builder clearScheduler()
Optional. Resources used by Airflow schedulers.
.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL];
clearWebServer()
public WorkloadsConfig.Builder clearWebServer()
Optional. Resources used by Airflow web server.
.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL];
clearWorker()
public WorkloadsConfig.Builder clearWorker()
Optional. Resources used by Airflow workers.
.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL];
clone()
public WorkloadsConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public WorkloadsConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getScheduler()
public WorkloadsConfig.SchedulerResource getScheduler()
Optional. Resources used by Airflow schedulers.
.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL];
getSchedulerBuilder()
public WorkloadsConfig.SchedulerResource.Builder getSchedulerBuilder()
Optional. Resources used by Airflow schedulers.
.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL];
getSchedulerOrBuilder()
public WorkloadsConfig.SchedulerResourceOrBuilder getSchedulerOrBuilder()
Optional. Resources used by Airflow schedulers.
.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL];
getWebServer()
public WorkloadsConfig.WebServerResource getWebServer()
Optional. Resources used by Airflow web server.
.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL];
getWebServerBuilder()
public WorkloadsConfig.WebServerResource.Builder getWebServerBuilder()
Optional. Resources used by Airflow web server.
.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL];
getWebServerOrBuilder()
public WorkloadsConfig.WebServerResourceOrBuilder getWebServerOrBuilder()
Optional. Resources used by Airflow web server.
.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL];
getWorker()
public WorkloadsConfig.WorkerResource getWorker()
Optional. Resources used by Airflow workers.
.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL];
getWorkerBuilder()
public WorkloadsConfig.WorkerResource.Builder getWorkerBuilder()
Optional. Resources used by Airflow workers.
.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL];
getWorkerOrBuilder()
public WorkloadsConfig.WorkerResourceOrBuilder getWorkerOrBuilder()
Optional. Resources used by Airflow workers.
.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL];
hasScheduler()
public boolean hasScheduler()
Optional. Resources used by Airflow schedulers.
.google.cloud.orchestration.airflow.service.v1.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.v1.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.v1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the worker field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(WorkloadsConfig other)
public WorkloadsConfig.Builder mergeFrom(WorkloadsConfig other)
public WorkloadsConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public WorkloadsConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeScheduler(WorkloadsConfig.SchedulerResource value)
public WorkloadsConfig.Builder mergeScheduler(WorkloadsConfig.SchedulerResource value)
Optional. Resources used by Airflow schedulers.
.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WorkloadsConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeWebServer(WorkloadsConfig.WebServerResource value)
public WorkloadsConfig.Builder mergeWebServer(WorkloadsConfig.WebServerResource value)
Optional. Resources used by Airflow web server.
.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL];
mergeWorker(WorkloadsConfig.WorkerResource value)
public WorkloadsConfig.Builder mergeWorker(WorkloadsConfig.WorkerResource value)
Optional. Resources used by Airflow workers.
.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL];
setField(Descriptors.FieldDescriptor field, Object value)
public WorkloadsConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WorkloadsConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setScheduler(WorkloadsConfig.SchedulerResource value)
public WorkloadsConfig.Builder setScheduler(WorkloadsConfig.SchedulerResource value)
Optional. Resources used by Airflow schedulers.
.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL];
setScheduler(WorkloadsConfig.SchedulerResource.Builder builderForValue)
public WorkloadsConfig.Builder setScheduler(WorkloadsConfig.SchedulerResource.Builder builderForValue)
Optional. Resources used by Airflow schedulers.
.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL];
setUnknownFields(UnknownFieldSet unknownFields)
public final WorkloadsConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setWebServer(WorkloadsConfig.WebServerResource value)
public WorkloadsConfig.Builder setWebServer(WorkloadsConfig.WebServerResource value)
Optional. Resources used by Airflow web server.
.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL];
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.v1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL];
setWorker(WorkloadsConfig.WorkerResource value)
public WorkloadsConfig.Builder setWorker(WorkloadsConfig.WorkerResource value)
Optional. Resources used by Airflow workers.
.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL];
setWorker(WorkloadsConfig.WorkerResource.Builder builderForValue)
public WorkloadsConfig.Builder setWorker(WorkloadsConfig.WorkerResource.Builder builderForValue)
Optional. Resources used by Airflow workers.
.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL];