Interface Workload.ResourceInfoOrBuilder (2.9.0)

public static interface Workload.ResourceInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getResourceId()

public abstract long getResourceId()

Resource identifier. For a project this represents project_number.

int64 resource_id = 1;

Returns
TypeDescription
long

The resourceId.

getResourceType()

public abstract Workload.ResourceInfo.ResourceType getResourceType()

Indicates the type of resource.

.google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo.ResourceType resource_type = 2;

Returns
TypeDescription
Workload.ResourceInfo.ResourceType

The resourceType.

getResourceTypeValue()

public abstract int getResourceTypeValue()

Indicates the type of resource.

.google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo.ResourceType resource_type = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for resourceType.