Interface WorkloadPropertiesOrBuilder (0.17.0)

public interface WorkloadPropertiesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGcpProject()

public abstract String getGcpProject()

Output only. The service project identifier that the underlying cloud resource resides in. Empty for non cloud resources.

string gcp_project = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The gcpProject.

getGcpProjectBytes()

public abstract ByteString getGcpProjectBytes()

Output only. The service project identifier that the underlying cloud resource resides in. Empty for non cloud resources.

string gcp_project = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for gcpProject.

getLocation()

public abstract String getLocation()

Output only. The location that the underlying compute resource resides in (e.g us-west1).

string location = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The location.

getLocationBytes()

public abstract ByteString getLocationBytes()

Output only. The location that the underlying compute resource resides in (e.g us-west1).

string location = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for location.

getZone()

public abstract String getZone()

Output only. The location that the underlying compute resource resides in if it is zonal (e.g us-west1-a).

string zone = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The zone.

getZoneBytes()

public abstract ByteString getZoneBytes()

Output only. The location that the underlying compute resource resides in if it is zonal (e.g us-west1-a).

string zone = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for zone.