Send feedback
Class DiscoveryOccurrence.VulnerabilityAttestation.Builder (2.52.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.52.0 keyboard_arrow_down
public static final class DiscoveryOccurrence . VulnerabilityAttestation . Builder extends GeneratedMessageV3 . Builder<DiscoveryOccurrence . VulnerabilityAttestation . Builder > implements DiscoveryOccurrence . VulnerabilityAttestationOrBuilder
The status of an vulnerability attestation generation.
Protobuf type grafeas.v1.DiscoveryOccurrence.VulnerabilityAttestation
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DiscoveryOccurrence . VulnerabilityAttestation . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public DiscoveryOccurrence . VulnerabilityAttestation build ()
buildPartial()
public DiscoveryOccurrence . VulnerabilityAttestation buildPartial ()
clear()
public DiscoveryOccurrence . VulnerabilityAttestation . Builder clear ()
Overrides
clearError()
public DiscoveryOccurrence . VulnerabilityAttestation . Builder clearError ()
If failure, the error reason for why the attestation generation failed.
string error = 3;
clearField(Descriptors.FieldDescriptor field)
public DiscoveryOccurrence . VulnerabilityAttestation . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearLastAttemptTime()
public DiscoveryOccurrence . VulnerabilityAttestation . Builder clearLastAttemptTime ()
The last time we attempted to generate an attestation.
.google.protobuf.Timestamp last_attempt_time = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public DiscoveryOccurrence . VulnerabilityAttestation . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearState()
public DiscoveryOccurrence . VulnerabilityAttestation . Builder clearState ()
The success/failure state of the latest attestation attempt.
.grafeas.v1.DiscoveryOccurrence.VulnerabilityAttestation.VulnerabilityAttestationState state = 2;
clone()
public DiscoveryOccurrence . VulnerabilityAttestation . Builder clone ()
Overrides
getDefaultInstanceForType()
public DiscoveryOccurrence . VulnerabilityAttestation getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getError()
If failure, the error reason for why the attestation generation failed.
string error = 3;
Returns
Type
Description
String
The error.
getErrorBytes()
public 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 Timestamp getLastAttemptTime ()
The last time we attempted to generate an attestation.
.google.protobuf.Timestamp last_attempt_time = 1;
Returns
Type
Description
Timestamp
The lastAttemptTime.
getLastAttemptTimeBuilder()
public Timestamp . Builder getLastAttemptTimeBuilder ()
The last time we attempted to generate an attestation.
.google.protobuf.Timestamp last_attempt_time = 1;
getLastAttemptTimeOrBuilder()
public TimestampOrBuilder getLastAttemptTimeOrBuilder ()
The last time we attempted to generate an attestation.
.google.protobuf.Timestamp last_attempt_time = 1;
getState()
public DiscoveryOccurrence . VulnerabilityAttestation . VulnerabilityAttestationState getState ()
The success/failure state of the latest attestation attempt.
.grafeas.v1.DiscoveryOccurrence.VulnerabilityAttestation.VulnerabilityAttestationState state = 2;
getStateValue()
public 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 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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
public DiscoveryOccurrence . VulnerabilityAttestation . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public DiscoveryOccurrence . VulnerabilityAttestation . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeFrom(DiscoveryOccurrence.VulnerabilityAttestation other)
public DiscoveryOccurrence . VulnerabilityAttestation . Builder mergeFrom ( DiscoveryOccurrence . VulnerabilityAttestation other )
mergeLastAttemptTime(Timestamp value)
public DiscoveryOccurrence . VulnerabilityAttestation . Builder mergeLastAttemptTime ( Timestamp value )
The last time we attempted to generate an attestation.
.google.protobuf.Timestamp last_attempt_time = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryOccurrence . VulnerabilityAttestation . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setError(String value)
public DiscoveryOccurrence . VulnerabilityAttestation . Builder setError ( String value )
If failure, the error reason for why the attestation generation failed.
string error = 3;
Parameter
Name
Description
value
String
The error to set.
setErrorBytes(ByteString value)
public DiscoveryOccurrence . VulnerabilityAttestation . Builder setErrorBytes ( ByteString value )
If failure, the error reason for why the attestation generation failed.
string error = 3;
Parameter
Name
Description
value
ByteString
The bytes for error to set.
setField(Descriptors.FieldDescriptor field, Object value)
public DiscoveryOccurrence . VulnerabilityAttestation . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setLastAttemptTime(Timestamp value)
public DiscoveryOccurrence . VulnerabilityAttestation . Builder setLastAttemptTime ( Timestamp value )
The last time we attempted to generate an attestation.
.google.protobuf.Timestamp last_attempt_time = 1;
setLastAttemptTime(Timestamp.Builder builderForValue)
public DiscoveryOccurrence . VulnerabilityAttestation . Builder setLastAttemptTime ( Timestamp . Builder builderForValue )
The last time we attempted to generate an attestation.
.google.protobuf.Timestamp last_attempt_time = 1;
Parameter
Name
Description
builderForValue
Builder
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DiscoveryOccurrence . VulnerabilityAttestation . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setState(DiscoveryOccurrence.VulnerabilityAttestation.VulnerabilityAttestationState value)
public DiscoveryOccurrence . VulnerabilityAttestation . Builder setState ( DiscoveryOccurrence . VulnerabilityAttestation . VulnerabilityAttestationState value )
The success/failure state of the latest attestation attempt.
.grafeas.v1.DiscoveryOccurrence.VulnerabilityAttestation.VulnerabilityAttestationState state = 2;
setStateValue(int value)
public DiscoveryOccurrence . VulnerabilityAttestation . Builder setStateValue ( int value )
The success/failure state of the latest attestation attempt.
.grafeas.v1.DiscoveryOccurrence.VulnerabilityAttestation.VulnerabilityAttestationState state = 2;
Parameter
Name
Description
value
int
The enum numeric value on the wire for state to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryOccurrence . VulnerabilityAttestation . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]