Class ListUsableWorkstationConfigsResponse (0.19.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
TypeDescription
int

UNREACHABLE_FIELD_NUMBER

public static final int UNREACHABLE_FIELD_NUMBER
Field Value
TypeDescription
int

WORKSTATION_CONFIGS_FIELD_NUMBER

public static final int WORKSTATION_CONFIGS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListUsableWorkstationConfigsResponse getDefaultInstance()
Returns
TypeDescription
ListUsableWorkstationConfigsResponse

getDescriptor()

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

newBuilder()

public static ListUsableWorkstationConfigsResponse.Builder newBuilder()
Returns
TypeDescription
ListUsableWorkstationConfigsResponse.Builder

newBuilder(ListUsableWorkstationConfigsResponse prototype)

public static ListUsableWorkstationConfigsResponse.Builder newBuilder(ListUsableWorkstationConfigsResponse prototype)
Parameter
NameDescription
prototypeListUsableWorkstationConfigsResponse
Returns
TypeDescription
ListUsableWorkstationConfigsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListUsableWorkstationConfigsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListUsableWorkstationConfigsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListUsableWorkstationConfigsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListUsableWorkstationConfigsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListUsableWorkstationConfigsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListUsableWorkstationConfigsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListUsableWorkstationConfigsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListUsableWorkstationConfigsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListUsableWorkstationConfigsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListUsableWorkstationConfigsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListUsableWorkstationConfigsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListUsableWorkstationConfigsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListUsableWorkstationConfigsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListUsableWorkstationConfigsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListUsableWorkstationConfigsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListUsableWorkstationConfigsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListUsableWorkstationConfigsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListUsableWorkstationConfigsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListUsableWorkstationConfigsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListUsableWorkstationConfigsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListUsableWorkstationConfigsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListUsableWorkstationConfigsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListUsableWorkstationConfigsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListUsableWorkstationConfigsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListUsableWorkstationConfigsResponse> parser()
Returns
TypeDescription
Parser<ListUsableWorkstationConfigsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListUsableWorkstationConfigsResponse getDefaultInstanceForType()
Returns
TypeDescription
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
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.

getParserForType()

public Parser<ListUsableWorkstationConfigsResponse> getParserForType()
Returns
TypeDescription
Parser<ListUsableWorkstationConfigsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

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>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListUsableWorkstationConfigsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListUsableWorkstationConfigsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListUsableWorkstationConfigsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListUsableWorkstationConfigsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListUsableWorkstationConfigsResponse.Builder toBuilder()
Returns
TypeDescription
ListUsableWorkstationConfigsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException