Class CreateUserWorkloadsConfigMapRequest.Builder (1.53.0)

public static final class CreateUserWorkloadsConfigMapRequest.Builder extends GeneratedMessageV3.Builder<CreateUserWorkloadsConfigMapRequest.Builder> implements CreateUserWorkloadsConfigMapRequestOrBuilder

Create user workloads ConfigMap request.

Protobuf type google.cloud.orchestration.airflow.service.v1.CreateUserWorkloadsConfigMapRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateUserWorkloadsConfigMapRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateUserWorkloadsConfigMapRequest.Builder
Overrides

build()

public CreateUserWorkloadsConfigMapRequest build()
Returns
Type Description
CreateUserWorkloadsConfigMapRequest

buildPartial()

public CreateUserWorkloadsConfigMapRequest buildPartial()
Returns
Type Description
CreateUserWorkloadsConfigMapRequest

clear()

public CreateUserWorkloadsConfigMapRequest.Builder clear()
Returns
Type Description
CreateUserWorkloadsConfigMapRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateUserWorkloadsConfigMapRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateUserWorkloadsConfigMapRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateUserWorkloadsConfigMapRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateUserWorkloadsConfigMapRequest.Builder
Overrides

clearParent()

public CreateUserWorkloadsConfigMapRequest.Builder clearParent()

Required. The environment name to create a ConfigMap for, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateUserWorkloadsConfigMapRequest.Builder

This builder for chaining.

clearUserWorkloadsConfigMap()

public CreateUserWorkloadsConfigMapRequest.Builder clearUserWorkloadsConfigMap()

Required. User workloads ConfigMap to create.

.google.cloud.orchestration.airflow.service.v1.UserWorkloadsConfigMap user_workloads_config_map = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateUserWorkloadsConfigMapRequest.Builder

clone()

public CreateUserWorkloadsConfigMapRequest.Builder clone()
Returns
Type Description
CreateUserWorkloadsConfigMapRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateUserWorkloadsConfigMapRequest getDefaultInstanceForType()
Returns
Type Description
CreateUserWorkloadsConfigMapRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The environment name to create a ConfigMap for, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The environment name to create a ConfigMap for, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getUserWorkloadsConfigMap()

public UserWorkloadsConfigMap getUserWorkloadsConfigMap()

Required. User workloads ConfigMap to create.

.google.cloud.orchestration.airflow.service.v1.UserWorkloadsConfigMap user_workloads_config_map = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserWorkloadsConfigMap

The userWorkloadsConfigMap.

getUserWorkloadsConfigMapBuilder()

public UserWorkloadsConfigMap.Builder getUserWorkloadsConfigMapBuilder()

Required. User workloads ConfigMap to create.

.google.cloud.orchestration.airflow.service.v1.UserWorkloadsConfigMap user_workloads_config_map = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserWorkloadsConfigMap.Builder

getUserWorkloadsConfigMapOrBuilder()

public UserWorkloadsConfigMapOrBuilder getUserWorkloadsConfigMapOrBuilder()

Required. User workloads ConfigMap to create.

.google.cloud.orchestration.airflow.service.v1.UserWorkloadsConfigMap user_workloads_config_map = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserWorkloadsConfigMapOrBuilder

hasUserWorkloadsConfigMap()

public boolean hasUserWorkloadsConfigMap()

Required. User workloads ConfigMap to create.

.google.cloud.orchestration.airflow.service.v1.UserWorkloadsConfigMap user_workloads_config_map = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the userWorkloadsConfigMap field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateUserWorkloadsConfigMapRequest other)

public CreateUserWorkloadsConfigMapRequest.Builder mergeFrom(CreateUserWorkloadsConfigMapRequest other)
Parameter
Name Description
other CreateUserWorkloadsConfigMapRequest
Returns
Type Description
CreateUserWorkloadsConfigMapRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateUserWorkloadsConfigMapRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateUserWorkloadsConfigMapRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateUserWorkloadsConfigMapRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateUserWorkloadsConfigMapRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateUserWorkloadsConfigMapRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateUserWorkloadsConfigMapRequest.Builder
Overrides

mergeUserWorkloadsConfigMap(UserWorkloadsConfigMap value)

public CreateUserWorkloadsConfigMapRequest.Builder mergeUserWorkloadsConfigMap(UserWorkloadsConfigMap value)

Required. User workloads ConfigMap to create.

.google.cloud.orchestration.airflow.service.v1.UserWorkloadsConfigMap user_workloads_config_map = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value UserWorkloadsConfigMap
Returns
Type Description
CreateUserWorkloadsConfigMapRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateUserWorkloadsConfigMapRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateUserWorkloadsConfigMapRequest.Builder
Overrides

setParent(String value)

public CreateUserWorkloadsConfigMapRequest.Builder setParent(String value)

Required. The environment name to create a ConfigMap for, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateUserWorkloadsConfigMapRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateUserWorkloadsConfigMapRequest.Builder setParentBytes(ByteString value)

Required. The environment name to create a ConfigMap for, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateUserWorkloadsConfigMapRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateUserWorkloadsConfigMapRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateUserWorkloadsConfigMapRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateUserWorkloadsConfigMapRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateUserWorkloadsConfigMapRequest.Builder
Overrides

setUserWorkloadsConfigMap(UserWorkloadsConfigMap value)

public CreateUserWorkloadsConfigMapRequest.Builder setUserWorkloadsConfigMap(UserWorkloadsConfigMap value)

Required. User workloads ConfigMap to create.

.google.cloud.orchestration.airflow.service.v1.UserWorkloadsConfigMap user_workloads_config_map = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value UserWorkloadsConfigMap
Returns
Type Description
CreateUserWorkloadsConfigMapRequest.Builder

setUserWorkloadsConfigMap(UserWorkloadsConfigMap.Builder builderForValue)

public CreateUserWorkloadsConfigMapRequest.Builder setUserWorkloadsConfigMap(UserWorkloadsConfigMap.Builder builderForValue)

Required. User workloads ConfigMap to create.

.google.cloud.orchestration.airflow.service.v1.UserWorkloadsConfigMap user_workloads_config_map = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue UserWorkloadsConfigMap.Builder
Returns
Type Description
CreateUserWorkloadsConfigMapRequest.Builder