- 1.81.0 (latest)
- 1.80.0
- 1.78.0
- 1.76.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.71.0
- 1.70.0
- 1.68.0
- 1.66.0
- 1.65.0
- 1.62.0
- 1.61.0
- 1.60.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.3
- 1.0.6
- 0.6.2
public static final class ReportInstanceInfoRequest.Builder extends GeneratedMessage.Builder<ReportInstanceInfoRequest.Builder> implements ReportInstanceInfoRequestOrBuilderRequest for notebook instances to report information to Notebooks API.
Protobuf type google.cloud.notebooks.v1.ReportInstanceInfoRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ReportInstanceInfoRequest.BuilderImplements
ReportInstanceInfoRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ReportInstanceInfoRequest build()| Returns | |
|---|---|
| Type | Description |
ReportInstanceInfoRequest |
|
buildPartial()
public ReportInstanceInfoRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ReportInstanceInfoRequest |
|
clear()
public ReportInstanceInfoRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ReportInstanceInfoRequest.Builder |
|
clearMetadata()
public ReportInstanceInfoRequest.Builder clearMetadata()| Returns | |
|---|---|
| Type | Description |
ReportInstanceInfoRequest.Builder |
|
clearName()
public ReportInstanceInfoRequest.Builder clearName() Required. Format:
projects/{project_id}/locations/{location}/instances/{instance_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ReportInstanceInfoRequest.Builder |
This builder for chaining. |
clearVmId()
public ReportInstanceInfoRequest.Builder clearVmId()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 |
ReportInstanceInfoRequest.Builder |
This builder for chaining. |
containsMetadata(String key)
public 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 |
|
getDefaultInstanceForType()
public ReportInstanceInfoRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ReportInstanceInfoRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMetadata() (deprecated)
public Map<String,String> getMetadata()Use #getMetadataMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getMetadataCount()
public 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 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 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 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 |
|
getMutableMetadata() (deprecated)
public Map<String,String> getMutableMetadata()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getName()
public 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ReportInstanceInfoRequest other)
public ReportInstanceInfoRequest.Builder mergeFrom(ReportInstanceInfoRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ReportInstanceInfoRequest |
| Returns | |
|---|---|
| Type | Description |
ReportInstanceInfoRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReportInstanceInfoRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReportInstanceInfoRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ReportInstanceInfoRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ReportInstanceInfoRequest.Builder |
|
putAllMetadata(Map<String,String> values)
public ReportInstanceInfoRequest.Builder putAllMetadata(Map<String,String> values)The metadata reported to Notebooks API. This will be merged to the instance metadata store
map<string, string> metadata = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
ReportInstanceInfoRequest.Builder |
|
putMetadata(String key, String value)
public ReportInstanceInfoRequest.Builder putMetadata(String key, String value)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 |
value |
String |
| Returns | |
|---|---|
| Type | Description |
ReportInstanceInfoRequest.Builder |
|
removeMetadata(String key)
public ReportInstanceInfoRequest.Builder removeMetadata(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 |
ReportInstanceInfoRequest.Builder |
|
setName(String value)
public ReportInstanceInfoRequest.Builder setName(String value) Required. Format:
projects/{project_id}/locations/{location}/instances/{instance_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ReportInstanceInfoRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ReportInstanceInfoRequest.Builder setNameBytes(ByteString value) Required. Format:
projects/{project_id}/locations/{location}/instances/{instance_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ReportInstanceInfoRequest.Builder |
This builder for chaining. |
setVmId(String value)
public ReportInstanceInfoRequest.Builder setVmId(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe vmId to set. |
| Returns | |
|---|---|
| Type | Description |
ReportInstanceInfoRequest.Builder |
This builder for chaining. |
setVmIdBytes(ByteString value)
public ReportInstanceInfoRequest.Builder setVmIdBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for vmId to set. |
| Returns | |
|---|---|
| Type | Description |
ReportInstanceInfoRequest.Builder |
This builder for chaining. |