Class GetGuestAttributesRequest (2.29.0)

public final class GetGuestAttributesRequest extends GeneratedMessageV3 implements GetGuestAttributesRequestOrBuilder

Request for GetGuestAttributes.

Protobuf type google.cloud.tpu.v2alpha1.GetGuestAttributesRequest

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

QUERY_PATH_FIELD_NUMBER

public static final int QUERY_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

WORKER_IDS_FIELD_NUMBER

public static final int WORKER_IDS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GetGuestAttributesRequest getDefaultInstance()
Returns
TypeDescription
GetGuestAttributesRequest

getDescriptor()

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

newBuilder()

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

newBuilder(GetGuestAttributesRequest prototype)

public static GetGuestAttributesRequest.Builder newBuilder(GetGuestAttributesRequest prototype)
Parameter
NameDescription
prototypeGetGuestAttributesRequest
Returns
TypeDescription
GetGuestAttributesRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public GetGuestAttributesRequest getDefaultInstanceForType()
Returns
TypeDescription
GetGuestAttributesRequest

getName()

public String getName()

Required. The resource name.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getQueryPath()

public String getQueryPath()

The guest attributes path to be queried.

string query_path = 2;

Returns
TypeDescription
String

The queryPath.

getQueryPathBytes()

public ByteString getQueryPathBytes()

The guest attributes path to be queried.

string query_path = 2;

Returns
TypeDescription
ByteString

The bytes for queryPath.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getWorkerIds(int index)

public String getWorkerIds(int index)

The 0-based worker ID. If it is empty, all workers' GuestAttributes will be returned.

repeated string worker_ids = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The workerIds at the given index.

getWorkerIdsBytes(int index)

public ByteString getWorkerIdsBytes(int index)

The 0-based worker ID. If it is empty, all workers' GuestAttributes will be returned.

repeated string worker_ids = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the workerIds at the given index.

getWorkerIdsCount()

public int getWorkerIdsCount()

The 0-based worker ID. If it is empty, all workers' GuestAttributes will be returned.

repeated string worker_ids = 3;

Returns
TypeDescription
int

The count of workerIds.

getWorkerIdsList()

public ProtocolStringList getWorkerIdsList()

The 0-based worker ID. If it is empty, all workers' GuestAttributes will be returned.

repeated string worker_ids = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the workerIds.

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 GetGuestAttributesRequest.Builder newBuilderForType()
Returns
TypeDescription
GetGuestAttributesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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