Class CreateUserWorkloadsSecretRequest.Builder (1.41.0)

public static final class CreateUserWorkloadsSecretRequest.Builder extends GeneratedMessageV3.Builder<CreateUserWorkloadsSecretRequest.Builder> implements CreateUserWorkloadsSecretRequestOrBuilder

Create user workloads Secret request.

Protobuf type google.cloud.orchestration.airflow.service.v1beta1.CreateUserWorkloadsSecretRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateUserWorkloadsSecretRequest build()
Returns
Type Description
CreateUserWorkloadsSecretRequest

buildPartial()

public CreateUserWorkloadsSecretRequest buildPartial()
Returns
Type Description
CreateUserWorkloadsSecretRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateUserWorkloadsSecretRequest.Builder clearParent()

Required. The environment name to create a Secret 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
CreateUserWorkloadsSecretRequest.Builder

This builder for chaining.

clearUserWorkloadsSecret()

public CreateUserWorkloadsSecretRequest.Builder clearUserWorkloadsSecret()

Required. User workloads Secret to create.

.google.cloud.orchestration.airflow.service.v1beta1.UserWorkloadsSecret user_workloads_secret = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateUserWorkloadsSecretRequest.Builder

clone()

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

getDefaultInstanceForType()

public CreateUserWorkloadsSecretRequest getDefaultInstanceForType()
Returns
Type Description
CreateUserWorkloadsSecretRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The environment name to create a Secret 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 Secret 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.

getUserWorkloadsSecret()

public UserWorkloadsSecret getUserWorkloadsSecret()

Required. User workloads Secret to create.

.google.cloud.orchestration.airflow.service.v1beta1.UserWorkloadsSecret user_workloads_secret = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserWorkloadsSecret

The userWorkloadsSecret.

getUserWorkloadsSecretBuilder()

public UserWorkloadsSecret.Builder getUserWorkloadsSecretBuilder()

Required. User workloads Secret to create.

.google.cloud.orchestration.airflow.service.v1beta1.UserWorkloadsSecret user_workloads_secret = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserWorkloadsSecret.Builder

getUserWorkloadsSecretOrBuilder()

public UserWorkloadsSecretOrBuilder getUserWorkloadsSecretOrBuilder()

Required. User workloads Secret to create.

.google.cloud.orchestration.airflow.service.v1beta1.UserWorkloadsSecret user_workloads_secret = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserWorkloadsSecretOrBuilder

hasUserWorkloadsSecret()

public boolean hasUserWorkloadsSecret()

Required. User workloads Secret to create.

.google.cloud.orchestration.airflow.service.v1beta1.UserWorkloadsSecret user_workloads_secret = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the userWorkloadsSecret field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateUserWorkloadsSecretRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUserWorkloadsSecret(UserWorkloadsSecret value)

public CreateUserWorkloadsSecretRequest.Builder mergeUserWorkloadsSecret(UserWorkloadsSecret value)

Required. User workloads Secret to create.

.google.cloud.orchestration.airflow.service.v1beta1.UserWorkloadsSecret user_workloads_secret = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value UserWorkloadsSecret
Returns
Type Description
CreateUserWorkloadsSecretRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateUserWorkloadsSecretRequest.Builder setParent(String value)

Required. The environment name to create a Secret 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
CreateUserWorkloadsSecretRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateUserWorkloadsSecretRequest.Builder setParentBytes(ByteString value)

Required. The environment name to create a Secret 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
CreateUserWorkloadsSecretRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUserWorkloadsSecret(UserWorkloadsSecret value)

public CreateUserWorkloadsSecretRequest.Builder setUserWorkloadsSecret(UserWorkloadsSecret value)

Required. User workloads Secret to create.

.google.cloud.orchestration.airflow.service.v1beta1.UserWorkloadsSecret user_workloads_secret = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value UserWorkloadsSecret
Returns
Type Description
CreateUserWorkloadsSecretRequest.Builder

setUserWorkloadsSecret(UserWorkloadsSecret.Builder builderForValue)

public CreateUserWorkloadsSecretRequest.Builder setUserWorkloadsSecret(UserWorkloadsSecret.Builder builderForValue)

Required. User workloads Secret to create.

.google.cloud.orchestration.airflow.service.v1beta1.UserWorkloadsSecret user_workloads_secret = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue UserWorkloadsSecret.Builder
Returns
Type Description
CreateUserWorkloadsSecretRequest.Builder