Class GuestAttributes (2.48.0)

public final class GuestAttributes extends GeneratedMessageV3 implements GuestAttributesOrBuilder

A guest attributes.

Protobuf type google.cloud.tpu.v2.GuestAttributes

Static Fields

QUERY_PATH_FIELD_NUMBER

public static final int QUERY_PATH_FIELD_NUMBER
Field Value
Type Description
int

QUERY_VALUE_FIELD_NUMBER

public static final int QUERY_VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GuestAttributes getDefaultInstance()
Returns
Type Description
GuestAttributes

getDescriptor()

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

newBuilder()

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

newBuilder(GuestAttributes prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public GuestAttributes getDefaultInstanceForType()
Returns
Type Description
GuestAttributes

getParserForType()

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

getQueryPath()

public String getQueryPath()

The path to be queried. This can be the default namespace ('/') or a nested namespace ('/\<namespace\>/') or a specified key ('/\<namespace\>/\<key\>')

string query_path = 1;

Returns
Type Description
String

The queryPath.

getQueryPathBytes()

public ByteString getQueryPathBytes()

The path to be queried. This can be the default namespace ('/') or a nested namespace ('/\<namespace\>/') or a specified key ('/\<namespace\>/\<key\>')

string query_path = 1;

Returns
Type Description
ByteString

The bytes for queryPath.

getQueryValue()

public GuestAttributesValue getQueryValue()

The value of the requested queried path.

.google.cloud.tpu.v2.GuestAttributesValue query_value = 2;

Returns
Type Description
GuestAttributesValue

The queryValue.

getQueryValueOrBuilder()

public GuestAttributesValueOrBuilder getQueryValueOrBuilder()

The value of the requested queried path.

.google.cloud.tpu.v2.GuestAttributesValue query_value = 2;

Returns
Type Description
GuestAttributesValueOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasQueryValue()

public boolean hasQueryValue()

The value of the requested queried path.

.google.cloud.tpu.v2.GuestAttributesValue query_value = 2;

Returns
Type Description
boolean

Whether the queryValue field is set.

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 GuestAttributes.Builder newBuilderForType()
Returns
Type Description
GuestAttributes.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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