public static final class ReportInstanceInfoRequest.Builder extends GeneratedMessageV3.Builder<ReportInstanceInfoRequest.Builder> implements ReportInstanceInfoRequestOrBuilder
Request for notebook instances to report information to Notebooks API.
Protobuf type google.cloud.notebooks.v1beta1.ReportInstanceInfoRequest
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReportInstanceInfoRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ReportInstanceInfoRequest build()
Returns
buildPartial()
public ReportInstanceInfoRequest buildPartial()
Returns
clear()
public ReportInstanceInfoRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ReportInstanceInfoRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ReportInstanceInfoRequest.Builder clearMetadata()
Returns
clearName()
public ReportInstanceInfoRequest.Builder clearName()
Required. Format:
projects/{project_id}/locations/{location}/instances/{instance_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ReportInstanceInfoRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearVmId()
public ReportInstanceInfoRequest.Builder clearVmId()
Returns
clone()
public ReportInstanceInfoRequest.Builder clone()
Returns
Overrides
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
Returns
getDefaultInstanceForType()
public ReportInstanceInfoRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Map<String,String> getMetadata()
Returns
public int getMetadataCount()
The metadata reported to Notebooks API. This will be merged to the instance
metadata store
map<string, string> metadata = 3;
Returns
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
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
Returns
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
Returns
public Map<String,String> getMutableMetadata()
Use alternate mutation accessors instead.
Returns
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
getVmId()
Returns
Type | Description |
String | The vmId.
|
getVmIdBytes()
public ByteString getVmIdBytes()
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ReportInstanceInfoRequest other)
public ReportInstanceInfoRequest.Builder mergeFrom(ReportInstanceInfoRequest other)
Parameter
Returns
public ReportInstanceInfoRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ReportInstanceInfoRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReportInstanceInfoRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ReportInstanceInfoRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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 | String
The name to set.
|
Returns
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 | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReportInstanceInfoRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ReportInstanceInfoRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setVmId(String value)
public ReportInstanceInfoRequest.Builder setVmId(String value)
Parameter
Name | Description |
value | String
The vmId to set.
|
Returns
setVmIdBytes(ByteString value)
public ReportInstanceInfoRequest.Builder setVmIdBytes(ByteString value)
Parameter
Name | Description |
value | ByteString
The bytes for vmId to set.
|
Returns