Class ListWorkstationConfigsResponse.Builder (0.8.0)

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

Response message for ListWorkstationConfigs.

Protobuf type google.cloud.workstations.v1.ListWorkstationConfigsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllUnreachable(Iterable<String> values)

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

Unreachable resources.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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.v1.WorkstationConfig workstation_configs = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.workstations.v1.WorkstationConfig>
Returns
TypeDescription
ListWorkstationConfigsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListWorkstationConfigsResponse.Builder addUnreachable(String value)

Unreachable resources.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListWorkstationConfigsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListWorkstationConfigsResponse.Builder addUnreachableBytes(ByteString value)

Unreachable resources.

repeated string unreachable = 3;

Parameter
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListWorkstationConfigsResponse.Builder

This builder for chaining.

addWorkstationConfigs(WorkstationConfig value)

public ListWorkstationConfigsResponse.Builder addWorkstationConfigs(WorkstationConfig value)

The requested configs.

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

Parameter
NameDescription
valueWorkstationConfig
Returns
TypeDescription
ListWorkstationConfigsResponse.Builder

addWorkstationConfigs(WorkstationConfig.Builder builderForValue)

public ListWorkstationConfigsResponse.Builder addWorkstationConfigs(WorkstationConfig.Builder builderForValue)

The requested configs.

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

Parameter
NameDescription
builderForValueWorkstationConfig.Builder
Returns
TypeDescription
ListWorkstationConfigsResponse.Builder

addWorkstationConfigs(int index, WorkstationConfig value)

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

The requested configs.

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

Parameters
NameDescription
indexint
valueWorkstationConfig
Returns
TypeDescription
ListWorkstationConfigsResponse.Builder

addWorkstationConfigs(int index, WorkstationConfig.Builder builderForValue)

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

The requested configs.

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

Parameters
NameDescription
indexint
builderForValueWorkstationConfig.Builder
Returns
TypeDescription
ListWorkstationConfigsResponse.Builder

addWorkstationConfigsBuilder()

public WorkstationConfig.Builder addWorkstationConfigsBuilder()

The requested configs.

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

Returns
TypeDescription
WorkstationConfig.Builder

addWorkstationConfigsBuilder(int index)

public WorkstationConfig.Builder addWorkstationConfigsBuilder(int index)

The requested configs.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
WorkstationConfig.Builder

build()

public ListWorkstationConfigsResponse build()
Returns
TypeDescription
ListWorkstationConfigsResponse

buildPartial()

public ListWorkstationConfigsResponse buildPartial()
Returns
TypeDescription
ListWorkstationConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListWorkstationConfigsResponse.Builder clearUnreachable()

Unreachable resources.

repeated string unreachable = 3;

Returns
TypeDescription
ListWorkstationConfigsResponse.Builder

This builder for chaining.

clearWorkstationConfigs()

public ListWorkstationConfigsResponse.Builder clearWorkstationConfigs()

The requested configs.

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

Returns
TypeDescription
ListWorkstationConfigsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListWorkstationConfigsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListWorkstationConfigsResponse

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.v1.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.v1.WorkstationConfig workstation_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
WorkstationConfig.Builder

getWorkstationConfigsBuilderList()

public List<WorkstationConfig.Builder> getWorkstationConfigsBuilderList()

The requested configs.

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

Returns
TypeDescription
List<Builder>

getWorkstationConfigsCount()

public int getWorkstationConfigsCount()

The requested configs.

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

Returns
TypeDescription
int

getWorkstationConfigsList()

public List<WorkstationConfig> getWorkstationConfigsList()

The requested configs.

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

Returns
TypeDescription
List<WorkstationConfig>

getWorkstationConfigsOrBuilder(int index)

public WorkstationConfigOrBuilder getWorkstationConfigsOrBuilder(int index)

The requested configs.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
WorkstationConfigOrBuilder

getWorkstationConfigsOrBuilderList()

public List<? extends WorkstationConfigOrBuilder> getWorkstationConfigsOrBuilderList()

The requested configs.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListWorkstationConfigsResponse other)

public ListWorkstationConfigsResponse.Builder mergeFrom(ListWorkstationConfigsResponse other)
Parameter
NameDescription
otherListWorkstationConfigsResponse
Returns
TypeDescription
ListWorkstationConfigsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListWorkstationConfigsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListWorkstationConfigsResponse.Builder
Overrides

removeWorkstationConfigs(int index)

public ListWorkstationConfigsResponse.Builder removeWorkstationConfigs(int index)

The requested configs.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListWorkstationConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListWorkstationConfigsResponse.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
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.v1.WorkstationConfig workstation_configs = 1;

Parameters
NameDescription
indexint
valueWorkstationConfig
Returns
TypeDescription
ListWorkstationConfigsResponse.Builder

setWorkstationConfigs(int index, WorkstationConfig.Builder builderForValue)

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

The requested configs.

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

Parameters
NameDescription
indexint
builderForValueWorkstationConfig.Builder
Returns
TypeDescription
ListWorkstationConfigsResponse.Builder