Class ListUserWorkloadsSecretsResponse.Builder (1.53.0)

public static final class ListUserWorkloadsSecretsResponse.Builder extends GeneratedMessageV3.Builder<ListUserWorkloadsSecretsResponse.Builder> implements ListUserWorkloadsSecretsResponseOrBuilder

The user workloads Secrets for a given environment.

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

Static Methods

getDescriptor()

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

Methods

addAllUserWorkloadsSecrets(Iterable<? extends UserWorkloadsSecret> values)

public ListUserWorkloadsSecretsResponse.Builder addAllUserWorkloadsSecrets(Iterable<? extends UserWorkloadsSecret> values)

The list of Secrets returned by a ListUserWorkloadsSecretsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret user_workloads_secrets = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret>
Returns
Type Description
ListUserWorkloadsSecretsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUserWorkloadsSecrets(UserWorkloadsSecret value)

public ListUserWorkloadsSecretsResponse.Builder addUserWorkloadsSecrets(UserWorkloadsSecret value)

The list of Secrets returned by a ListUserWorkloadsSecretsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret user_workloads_secrets = 1;

Parameter
Name Description
value UserWorkloadsSecret
Returns
Type Description
ListUserWorkloadsSecretsResponse.Builder

addUserWorkloadsSecrets(UserWorkloadsSecret.Builder builderForValue)

public ListUserWorkloadsSecretsResponse.Builder addUserWorkloadsSecrets(UserWorkloadsSecret.Builder builderForValue)

The list of Secrets returned by a ListUserWorkloadsSecretsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret user_workloads_secrets = 1;

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

addUserWorkloadsSecrets(int index, UserWorkloadsSecret value)

public ListUserWorkloadsSecretsResponse.Builder addUserWorkloadsSecrets(int index, UserWorkloadsSecret value)

The list of Secrets returned by a ListUserWorkloadsSecretsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret user_workloads_secrets = 1;

Parameters
Name Description
index int
value UserWorkloadsSecret
Returns
Type Description
ListUserWorkloadsSecretsResponse.Builder

addUserWorkloadsSecrets(int index, UserWorkloadsSecret.Builder builderForValue)

public ListUserWorkloadsSecretsResponse.Builder addUserWorkloadsSecrets(int index, UserWorkloadsSecret.Builder builderForValue)

The list of Secrets returned by a ListUserWorkloadsSecretsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret user_workloads_secrets = 1;

Parameters
Name Description
index int
builderForValue UserWorkloadsSecret.Builder
Returns
Type Description
ListUserWorkloadsSecretsResponse.Builder

addUserWorkloadsSecretsBuilder()

public UserWorkloadsSecret.Builder addUserWorkloadsSecretsBuilder()

The list of Secrets returned by a ListUserWorkloadsSecretsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret user_workloads_secrets = 1;

Returns
Type Description
UserWorkloadsSecret.Builder

addUserWorkloadsSecretsBuilder(int index)

public UserWorkloadsSecret.Builder addUserWorkloadsSecretsBuilder(int index)

The list of Secrets returned by a ListUserWorkloadsSecretsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret user_workloads_secrets = 1;

Parameter
Name Description
index int
Returns
Type Description
UserWorkloadsSecret.Builder

build()

public ListUserWorkloadsSecretsResponse build()
Returns
Type Description
ListUserWorkloadsSecretsResponse

buildPartial()

public ListUserWorkloadsSecretsResponse buildPartial()
Returns
Type Description
ListUserWorkloadsSecretsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListUserWorkloadsSecretsResponse.Builder clearNextPageToken()

The page token used to query for the next page if one exists.

string next_page_token = 2;

Returns
Type Description
ListUserWorkloadsSecretsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUserWorkloadsSecrets()

public ListUserWorkloadsSecretsResponse.Builder clearUserWorkloadsSecrets()

The list of Secrets returned by a ListUserWorkloadsSecretsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret user_workloads_secrets = 1;

Returns
Type Description
ListUserWorkloadsSecretsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListUserWorkloadsSecretsResponse getDefaultInstanceForType()
Returns
Type Description
ListUserWorkloadsSecretsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

The page token used to query for the next page if one exists.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The page token used to query for the next page if one exists.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUserWorkloadsSecrets(int index)

public UserWorkloadsSecret getUserWorkloadsSecrets(int index)

The list of Secrets returned by a ListUserWorkloadsSecretsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret user_workloads_secrets = 1;

Parameter
Name Description
index int
Returns
Type Description
UserWorkloadsSecret

getUserWorkloadsSecretsBuilder(int index)

public UserWorkloadsSecret.Builder getUserWorkloadsSecretsBuilder(int index)

The list of Secrets returned by a ListUserWorkloadsSecretsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret user_workloads_secrets = 1;

Parameter
Name Description
index int
Returns
Type Description
UserWorkloadsSecret.Builder

getUserWorkloadsSecretsBuilderList()

public List<UserWorkloadsSecret.Builder> getUserWorkloadsSecretsBuilderList()

The list of Secrets returned by a ListUserWorkloadsSecretsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret user_workloads_secrets = 1;

Returns
Type Description
List<Builder>

getUserWorkloadsSecretsCount()

public int getUserWorkloadsSecretsCount()

The list of Secrets returned by a ListUserWorkloadsSecretsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret user_workloads_secrets = 1;

Returns
Type Description
int

getUserWorkloadsSecretsList()

public List<UserWorkloadsSecret> getUserWorkloadsSecretsList()

The list of Secrets returned by a ListUserWorkloadsSecretsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret user_workloads_secrets = 1;

Returns
Type Description
List<UserWorkloadsSecret>

getUserWorkloadsSecretsOrBuilder(int index)

public UserWorkloadsSecretOrBuilder getUserWorkloadsSecretsOrBuilder(int index)

The list of Secrets returned by a ListUserWorkloadsSecretsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret user_workloads_secrets = 1;

Parameter
Name Description
index int
Returns
Type Description
UserWorkloadsSecretOrBuilder

getUserWorkloadsSecretsOrBuilderList()

public List<? extends UserWorkloadsSecretOrBuilder> getUserWorkloadsSecretsOrBuilderList()

The list of Secrets returned by a ListUserWorkloadsSecretsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret user_workloads_secrets = 1;

Returns
Type Description
List<? extends com.google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecretOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListUserWorkloadsSecretsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeUserWorkloadsSecrets(int index)

public ListUserWorkloadsSecretsResponse.Builder removeUserWorkloadsSecrets(int index)

The list of Secrets returned by a ListUserWorkloadsSecretsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret user_workloads_secrets = 1;

Parameter
Name Description
index int
Returns
Type Description
ListUserWorkloadsSecretsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListUserWorkloadsSecretsResponse.Builder setNextPageToken(String value)

The page token used to query for the next page if one exists.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListUserWorkloadsSecretsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListUserWorkloadsSecretsResponse.Builder setNextPageTokenBytes(ByteString value)

The page token used to query for the next page if one exists.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListUserWorkloadsSecretsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUserWorkloadsSecrets(int index, UserWorkloadsSecret value)

public ListUserWorkloadsSecretsResponse.Builder setUserWorkloadsSecrets(int index, UserWorkloadsSecret value)

The list of Secrets returned by a ListUserWorkloadsSecretsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret user_workloads_secrets = 1;

Parameters
Name Description
index int
value UserWorkloadsSecret
Returns
Type Description
ListUserWorkloadsSecretsResponse.Builder

setUserWorkloadsSecrets(int index, UserWorkloadsSecret.Builder builderForValue)

public ListUserWorkloadsSecretsResponse.Builder setUserWorkloadsSecrets(int index, UserWorkloadsSecret.Builder builderForValue)

The list of Secrets returned by a ListUserWorkloadsSecretsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret user_workloads_secrets = 1;

Parameters
Name Description
index int
builderForValue UserWorkloadsSecret.Builder
Returns
Type Description
ListUserWorkloadsSecretsResponse.Builder