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

com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder Maven / Gradle / Ivy

There is a newer version: 6.75.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/spanner/admin/instance/v1/spanner_instance_admin.proto

// Protobuf Java Version: 3.25.5
package com.google.spanner.admin.instance.v1;

public interface ReplicaInfoOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ReplicaInfo)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * The location of the serving resources, e.g. "us-central1".
   * 
* * string location = 1; * * @return The location. */ java.lang.String getLocation(); /** * * *
   * The location of the serving resources, e.g. "us-central1".
   * 
* * string location = 1; * * @return The bytes for location. */ com.google.protobuf.ByteString getLocationBytes(); /** * * *
   * The type of replica.
   * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** * * *
   * The type of replica.
   * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; * * @return The type. */ com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType getType(); /** * * *
   * If true, this location is designated as the default leader location where
   * leader replicas are placed. See the [region types
   * documentation](https://cloud.google.com/spanner/docs/instances#region_types)
   * for more details.
   * 
* * bool default_leader_location = 3; * * @return The defaultLeaderLocation. */ boolean getDefaultLeaderLocation(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy