Interface Workload.ResourceInfoOrBuilder (2.44.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
Type Description
long

The resourceId.

getResourceType()

public abstract Workload.ResourceInfo.ResourceType getResourceType()

Indicates the type of resource.

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

Returns
Type Description
Workload.ResourceInfo.ResourceType

The resourceType.

getResourceTypeValue()

public abstract int getResourceTypeValue()

Indicates the type of resource.

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

Returns
Type Description
int

The enum numeric value on the wire for resourceType.