com.google.cloud.notebooks.v1.ReportInstanceInfoRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-notebooks-v1 Show documentation
Show all versions of proto-google-cloud-notebooks-v1 Show documentation
Proto library for google-cloud-notebooks
The newest version!
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/notebooks/v1/service.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.notebooks.v1;
public interface ReportInstanceInfoRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.notebooks.v1.ReportInstanceInfoRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Required. Format:
* `projects/{project_id}/locations/{location}/instances/{instance_id}`
*
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED];
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Required. Format:
* `projects/{project_id}/locations/{location}/instances/{instance_id}`
*
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* 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];
*
* @return The vmId.
*/
java.lang.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];
*
* @return The bytes for vmId.
*/
com.google.protobuf.ByteString getVmIdBytes();
/**
*
*
*
* The metadata reported to Notebooks API. This will be merged to the instance
* metadata store
*
*
* map<string, string> metadata = 3;
*/
int getMetadataCount();
/**
*
*
*
* The metadata reported to Notebooks API. This will be merged to the instance
* metadata store
*
*
* map<string, string> metadata = 3;
*/
boolean containsMetadata(java.lang.String key);
/** Use {@link #getMetadataMap()} instead. */
@java.lang.Deprecated
java.util.Map getMetadata();
/**
*
*
*
* The metadata reported to Notebooks API. This will be merged to the instance
* metadata store
*
*
* map<string, string> metadata = 3;
*/
java.util.Map getMetadataMap();
/**
*
*
*
* The metadata reported to Notebooks API. This will be merged to the instance
* metadata store
*
*
* map<string, string> metadata = 3;
*/
/* nullable */
java.lang.String getMetadataOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
*
*
* The metadata reported to Notebooks API. This will be merged to the instance
* metadata store
*
*
* map<string, string> metadata = 3;
*/
java.lang.String getMetadataOrThrow(java.lang.String key);
}