Class ListUsableWorkstationConfigsResponse (0.35.0)

public final class ListUsableWorkstationConfigsResponse extends GeneratedMessageV3 implements ListUsableWorkstationConfigsResponseOrBuilder

Response message for ListUsableWorkstationConfigs.

Protobuf type google.cloud.workstations.v1.ListUsableWorkstationConfigsResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListUsableWorkstationConfigsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

UNREACHABLE_FIELD_NUMBER

public static final int UNREACHABLE_FIELD_NUMBER
Field Value
Type Description
int

WORKSTATION_CONFIGS_FIELD_NUMBER

public static final int WORKSTATION_CONFIGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListUsableWorkstationConfigsResponse getDefaultInstance()
Returns
Type Description
ListUsableWorkstationConfigsResponse

getDescriptor()

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

newBuilder()

public static ListUsableWorkstationConfigsResponse.Builder newBuilder()
Returns
Type Description
ListUsableWorkstationConfigsResponse.Builder

newBuilder(ListUsableWorkstationConfigsResponse prototype)

public static ListUsableWorkstationConfigsResponse.Builder newBuilder(ListUsableWorkstationConfigsResponse prototype)
Parameter
Name Description
prototype ListUsableWorkstationConfigsResponse
Returns
Type Description
ListUsableWorkstationConfigsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListUsableWorkstationConfigsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListUsableWorkstationConfigsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListUsableWorkstationConfigsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListUsableWorkstationConfigsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListUsableWorkstationConfigsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListUsableWorkstationConfigsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListUsableWorkstationConfigsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListUsableWorkstationConfigsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListUsableWorkstationConfigsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListUsableWorkstationConfigsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListUsableWorkstationConfigsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListUsableWorkstationConfigsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListUsableWorkstationConfigsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListUsableWorkstationConfigsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListUsableWorkstationConfigsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListUsableWorkstationConfigsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListUsableWorkstationConfigsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListUsableWorkstationConfigsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListUsableWorkstationConfigsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListUsableWorkstationConfigsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListUsableWorkstationConfigsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListUsableWorkstationConfigsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListUsableWorkstationConfigsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListUsableWorkstationConfigsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListUsableWorkstationConfigsResponse> parser()
Returns
Type Description
Parser<ListUsableWorkstationConfigsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ListUsableWorkstationConfigsResponse getDefaultInstanceForType()
Returns
Type Description
ListUsableWorkstationConfigsResponse

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.

getParserForType()

public Parser<ListUsableWorkstationConfigsResponse> getParserForType()
Returns
Type Description
Parser<ListUsableWorkstationConfigsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

Parameter
Name Description
index int
Returns
Type Description
WorkstationConfig

getWorkstationConfigsCount()

public int getWorkstationConfigsCount()

The requested configs.

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

Returns
Type Description
int

getWorkstationConfigsList()

public List<WorkstationConfig> getWorkstationConfigsList()

The requested configs.

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

Returns
Type Description
List<WorkstationConfig>

getWorkstationConfigsOrBuilder(int index)

public WorkstationConfigOrBuilder getWorkstationConfigsOrBuilder(int index)

The requested configs.

repeated .google.cloud.workstations.v1.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.v1.WorkstationConfig workstation_configs = 1;

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

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListUsableWorkstationConfigsResponse.Builder newBuilderForType()
Returns
Type Description
ListUsableWorkstationConfigsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListUsableWorkstationConfigsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListUsableWorkstationConfigsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ListUsableWorkstationConfigsResponse.Builder toBuilder()
Returns
Type Description
ListUsableWorkstationConfigsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException