Interface DiscoveredWorkloadOrBuilder (0.12.0)

public interface DiscoveredWorkloadOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Identifier. The resource name of the discovered workload. Format: "projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The resource name of the discovered workload. Format: "projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getWorkloadProperties()

public abstract WorkloadProperties getWorkloadProperties()

Output only. Properties of an underlying compute resource represented by the Workload. These are immutable.

.google.cloud.apphub.v1.WorkloadProperties workload_properties = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkloadProperties

The workloadProperties.

getWorkloadPropertiesOrBuilder()

public abstract WorkloadPropertiesOrBuilder getWorkloadPropertiesOrBuilder()

Output only. Properties of an underlying compute resource represented by the Workload. These are immutable.

.google.cloud.apphub.v1.WorkloadProperties workload_properties = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkloadPropertiesOrBuilder

getWorkloadReference()

public abstract WorkloadReference getWorkloadReference()

Output only. Reference of an underlying compute resource represented by the Workload. These are immutable.

.google.cloud.apphub.v1.WorkloadReference workload_reference = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkloadReference

The workloadReference.

getWorkloadReferenceOrBuilder()

public abstract WorkloadReferenceOrBuilder getWorkloadReferenceOrBuilder()

Output only. Reference of an underlying compute resource represented by the Workload. These are immutable.

.google.cloud.apphub.v1.WorkloadReference workload_reference = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkloadReferenceOrBuilder

hasWorkloadProperties()

public abstract boolean hasWorkloadProperties()

Output only. Properties of an underlying compute resource represented by the Workload. These are immutable.

.google.cloud.apphub.v1.WorkloadProperties workload_properties = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the workloadProperties field is set.

hasWorkloadReference()

public abstract boolean hasWorkloadReference()

Output only. Reference of an underlying compute resource represented by the Workload. These are immutable.

.google.cloud.apphub.v1.WorkloadReference workload_reference = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the workloadReference field is set.