Interface DiscoveryOccurrence.VulnerabilityAttestationOrBuilder (2.54.0)

public static interface DiscoveryOccurrence.VulnerabilityAttestationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getError()

public abstract String getError()

If failure, the error reason for why the attestation generation failed.

string error = 3;

Returns
Type Description
String

The error.

getErrorBytes()

public abstract ByteString getErrorBytes()

If failure, the error reason for why the attestation generation failed.

string error = 3;

Returns
Type Description
ByteString

The bytes for error.

getLastAttemptTime()

public abstract Timestamp getLastAttemptTime()

The last time we attempted to generate an attestation.

.google.protobuf.Timestamp last_attempt_time = 1;

Returns
Type Description
Timestamp

The lastAttemptTime.

getLastAttemptTimeOrBuilder()

public abstract TimestampOrBuilder getLastAttemptTimeOrBuilder()

The last time we attempted to generate an attestation.

.google.protobuf.Timestamp last_attempt_time = 1;

Returns
Type Description
TimestampOrBuilder

getState()

public abstract DiscoveryOccurrence.VulnerabilityAttestation.VulnerabilityAttestationState getState()

The success/failure state of the latest attestation attempt.

.grafeas.v1.DiscoveryOccurrence.VulnerabilityAttestation.VulnerabilityAttestationState state = 2;

Returns
Type Description
DiscoveryOccurrence.VulnerabilityAttestation.VulnerabilityAttestationState

The state.

getStateValue()

public abstract int getStateValue()

The success/failure state of the latest attestation attempt.

.grafeas.v1.DiscoveryOccurrence.VulnerabilityAttestation.VulnerabilityAttestationState state = 2;

Returns
Type Description
int

The enum numeric value on the wire for state.

hasLastAttemptTime()

public abstract boolean hasLastAttemptTime()

The last time we attempted to generate an attestation.

.google.protobuf.Timestamp last_attempt_time = 1;

Returns
Type Description
boolean

Whether the lastAttemptTime field is set.