Interface LocationOrBuilder (2.3.6)

public interface LocationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Contains the name of the resource requested. Specified in the format projects/*/locations/*.

string name = 2;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Contains the name of the resource requested. Specified in the format projects/*/locations/*.

string name = 2;

Returns
TypeDescription
ByteString

The bytes for name.

getRecommended()

public abstract boolean getRecommended()

Whether the location is recomended for GKE cluster scheduling.

bool recommended = 3;

Returns
TypeDescription
boolean

The recommended.

getType()

public abstract Location.LocationType getType()

Contains the type of location this Location is for. Regional or Zonal.

.google.container.v1beta1.Location.LocationType type = 1;

Returns
TypeDescription
Location.LocationType

The type.

getTypeValue()

public abstract int getTypeValue()

Contains the type of location this Location is for. Regional or Zonal.

.google.container.v1beta1.Location.LocationType type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for type.