com.google.cloud.notebooks.v1.UpdateInstanceMetadataItemsRequestOrBuilder 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
/*
* 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.4
package com.google.cloud.notebooks.v1;
public interface UpdateInstanceMetadataItemsRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.notebooks.v1.UpdateInstanceMetadataItemsRequest)
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();
/**
*
*
*
* Metadata items to add/update for the instance.
*
*
* map<string, string> items = 2;
*/
int getItemsCount();
/**
*
*
*
* Metadata items to add/update for the instance.
*
*
* map<string, string> items = 2;
*/
boolean containsItems(java.lang.String key);
/** Use {@link #getItemsMap()} instead. */
@java.lang.Deprecated
java.util.Map getItems();
/**
*
*
*
* Metadata items to add/update for the instance.
*
*
* map<string, string> items = 2;
*/
java.util.Map getItemsMap();
/**
*
*
*
* Metadata items to add/update for the instance.
*
*
* map<string, string> items = 2;
*/
/* nullable */
java.lang.String getItemsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
*
*
* Metadata items to add/update for the instance.
*
*
* map<string, string> items = 2;
*/
java.lang.String getItemsOrThrow(java.lang.String key);
}