public final class ReportInstanceInfoRequest extends GeneratedMessageV3 implements ReportInstanceInfoRequestOrBuilder
Request for notebook instances to report information to Notebooks API.
Protobuf type google.cloud.notebooks.v1beta1.ReportInstanceInfoRequest
Fields
public static final int METADATA_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
VM_ID_FIELD_NUMBER
public static final int VM_ID_FIELD_NUMBER
Field Value
Methods
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
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static ReportInstanceInfoRequest getDefaultInstance()
Returns
getDefaultInstanceForType()
public ReportInstanceInfoRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
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
getParserForType()
public Parser<ReportInstanceInfoRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getVmId()
Returns
Type | Description |
String | The vmId.
|
getVmIdBytes()
public ByteString getVmIdBytes()
Returns
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static ReportInstanceInfoRequest.Builder newBuilder()
Returns
newBuilder(ReportInstanceInfoRequest prototype)
public static ReportInstanceInfoRequest.Builder newBuilder(ReportInstanceInfoRequest prototype)
Parameter
Returns
newBuilderForType()
public ReportInstanceInfoRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReportInstanceInfoRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static ReportInstanceInfoRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ReportInstanceInfoRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ReportInstanceInfoRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReportInstanceInfoRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ReportInstanceInfoRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReportInstanceInfoRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReportInstanceInfoRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ReportInstanceInfoRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReportInstanceInfoRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ReportInstanceInfoRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ReportInstanceInfoRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReportInstanceInfoRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ReportInstanceInfoRequest> parser()
Returns
toBuilder()
public ReportInstanceInfoRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions