/*
 * Copyright 2020 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

package com.google.cloud.notebooks.v1;

public interface UpdateInstanceMetadataItemsRequestOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.notebooks.v1.UpdateInstanceMetadataItemsRequest)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Required. Format:
   * `projects/{project_id}/locations/{location}/instances/{instance_id}`
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The name.
   */
  java.lang.String getName();
  /**
   *
   *
   * <pre>
   * Required. Format:
   * `projects/{project_id}/locations/{location}/instances/{instance_id}`
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The bytes for name.
   */
  com.google.protobuf.ByteString getNameBytes();

  /**
   *
   *
   * <pre>
   * Metadata items to add/update for the instance.
   * </pre>
   *
   * <code>map&lt;string, string&gt; items = 2;</code>
   */
  int getItemsCount();
  /**
   *
   *
   * <pre>
   * Metadata items to add/update for the instance.
   * </pre>
   *
   * <code>map&lt;string, string&gt; items = 2;</code>
   */
  boolean containsItems(java.lang.String key);
  /** Use {@link #getItemsMap()} instead. */
  @java.lang.Deprecated
  java.util.Map<java.lang.String, java.lang.String> getItems();
  /**
   *
   *
   * <pre>
   * Metadata items to add/update for the instance.
   * </pre>
   *
   * <code>map&lt;string, string&gt; items = 2;</code>
   */
  java.util.Map<java.lang.String, java.lang.String> getItemsMap();
  /**
   *
   *
   * <pre>
   * Metadata items to add/update for the instance.
   * </pre>
   *
   * <code>map&lt;string, string&gt; items = 2;</code>
   */
  /* nullable */
  java.lang.String getItemsOrDefault(
      java.lang.String key,
      /* nullable */
      java.lang.String defaultValue);
  /**
   *
   *
   * <pre>
   * Metadata items to add/update for the instance.
   * </pre>
   *
   * <code>map&lt;string, string&gt; items = 2;</code>
   */
  java.lang.String getItemsOrThrow(java.lang.String key);
}
