All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.location.LocationOrBuilder Maven / Gradle / Ivy

There is a newer version: 2.49.0
Show 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/location/locations.proto

// Protobuf Java Version: 3.25.2
package com.google.cloud.location;

public interface LocationOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.location.Location)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Resource name for the location, which may vary between implementations.
   * For example: `"projects/example-project/locations/us-east1"`
   * 
* * string name = 1; * * @return The name. */ java.lang.String getName(); /** * * *
   * Resource name for the location, which may vary between implementations.
   * For example: `"projects/example-project/locations/us-east1"`
   * 
* * string name = 1; * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * The canonical id for this location. For example: `"us-east1"`.
   * 
* * string location_id = 4; * * @return The locationId. */ java.lang.String getLocationId(); /** * * *
   * The canonical id for this location. For example: `"us-east1"`.
   * 
* * string location_id = 4; * * @return The bytes for locationId. */ com.google.protobuf.ByteString getLocationIdBytes(); /** * * *
   * The friendly name for this location, typically a nearby city name.
   * For example, "Tokyo".
   * 
* * string display_name = 5; * * @return The displayName. */ java.lang.String getDisplayName(); /** * * *
   * The friendly name for this location, typically a nearby city name.
   * For example, "Tokyo".
   * 
* * string display_name = 5; * * @return The bytes for displayName. */ com.google.protobuf.ByteString getDisplayNameBytes(); /** * * *
   * Cross-service attributes for the location. For example
   *
   *     {"cloud.googleapis.com/region": "us-east1"}
   * 
* * map<string, string> labels = 2; */ int getLabelsCount(); /** * * *
   * Cross-service attributes for the location. For example
   *
   *     {"cloud.googleapis.com/region": "us-east1"}
   * 
* * map<string, string> labels = 2; */ boolean containsLabels(java.lang.String key); /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); /** * * *
   * Cross-service attributes for the location. For example
   *
   *     {"cloud.googleapis.com/region": "us-east1"}
   * 
* * map<string, string> labels = 2; */ java.util.Map getLabelsMap(); /** * * *
   * Cross-service attributes for the location. For example
   *
   *     {"cloud.googleapis.com/region": "us-east1"}
   * 
* * map<string, string> labels = 2; */ /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** * * *
   * Cross-service attributes for the location. For example
   *
   *     {"cloud.googleapis.com/region": "us-east1"}
   * 
* * map<string, string> labels = 2; */ java.lang.String getLabelsOrThrow(java.lang.String key); /** * * *
   * Service-specific metadata. For example the available capacity at the given
   * location.
   * 
* * .google.protobuf.Any metadata = 3; * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** * * *
   * Service-specific metadata. For example the available capacity at the given
   * location.
   * 
* * .google.protobuf.Any metadata = 3; * * @return The metadata. */ com.google.protobuf.Any getMetadata(); /** * * *
   * Service-specific metadata. For example the available capacity at the given
   * location.
   * 
* * .google.protobuf.Any metadata = 3; */ com.google.protobuf.AnyOrBuilder getMetadataOrBuilder(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy