Package com.google.container.v1beta1
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 TypeMethodDescriptiongetName()Contains the name of the resource requested.com.google.protobuf.ByteStringContains the name of the resource requested.booleanWhether the location is recommended for GKE cluster scheduling.getType()Contains the type of location this Location is for.intContains the type of location this Location is for.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
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.
-