Package com.google.cloud.notebooks.v1
Interface ReportInstanceInfoRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReportInstanceInfoRequest
,ReportInstanceInfoRequest.Builder
public interface ReportInstanceInfoRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsMetadata(String key)
The metadata reported to Notebooks API.Map<String,String>
getMetadata()
Deprecated.int
getMetadataCount()
The metadata reported to Notebooks API.Map<String,String>
getMetadataMap()
The metadata reported to Notebooks API.String
getMetadataOrDefault(String key, String defaultValue)
The metadata reported to Notebooks API.String
getMetadataOrThrow(String key)
The metadata reported to Notebooks API.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.String
getVmId()
Required.com.google.protobuf.ByteString
getVmIdBytes()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`
string name = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`
string name = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for name.
-
getVmId
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:
- The vmId.
-
getVmIdBytes
com.google.protobuf.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:
- The bytes for vmId.
-
getMetadataCount
int getMetadataCount()
The metadata reported to Notebooks API. This will be merged to the instance metadata store
map<string, string> metadata = 3;
-
containsMetadata
boolean containsMetadata(String key)
The metadata reported to Notebooks API. This will be merged to the instance metadata store
map<string, string> metadata = 3;
-
getMetadata
@Deprecated Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()
instead.
-
getMetadataMap
Map<String,String> getMetadataMap()
The metadata reported to Notebooks API. This will be merged to the instance metadata store
map<string, string> metadata = 3;
-
getMetadataOrDefault
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;
-
-