Interface ReportInstanceInfoRequestOrBuilder (1.1.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
NameDescription
keyString
Returns
TypeDescription
boolean

getMetadata()

public abstract Map<String,String> getMetadata()

Use #getMetadataMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for vmId.