Interface ListAssetsResponse.ListAssetsResultOrBuilder (2.57.0)

public static interface ListAssetsResponse.ListAssetsResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAsset()

public abstract Asset getAsset()

Asset matching the search request.

.google.cloud.securitycenter.v1beta1.Asset asset = 1;

Returns
Type Description
Asset

The asset.

getAssetOrBuilder()

public abstract AssetOrBuilder getAssetOrBuilder()

Asset matching the search request.

.google.cloud.securitycenter.v1beta1.Asset asset = 1;

Returns
Type Description
AssetOrBuilder

getState()

public abstract ListAssetsResponse.ListAssetsResult.State getState()

State of the asset.

.google.cloud.securitycenter.v1beta1.ListAssetsResponse.ListAssetsResult.State state = 2;

Returns
Type Description
ListAssetsResponse.ListAssetsResult.State

The state.

getStateValue()

public abstract int getStateValue()

State of the asset.

.google.cloud.securitycenter.v1beta1.ListAssetsResponse.ListAssetsResult.State state = 2;

Returns
Type Description
int

The enum numeric value on the wire for state.

hasAsset()

public abstract boolean hasAsset()

Asset matching the search request.

.google.cloud.securitycenter.v1beta1.Asset asset = 1;

Returns
Type Description
boolean

Whether the asset field is set.