Interface WorkloadPropertiesOrBuilder (0.67.0)

public interface WorkloadPropertiesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsExtendedMetadata(String key)

public abstract boolean containsExtendedMetadata(String key)

Output only. Additional metadata specific to the resource type. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: apphub.googleapis.com/{metadataType}

map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
boolean

getExtendedMetadata() (deprecated)

public abstract Map<String,ExtendedMetadata> getExtendedMetadata()
Returns
Type Description
Map<String,ExtendedMetadata>

getExtendedMetadataCount()

public abstract int getExtendedMetadataCount()

Output only. Additional metadata specific to the resource type. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: apphub.googleapis.com/{metadataType}

map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getExtendedMetadataMap()

public abstract Map<String,ExtendedMetadata> getExtendedMetadataMap()

Output only. Additional metadata specific to the resource type. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: apphub.googleapis.com/{metadataType}

map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Map<String,ExtendedMetadata>

getExtendedMetadataOrDefault(String key, ExtendedMetadata defaultValue)

public abstract ExtendedMetadata getExtendedMetadataOrDefault(String key, ExtendedMetadata defaultValue)

Output only. Additional metadata specific to the resource type. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: apphub.googleapis.com/{metadataType}

map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
defaultValue ExtendedMetadata
Returns
Type Description
ExtendedMetadata

getExtendedMetadataOrThrow(String key)

public abstract ExtendedMetadata getExtendedMetadataOrThrow(String key)

Output only. Additional metadata specific to the resource type. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: apphub.googleapis.com/{metadataType}

map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
ExtendedMetadata

getFunctionalType()

public abstract FunctionalType getFunctionalType()

Output only. The type of the workload.

.google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FunctionalType

The functionalType.

getFunctionalTypeOrBuilder()

public abstract FunctionalTypeOrBuilder getFunctionalTypeOrBuilder()

Output only. The type of the workload.

.google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FunctionalTypeOrBuilder

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.

getIdentity()

public abstract Identity getIdentity()

Output only. The identity associated with the workload.

.google.cloud.apphub.v1.Identity identity = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Identity

The identity.

getIdentityOrBuilder()

public abstract IdentityOrBuilder getIdentityOrBuilder()

Output only. The identity associated with the workload.

.google.cloud.apphub.v1.Identity identity = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IdentityOrBuilder

getLocation()

public abstract String getLocation()

Output only. The location that the underlying compute resource resides in (for example, 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 (for example, 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 (for example, 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 (for example, us-west1-a).

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

Returns
Type Description
ByteString

The bytes for zone.

hasFunctionalType()

public abstract boolean hasFunctionalType()

Output only. The type of the workload.

.google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the functionalType field is set.

hasIdentity()

public abstract boolean hasIdentity()

Output only. The identity associated with the workload.

.google.cloud.apphub.v1.Identity identity = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the identity field is set.