Class ListUsableWorkstationConfigsResponse.Builder (0.43.0)

public static final class ListUsableWorkstationConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListUsableWorkstationConfigsResponse.Builder> implements ListUsableWorkstationConfigsResponseOrBuilder

Response message for ListUsableWorkstationConfigs.

Protobuf type google.cloud.workstations.v1beta.ListUsableWorkstationConfigsResponse

Static Methods

getDescriptor()

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

Methods

addAllUnreachable(Iterable<String> values)

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

Unreachable resources.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListUsableWorkstationConfigsResponse.Builder

This builder for chaining.

addAllWorkstationConfigs(Iterable<? extends WorkstationConfig> values)

public ListUsableWorkstationConfigsResponse.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
ListUsableWorkstationConfigsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListUsableWorkstationConfigsResponse.Builder addUnreachable(String value)

Unreachable resources.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListUsableWorkstationConfigsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListUsableWorkstationConfigsResponse.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
ListUsableWorkstationConfigsResponse.Builder

This builder for chaining.

addWorkstationConfigs(WorkstationConfig value)

public ListUsableWorkstationConfigsResponse.Builder addWorkstationConfigs(WorkstationConfig value)

The requested configs.

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

Parameter
Name Description
value WorkstationConfig
Returns
Type Description
ListUsableWorkstationConfigsResponse.Builder

addWorkstationConfigs(WorkstationConfig.Builder builderForValue)

public ListUsableWorkstationConfigsResponse.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
ListUsableWorkstationConfigsResponse.Builder

addWorkstationConfigs(int index, WorkstationConfig value)

public ListUsableWorkstationConfigsResponse.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
ListUsableWorkstationConfigsResponse.Builder

addWorkstationConfigs(int index, WorkstationConfig.Builder builderForValue)

public ListUsableWorkstationConfigsResponse.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
ListUsableWorkstationConfigsResponse.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 ListUsableWorkstationConfigsResponse build()
Returns
Type Description
ListUsableWorkstationConfigsResponse

buildPartial()

public ListUsableWorkstationConfigsResponse buildPartial()
Returns
Type Description
ListUsableWorkstationConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListUsableWorkstationConfigsResponse.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
ListUsableWorkstationConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListUsableWorkstationConfigsResponse.Builder clearUnreachable()

Unreachable resources.

repeated string unreachable = 3;

Returns
Type Description
ListUsableWorkstationConfigsResponse.Builder

This builder for chaining.

clearWorkstationConfigs()

public ListUsableWorkstationConfigsResponse.Builder clearWorkstationConfigs()

The requested configs.

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

Returns
Type Description
ListUsableWorkstationConfigsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListUsableWorkstationConfigsResponse getDefaultInstanceForType()
Returns
Type Description
ListUsableWorkstationConfigsResponse

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(ListUsableWorkstationConfigsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeWorkstationConfigs(int index)

public ListUsableWorkstationConfigsResponse.Builder removeWorkstationConfigs(int index)

The requested configs.

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

Parameter
Name Description
index int
Returns
Type Description
ListUsableWorkstationConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListUsableWorkstationConfigsResponse.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
ListUsableWorkstationConfigsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListUsableWorkstationConfigsResponse.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
ListUsableWorkstationConfigsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListUsableWorkstationConfigsResponse.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
ListUsableWorkstationConfigsResponse.Builder

This builder for chaining.

setWorkstationConfigs(int index, WorkstationConfig value)

public ListUsableWorkstationConfigsResponse.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
ListUsableWorkstationConfigsResponse.Builder

setWorkstationConfigs(int index, WorkstationConfig.Builder builderForValue)

public ListUsableWorkstationConfigsResponse.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
ListUsableWorkstationConfigsResponse.Builder