Interface ReportInstanceInfoRequestOrBuilder (1.49.0)

public interface ReportInstanceInfoRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsMetadata(String key)

public abstract boolean containsMetadata(String key)

The metadata reported to Notebooks API. This will be merged to the instance metadata store

map<string, string> metadata = 3;

Parameter
Name Description
key String
Returns
Type Description
boolean

getMetadata() (deprecated)

public abstract Map<String,String> getMetadata()

Use #getMetadataMap() instead.

Returns
Type Description
Map<String,String>

getMetadataCount()

public abstract int getMetadataCount()

The metadata reported to Notebooks API. This will be merged to the instance metadata store

map<string, string> metadata = 3;

Returns
Type Description
int

getMetadataMap()

public abstract Map<String,String> getMetadataMap()

The metadata reported to Notebooks API. This will be merged to the instance metadata store

map<string, string> metadata = 3;

Returns
Type Description
Map<String,String>

getMetadataOrDefault(String key, String defaultValue)

public abstract String getMetadataOrDefault(String key, String defaultValue)

The metadata reported to Notebooks API. This will be merged to the instance metadata store

map<string, string> metadata = 3;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getMetadataOrThrow(String key)

public abstract String getMetadataOrThrow(String key)

The metadata reported to Notebooks API. This will be merged to the instance metadata store

map<string, string> metadata = 3;

Parameter
Name Description
key String
Returns
Type Description
String

getName()

public abstract String getName()

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getVmId()

public abstract String getVmId()

Required. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity

string vm_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The vmId.

getVmIdBytes()

public abstract ByteString getVmIdBytes()

Required. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity

string vm_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for vmId.