Class GuestAttributesValue (2.12.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static GuestAttributesValue getDefaultInstance()
Returns
TypeDescription
GuestAttributesValue

getDescriptor()

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

newBuilder()

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

newBuilder(GuestAttributesValue prototype)

public static GuestAttributesValue.Builder newBuilder(GuestAttributesValue prototype)
Parameter
NameDescription
prototypeGuestAttributesValue
Returns
TypeDescription
GuestAttributesValue.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public GuestAttributesValue getDefaultInstanceForType()
Returns
TypeDescription
GuestAttributesValue

getItems(int index)

public GuestAttributesEntry getItems(int index)

The list of guest attributes entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
GuestAttributesEntry

getItemsCount()

public int getItemsCount()

The list of guest attributes entries.

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

Returns
TypeDescription
int

getItemsList()

public List<GuestAttributesEntry> getItemsList()

The list of guest attributes entries.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
GuestAttributesEntryOrBuilder

getItemsOrBuilderList()

public List<? extends GuestAttributesEntryOrBuilder> getItemsOrBuilderList()

The list of guest attributes entries.

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

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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