Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Class ReportInstanceInfoRequest.Builder (1.0.6)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 1.0.6keyboard_arrow_down
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
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
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
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
Name
Description
number
int
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField ( int number )
Parameter
Name
Description
number
int
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]