Interface LocationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Location, Location.Builder

@Generated public interface LocationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Contains the name of the resource requested.
    com.google.protobuf.ByteString
    Contains the name of the resource requested.
    boolean
    Whether the location is recommended for GKE cluster scheduling.
    Contains the type of location this Location is for.
    int
    Contains the type of location this Location is for.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getTypeValue

      int getTypeValue()
       Contains the type of location this Location is for.
       Regional or Zonal.
       
      .google.container.v1beta1.Location.LocationType type = 1;
      Returns:
      The enum numeric value on the wire for type.
    • getType

       Contains the type of location this Location is for.
       Regional or Zonal.
       
      .google.container.v1beta1.Location.LocationType type = 1;
      Returns:
      The type.
    • getName

      String getName()
       Contains the name of the resource requested.
       Specified in the format `projects/*/locations/*`.
       
      string name = 2;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Contains the name of the resource requested.
       Specified in the format `projects/*/locations/*`.
       
      string name = 2;
      Returns:
      The bytes for name.
    • getRecommended

      boolean getRecommended()
       Whether the location is recommended for GKE cluster scheduling.
       
      bool recommended = 3;
      Returns:
      The recommended.