Interface LocationOrBuilder (2.48.0)

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
Type Description
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
Type Description
ByteString

The bytes for name.

getRecommended()

public abstract boolean getRecommended()

Whether the location is recommended for GKE cluster scheduling.

bool recommended = 3;

Returns
Type Description
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
Type Description
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
Type Description
int

The enum numeric value on the wire for type.