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.v1.ReportInstanceInfoRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReportInstanceInfoRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ReportInstanceInfoRequest build()
buildPartial()
public ReportInstanceInfoRequest buildPartial()
clear()
public ReportInstanceInfoRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ReportInstanceInfoRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ReportInstanceInfoRequest.Builder clearMetadata()
clearName()
public ReportInstanceInfoRequest.Builder clearName()
Required. Format:
projects/{project_id}/locations/{location}/instances/{instance_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public ReportInstanceInfoRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearVmId()
public ReportInstanceInfoRequest.Builder clearVmId()
clone()
public ReportInstanceInfoRequest.Builder clone()
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 |
---|
Name | Description |
key | String
|
getDefaultInstanceForType()
public ReportInstanceInfoRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Map<String,String> getMetadata()
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 | |
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;
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;
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
|
public Map<String,String> getMutableMetadata()
Use alternate mutation accessors instead.
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()
Returns |
---|
Type | Description |
String | The vmId.
|
getVmIdBytes()
public ByteString getVmIdBytes()
Returns |
---|
Type | Description |
ByteString | The bytes for vmId.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ReportInstanceInfoRequest other)
public ReportInstanceInfoRequest.Builder mergeFrom(ReportInstanceInfoRequest other)
public ReportInstanceInfoRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ReportInstanceInfoRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReportInstanceInfoRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ReportInstanceInfoRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReportInstanceInfoRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ReportInstanceInfoRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setVmId(String value)
public ReportInstanceInfoRequest.Builder setVmId(String value)
Parameter |
---|
Name | Description |
value | String
The vmId to set.
|
setVmIdBytes(ByteString value)
public ReportInstanceInfoRequest.Builder setVmIdBytes(ByteString value)
Parameter |
---|
Name | Description |
value | ByteString
The bytes for vmId to set.
|