Class ListUsableWorkstationConfigsResponse.Builder (0.1.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
TypeDescription
Descriptor

Methods

addAllUnreachable(Iterable<String> values)

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

Unreachable resources.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.workstations.v1beta.WorkstationConfig>
Returns
TypeDescription
ListUsableWorkstationConfigsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListUsableWorkstationConfigsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListUsableWorkstationConfigsResponse.Builder
Overrides

addUnreachable(String value)

public ListUsableWorkstationConfigsResponse.Builder addUnreachable(String value)

Unreachable resources.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListUsableWorkstationConfigsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListUsableWorkstationConfigsResponse.Builder addUnreachableBytes(ByteString value)

Unreachable resources.

repeated string unreachable = 3;

Parameter
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
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
NameDescription
valueWorkstationConfig
Returns
TypeDescription
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
NameDescription
builderForValueWorkstationConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueWorkstationConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWorkstationConfig.Builder
Returns
TypeDescription
ListUsableWorkstationConfigsResponse.Builder

addWorkstationConfigsBuilder()

public WorkstationConfig.Builder addWorkstationConfigsBuilder()

The requested configs.

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

Returns
TypeDescription
WorkstationConfig.Builder

addWorkstationConfigsBuilder(int index)

public WorkstationConfig.Builder addWorkstationConfigsBuilder(int index)

The requested configs.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
WorkstationConfig.Builder

build()

public ListUsableWorkstationConfigsResponse build()
Returns
TypeDescription
ListUsableWorkstationConfigsResponse

buildPartial()

public ListUsableWorkstationConfigsResponse buildPartial()
Returns
TypeDescription
ListUsableWorkstationConfigsResponse

clear()

public ListUsableWorkstationConfigsResponse.Builder clear()
Returns
TypeDescription
ListUsableWorkstationConfigsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListUsableWorkstationConfigsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListUsableWorkstationConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListUsableWorkstationConfigsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListUsableWorkstationConfigsResponse.Builder
Overrides

clearUnreachable()

public ListUsableWorkstationConfigsResponse.Builder clearUnreachable()

Unreachable resources.

repeated string unreachable = 3;

Returns
TypeDescription
ListUsableWorkstationConfigsResponse.Builder

This builder for chaining.

clearWorkstationConfigs()

public ListUsableWorkstationConfigsResponse.Builder clearWorkstationConfigs()

The requested configs.

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

Returns
TypeDescription
ListUsableWorkstationConfigsResponse.Builder

clone()

public ListUsableWorkstationConfigsResponse.Builder clone()
Returns
TypeDescription
ListUsableWorkstationConfigsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListUsableWorkstationConfigsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListUsableWorkstationConfigsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Unreachable resources.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Unreachable resources.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Unreachable resources.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Unreachable resources.

repeated string unreachable = 3;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
WorkstationConfig

getWorkstationConfigsBuilder(int index)

public WorkstationConfig.Builder getWorkstationConfigsBuilder(int index)

The requested configs.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
WorkstationConfig.Builder

getWorkstationConfigsBuilderList()

public List<WorkstationConfig.Builder> getWorkstationConfigsBuilderList()

The requested configs.

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

Returns
TypeDescription
List<Builder>

getWorkstationConfigsCount()

public int getWorkstationConfigsCount()

The requested configs.

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

Returns
TypeDescription
int

getWorkstationConfigsList()

public List<WorkstationConfig> getWorkstationConfigsList()

The requested configs.

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

Returns
TypeDescription
List<WorkstationConfig>

getWorkstationConfigsOrBuilder(int index)

public WorkstationConfigOrBuilder getWorkstationConfigsOrBuilder(int index)

The requested configs.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
WorkstationConfigOrBuilder

getWorkstationConfigsOrBuilderList()

public List<? extends WorkstationConfigOrBuilder> getWorkstationConfigsOrBuilderList()

The requested configs.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListUsableWorkstationConfigsResponse other)

public ListUsableWorkstationConfigsResponse.Builder mergeFrom(ListUsableWorkstationConfigsResponse other)
Parameter
NameDescription
otherListUsableWorkstationConfigsResponse
Returns
TypeDescription
ListUsableWorkstationConfigsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListUsableWorkstationConfigsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListUsableWorkstationConfigsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListUsableWorkstationConfigsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListUsableWorkstationConfigsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListUsableWorkstationConfigsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListUsableWorkstationConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListUsableWorkstationConfigsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListUsableWorkstationConfigsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListUsableWorkstationConfigsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListUsableWorkstationConfigsResponse.Builder
Overrides

setUnreachable(int index, String value)

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

Unreachable resources.

repeated string unreachable = 3;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
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
NameDescription
indexint
valueWorkstationConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWorkstationConfig.Builder
Returns
TypeDescription
ListUsableWorkstationConfigsResponse.Builder