Class ResourceStatusEffectiveInstanceMetadata (1.84.0)

public final class ResourceStatusEffectiveInstanceMetadata extends GeneratedMessageV3 implements ResourceStatusEffectiveInstanceMetadataOrBuilder

Effective values of predefined metadata keys for an instance.

Protobuf type google.cloud.compute.v1.ResourceStatusEffectiveInstanceMetadata

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ResourceStatusEffectiveInstanceMetadata

Static Fields

BLOCK_PROJECT_SSH_KEYS_METADATA_VALUE_FIELD_NUMBER

public static final int BLOCK_PROJECT_SSH_KEYS_METADATA_VALUE_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_GUEST_ATTRIBUTES_METADATA_VALUE_FIELD_NUMBER

public static final int ENABLE_GUEST_ATTRIBUTES_METADATA_VALUE_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_OSCONFIG_METADATA_VALUE_FIELD_NUMBER

public static final int ENABLE_OSCONFIG_METADATA_VALUE_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_OSLOGIN_METADATA_VALUE_FIELD_NUMBER

public static final int ENABLE_OSLOGIN_METADATA_VALUE_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_OS_INVENTORY_METADATA_VALUE_FIELD_NUMBER

public static final int ENABLE_OS_INVENTORY_METADATA_VALUE_FIELD_NUMBER
Field Value
Type Description
int

SERIAL_PORT_ENABLE_METADATA_VALUE_FIELD_NUMBER

public static final int SERIAL_PORT_ENABLE_METADATA_VALUE_FIELD_NUMBER
Field Value
Type Description
int

SERIAL_PORT_LOGGING_ENABLE_METADATA_VALUE_FIELD_NUMBER

public static final int SERIAL_PORT_LOGGING_ENABLE_METADATA_VALUE_FIELD_NUMBER
Field Value
Type Description
int

VM_DNS_SETTING_METADATA_VALUE_FIELD_NUMBER

public static final int VM_DNS_SETTING_METADATA_VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ResourceStatusEffectiveInstanceMetadata getDefaultInstance()
Returns
Type Description
ResourceStatusEffectiveInstanceMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(ResourceStatusEffectiveInstanceMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBlockProjectSshKeysMetadataValue()

public boolean getBlockProjectSshKeysMetadataValue()

Effective block-project-ssh-keys value at Instance level.

optional bool block_project_ssh_keys_metadata_value = 338623101;

Returns
Type Description
boolean

The blockProjectSshKeysMetadataValue.

getDefaultInstanceForType()

public ResourceStatusEffectiveInstanceMetadata getDefaultInstanceForType()
Returns
Type Description
ResourceStatusEffectiveInstanceMetadata

getEnableGuestAttributesMetadataValue()

public boolean getEnableGuestAttributesMetadataValue()

Effective enable-guest-attributes value at Instance level.

optional bool enable_guest_attributes_metadata_value = 420155878;

Returns
Type Description
boolean

The enableGuestAttributesMetadataValue.

getEnableOsInventoryMetadataValue()

public boolean getEnableOsInventoryMetadataValue()

Effective enable-os-inventory value at Instance level.

optional bool enable_os_inventory_metadata_value = 371752675;

Returns
Type Description
boolean

The enableOsInventoryMetadataValue.

getEnableOsconfigMetadataValue()

public boolean getEnableOsconfigMetadataValue()

Effective enable-osconfig value at Instance level.

optional bool enable_osconfig_metadata_value = 502966494;

Returns
Type Description
boolean

The enableOsconfigMetadataValue.

getEnableOsloginMetadataValue()

public boolean getEnableOsloginMetadataValue()

Effective enable-oslogin value at Instance level.

optional bool enable_oslogin_metadata_value = 216603159;

Returns
Type Description
boolean

The enableOsloginMetadataValue.

getParserForType()

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

getSerialPortEnableMetadataValue()

public boolean getSerialPortEnableMetadataValue()

Effective serial-port-enable value at Instance level.

optional bool serial_port_enable_metadata_value = 430536330;

Returns
Type Description
boolean

The serialPortEnableMetadataValue.

getSerialPortLoggingEnableMetadataValue()

public boolean getSerialPortLoggingEnableMetadataValue()

Effective serial-port-logging-enable value at Instance level.

optional bool serial_port_logging_enable_metadata_value = 311813290;

Returns
Type Description
boolean

The serialPortLoggingEnableMetadataValue.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVmDnsSettingMetadataValue()

public String getVmDnsSettingMetadataValue()

Effective VM DNS setting at Instance level.

optional string vm_dns_setting_metadata_value = 411127950;

Returns
Type Description
String

The vmDnsSettingMetadataValue.

getVmDnsSettingMetadataValueBytes()

public ByteString getVmDnsSettingMetadataValueBytes()

Effective VM DNS setting at Instance level.

optional string vm_dns_setting_metadata_value = 411127950;

Returns
Type Description
ByteString

The bytes for vmDnsSettingMetadataValue.

hasBlockProjectSshKeysMetadataValue()

public boolean hasBlockProjectSshKeysMetadataValue()

Effective block-project-ssh-keys value at Instance level.

optional bool block_project_ssh_keys_metadata_value = 338623101;

Returns
Type Description
boolean

Whether the blockProjectSshKeysMetadataValue field is set.

hasEnableGuestAttributesMetadataValue()

public boolean hasEnableGuestAttributesMetadataValue()

Effective enable-guest-attributes value at Instance level.

optional bool enable_guest_attributes_metadata_value = 420155878;

Returns
Type Description
boolean

Whether the enableGuestAttributesMetadataValue field is set.

hasEnableOsInventoryMetadataValue()

public boolean hasEnableOsInventoryMetadataValue()

Effective enable-os-inventory value at Instance level.

optional bool enable_os_inventory_metadata_value = 371752675;

Returns
Type Description
boolean

Whether the enableOsInventoryMetadataValue field is set.

hasEnableOsconfigMetadataValue()

public boolean hasEnableOsconfigMetadataValue()

Effective enable-osconfig value at Instance level.

optional bool enable_osconfig_metadata_value = 502966494;

Returns
Type Description
boolean

Whether the enableOsconfigMetadataValue field is set.

hasEnableOsloginMetadataValue()

public boolean hasEnableOsloginMetadataValue()

Effective enable-oslogin value at Instance level.

optional bool enable_oslogin_metadata_value = 216603159;

Returns
Type Description
boolean

Whether the enableOsloginMetadataValue field is set.

hasSerialPortEnableMetadataValue()

public boolean hasSerialPortEnableMetadataValue()

Effective serial-port-enable value at Instance level.

optional bool serial_port_enable_metadata_value = 430536330;

Returns
Type Description
boolean

Whether the serialPortEnableMetadataValue field is set.

hasSerialPortLoggingEnableMetadataValue()

public boolean hasSerialPortLoggingEnableMetadataValue()

Effective serial-port-logging-enable value at Instance level.

optional bool serial_port_logging_enable_metadata_value = 311813290;

Returns
Type Description
boolean

Whether the serialPortLoggingEnableMetadataValue field is set.

hasVmDnsSettingMetadataValue()

public boolean hasVmDnsSettingMetadataValue()

Effective VM DNS setting at Instance level.

optional string vm_dns_setting_metadata_value = 411127950;

Returns
Type Description
boolean

Whether the vmDnsSettingMetadataValue 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 ResourceStatusEffectiveInstanceMetadata.Builder newBuilderForType()
Returns
Type Description
ResourceStatusEffectiveInstanceMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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