Interface LocationOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getName()
      Contains the name of the resource requested.
      com.google.protobuf.ByteString getNameBytes()
      Contains the name of the resource requested.
      boolean getRecommended()
      Whether the location is recommended for GKE cluster scheduling.
      Location.LocationType getType()
      Contains the type of location this Location is for.
      int getTypeValue()
      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 Detail

      • 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

        Location.LocationType 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.