Class GuestAttributes (1.29.0)

public final class GuestAttributes extends GeneratedMessageV3 implements GuestAttributesOrBuilder

A guest attributes entry.

Protobuf type google.cloud.compute.v1.GuestAttributes

Static Fields

KIND_FIELD_NUMBER

public static final int KIND_FIELD_NUMBER
Field Value
TypeDescription
int

QUERY_PATH_FIELD_NUMBER

public static final int QUERY_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

QUERY_VALUE_FIELD_NUMBER

public static final int QUERY_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int SELF_LINK_FIELD_NUMBER
Field Value
TypeDescription
int

VARIABLE_KEY_FIELD_NUMBER

public static final int VARIABLE_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

VARIABLE_VALUE_FIELD_NUMBER

public static final int VARIABLE_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GuestAttributes getDefaultInstance()
Returns
TypeDescription
GuestAttributes

getDescriptor()

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

newBuilder()

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

newBuilder(GuestAttributes prototype)

public static GuestAttributes.Builder newBuilder(GuestAttributes prototype)
Parameter
NameDescription
prototypeGuestAttributes
Returns
TypeDescription
GuestAttributes.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public GuestAttributes getDefaultInstanceForType()
Returns
TypeDescription
GuestAttributes

getKind()

public String getKind()

[Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry.

optional string kind = 3292052;

Returns
TypeDescription
String

The kind.

getKindBytes()

public ByteString getKindBytes()

[Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry.

optional string kind = 3292052;

Returns
TypeDescription
ByteString

The bytes for kind.

getParserForType()

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

getQueryPath()

public String getQueryPath()

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

optional string query_path = 368591164;

Returns
TypeDescription
String

The queryPath.

getQueryPathBytes()

public ByteString getQueryPathBytes()

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

optional string query_path = 368591164;

Returns
TypeDescription
ByteString

The bytes for queryPath.

getQueryValue()

public GuestAttributesValue getQueryValue()

[Output Only] The value of the requested queried path.

optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;

Returns
TypeDescription
GuestAttributesValue

The queryValue.

getQueryValueOrBuilder()

public GuestAttributesValueOrBuilder getQueryValueOrBuilder()

[Output Only] The value of the requested queried path.

optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;

Returns
TypeDescription
GuestAttributesValueOrBuilder
public String getSelfLink()

[Output Only] Server-defined URL for this resource.

optional string self_link = 456214797;

Returns
TypeDescription
String

The selfLink.

getSelfLinkBytes()

public ByteString getSelfLinkBytes()

[Output Only] Server-defined URL for this resource.

optional string self_link = 456214797;

Returns
TypeDescription
ByteString

The bytes for selfLink.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getVariableKey()

public String getVariableKey()

The key to search for.

optional string variable_key = 164364828;

Returns
TypeDescription
String

The variableKey.

getVariableKeyBytes()

public ByteString getVariableKeyBytes()

The key to search for.

optional string variable_key = 164364828;

Returns
TypeDescription
ByteString

The bytes for variableKey.

getVariableValue()

public String getVariableValue()

[Output Only] The value found for the requested key.

optional string variable_value = 124582382;

Returns
TypeDescription
String

The variableValue.

getVariableValueBytes()

public ByteString getVariableValueBytes()

[Output Only] The value found for the requested key.

optional string variable_value = 124582382;

Returns
TypeDescription
ByteString

The bytes for variableValue.

hasKind()

public boolean hasKind()

[Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry.

optional string kind = 3292052;

Returns
TypeDescription
boolean

Whether the kind field is set.

hasQueryPath()

public boolean hasQueryPath()

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

optional string query_path = 368591164;

Returns
TypeDescription
boolean

Whether the queryPath field is set.

hasQueryValue()

public boolean hasQueryValue()

[Output Only] The value of the requested queried path.

optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;

Returns
TypeDescription
boolean

Whether the queryValue field is set.

public boolean hasSelfLink()

[Output Only] Server-defined URL for this resource.

optional string self_link = 456214797;

Returns
TypeDescription
boolean

Whether the selfLink field is set.

hasVariableKey()

public boolean hasVariableKey()

The key to search for.

optional string variable_key = 164364828;

Returns
TypeDescription
boolean

Whether the variableKey field is set.

hasVariableValue()

public boolean hasVariableValue()

[Output Only] The value found for the requested key.

optional string variable_value = 124582382;

Returns
TypeDescription
boolean

Whether the variableValue field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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