Interface RunAssetDiscoveryResponseOrBuilder (2.45.0)

public interface RunAssetDiscoveryResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDuration()

public abstract Duration getDuration()

The duration between asset discovery run start and end

.google.protobuf.Duration duration = 2;

Returns
TypeDescription
Duration

The duration.

getDurationOrBuilder()

public abstract DurationOrBuilder getDurationOrBuilder()

The duration between asset discovery run start and end

.google.protobuf.Duration duration = 2;

Returns
TypeDescription
DurationOrBuilder

getState()

public abstract RunAssetDiscoveryResponse.State getState()

The state of an asset discovery run.

.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryResponse.State state = 1;

Returns
TypeDescription
RunAssetDiscoveryResponse.State

The state.

getStateValue()

public abstract int getStateValue()

The state of an asset discovery run.

.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryResponse.State state = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

hasDuration()

public abstract boolean hasDuration()

The duration between asset discovery run start and end

.google.protobuf.Duration duration = 2;

Returns
TypeDescription
boolean

Whether the duration field is set.