Class GuestAttributesValue (2.46.0)

public final class GuestAttributesValue extends GeneratedMessageV3 implements GuestAttributesValueOrBuilder

Array of guest attribute namespace/key/value tuples.

Protobuf type google.cloud.tpu.v2.GuestAttributesValue

Static Fields

ITEMS_FIELD_NUMBER

public static final int ITEMS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GuestAttributesValue getDefaultInstance()
Returns
Type Description
GuestAttributesValue

getDescriptor()

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

newBuilder()

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

newBuilder(GuestAttributesValue prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public GuestAttributesValue getDefaultInstanceForType()
Returns
Type Description
GuestAttributesValue

getItems(int index)

public GuestAttributesEntry getItems(int index)

The list of guest attributes entries.

repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;

Parameter
Name Description
index int
Returns
Type Description
GuestAttributesEntry

getItemsCount()

public int getItemsCount()

The list of guest attributes entries.

repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;

Returns
Type Description
int

getItemsList()

public List<GuestAttributesEntry> getItemsList()

The list of guest attributes entries.

repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;

Returns
Type Description
List<GuestAttributesEntry>

getItemsOrBuilder(int index)

public GuestAttributesEntryOrBuilder getItemsOrBuilder(int index)

The list of guest attributes entries.

repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;

Parameter
Name Description
index int
Returns
Type Description
GuestAttributesEntryOrBuilder

getItemsOrBuilderList()

public List<? extends GuestAttributesEntryOrBuilder> getItemsOrBuilderList()

The list of guest attributes entries.

repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;

Returns
Type Description
List<? extends com.google.cloud.tpu.v2.GuestAttributesEntryOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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