Interface ListAssetsResponse.ListAssetsResultOrBuilder (2.49.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
TypeDescription
Asset

The asset.

getAssetOrBuilder()

public abstract AssetOrBuilder getAssetOrBuilder()

Asset matching the search request.

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

Returns
TypeDescription
AssetOrBuilder

getState()

public abstract ListAssetsResponse.ListAssetsResult.State getState()

State of the asset.

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

Returns
TypeDescription
ListAssetsResponse.ListAssetsResult.State

The state.

getStateValue()

public abstract int getStateValue()

State of the asset.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the asset field is set.