Class ListWorkstationConfigsResponse.Builder (0.39.0)

public static final class ListWorkstationConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListWorkstationConfigsResponse.Builder> implements ListWorkstationConfigsResponseOrBuilder

Response message for ListWorkstationConfigs.

Protobuf type google.cloud.workstations.v1beta.ListWorkstationConfigsResponse

Static Methods

getDescriptor()

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

Methods

addAllUnreachable(Iterable<String> values)

public ListWorkstationConfigsResponse.Builder addAllUnreachable(Iterable<String> values)

Unreachable resources.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListWorkstationConfigsResponse.Builder

This builder for chaining.

addAllWorkstationConfigs(Iterable<? extends WorkstationConfig> values)

public ListWorkstationConfigsResponse.Builder addAllWorkstationConfigs(Iterable<? extends WorkstationConfig> values)

The requested configs.

repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.workstations.v1beta.WorkstationConfig>
Returns
Type Description
ListWorkstationConfigsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListWorkstationConfigsResponse.Builder addUnreachable(String value)

Unreachable resources.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListWorkstationConfigsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListWorkstationConfigsResponse.Builder addUnreachableBytes(ByteString value)

Unreachable resources.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListWorkstationConfigsResponse.Builder

This builder for chaining.

addWorkstationConfigs(WorkstationConfig value)

public ListWorkstationConfigsResponse.Builder addWorkstationConfigs(WorkstationConfig value)

The requested configs.

repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;

Parameter
Name Description
value WorkstationConfig
Returns
Type Description
ListWorkstationConfigsResponse.Builder

addWorkstationConfigs(WorkstationConfig.Builder builderForValue)

public ListWorkstationConfigsResponse.Builder addWorkstationConfigs(WorkstationConfig.Builder builderForValue)

The requested configs.

repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;

Parameter
Name Description
builderForValue WorkstationConfig.Builder
Returns
Type Description
ListWorkstationConfigsResponse.Builder

addWorkstationConfigs(int index, WorkstationConfig value)

public ListWorkstationConfigsResponse.Builder addWorkstationConfigs(int index, WorkstationConfig value)

The requested configs.

repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;

Parameters
Name Description
index int
value WorkstationConfig
Returns
Type Description
ListWorkstationConfigsResponse.Builder

addWorkstationConfigs(int index, WorkstationConfig.Builder builderForValue)

public ListWorkstationConfigsResponse.Builder addWorkstationConfigs(int index, WorkstationConfig.Builder builderForValue)

The requested configs.

repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;

Parameters
Name Description
index int
builderForValue WorkstationConfig.Builder
Returns
Type Description
ListWorkstationConfigsResponse.Builder

addWorkstationConfigsBuilder()

public WorkstationConfig.Builder addWorkstationConfigsBuilder()

The requested configs.

repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;

Returns
Type Description
WorkstationConfig.Builder

addWorkstationConfigsBuilder(int index)

public WorkstationConfig.Builder addWorkstationConfigsBuilder(int index)

The requested configs.

repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
WorkstationConfig.Builder

build()

public ListWorkstationConfigsResponse build()
Returns
Type Description
ListWorkstationConfigsResponse

buildPartial()

public ListWorkstationConfigsResponse buildPartial()
Returns
Type Description
ListWorkstationConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListWorkstationConfigsResponse.Builder clearNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ListWorkstationConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListWorkstationConfigsResponse.Builder clearUnreachable()

Unreachable resources.

repeated string unreachable = 3;

Returns
Type Description
ListWorkstationConfigsResponse.Builder

This builder for chaining.

clearWorkstationConfigs()

public ListWorkstationConfigsResponse.Builder clearWorkstationConfigs()

The requested configs.

repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;

Returns
Type Description
ListWorkstationConfigsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListWorkstationConfigsResponse getDefaultInstanceForType()
Returns
Type Description
ListWorkstationConfigsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Unreachable resources.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Unreachable resources.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Unreachable resources.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Unreachable resources.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

getWorkstationConfigs(int index)

public WorkstationConfig getWorkstationConfigs(int index)

The requested configs.

repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
WorkstationConfig

getWorkstationConfigsBuilder(int index)

public WorkstationConfig.Builder getWorkstationConfigsBuilder(int index)

The requested configs.

repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
WorkstationConfig.Builder

getWorkstationConfigsBuilderList()

public List<WorkstationConfig.Builder> getWorkstationConfigsBuilderList()

The requested configs.

repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;

Returns
Type Description
List<Builder>

getWorkstationConfigsCount()

public int getWorkstationConfigsCount()

The requested configs.

repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;

Returns
Type Description
int

getWorkstationConfigsList()

public List<WorkstationConfig> getWorkstationConfigsList()

The requested configs.

repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;

Returns
Type Description
List<WorkstationConfig>

getWorkstationConfigsOrBuilder(int index)

public WorkstationConfigOrBuilder getWorkstationConfigsOrBuilder(int index)

The requested configs.

repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
WorkstationConfigOrBuilder

getWorkstationConfigsOrBuilderList()

public List<? extends WorkstationConfigOrBuilder> getWorkstationConfigsOrBuilderList()

The requested configs.

repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;

Returns
Type Description
List<? extends com.google.cloud.workstations.v1beta.WorkstationConfigOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListWorkstationConfigsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeWorkstationConfigs(int index)

public ListWorkstationConfigsResponse.Builder removeWorkstationConfigs(int index)

The requested configs.

repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListWorkstationConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListWorkstationConfigsResponse.Builder setNextPageToken(String value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListWorkstationConfigsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListWorkstationConfigsResponse.Builder setNextPageTokenBytes(ByteString value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListWorkstationConfigsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListWorkstationConfigsResponse.Builder setUnreachable(int index, String value)

Unreachable resources.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListWorkstationConfigsResponse.Builder

This builder for chaining.

setWorkstationConfigs(int index, WorkstationConfig value)

public ListWorkstationConfigsResponse.Builder setWorkstationConfigs(int index, WorkstationConfig value)

The requested configs.

repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;

Parameters
Name Description
index int
value WorkstationConfig
Returns
Type Description
ListWorkstationConfigsResponse.Builder

setWorkstationConfigs(int index, WorkstationConfig.Builder builderForValue)

public ListWorkstationConfigsResponse.Builder setWorkstationConfigs(int index, WorkstationConfig.Builder builderForValue)

The requested configs.

repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;

Parameters
Name Description
index int
builderForValue WorkstationConfig.Builder
Returns
Type Description
ListWorkstationConfigsResponse.Builder