Class Details.Builder (2.21.0)

public static final class Details.Builder extends GeneratedMessageV3.Builder<Details.Builder> implements DetailsOrBuilder

Details of an attestation occurrence.

Protobuf type grafeas.v1beta1.attestation.Details

Implements

DetailsOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Details.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Details.Builder
Overrides

build()

public Details build()
Returns
TypeDescription
Details

buildPartial()

public Details buildPartial()
Returns
TypeDescription
Details

clear()

public Details.Builder clear()
Returns
TypeDescription
Details.Builder
Overrides

clearAttestation()

public Details.Builder clearAttestation()

Required. Attestation for the resource.

.grafeas.v1beta1.attestation.Attestation attestation = 1;

Returns
TypeDescription
Details.Builder

clearField(Descriptors.FieldDescriptor field)

public Details.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Details.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Details.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Details.Builder
Overrides

clone()

public Details.Builder clone()
Returns
TypeDescription
Details.Builder
Overrides

getAttestation()

public Attestation getAttestation()

Required. Attestation for the resource.

.grafeas.v1beta1.attestation.Attestation attestation = 1;

Returns
TypeDescription
Attestation

The attestation.

getAttestationBuilder()

public Attestation.Builder getAttestationBuilder()

Required. Attestation for the resource.

.grafeas.v1beta1.attestation.Attestation attestation = 1;

Returns
TypeDescription
Attestation.Builder

getAttestationOrBuilder()

public AttestationOrBuilder getAttestationOrBuilder()

Required. Attestation for the resource.

.grafeas.v1beta1.attestation.Attestation attestation = 1;

Returns
TypeDescription
AttestationOrBuilder

getDefaultInstanceForType()

public Details getDefaultInstanceForType()
Returns
TypeDescription
Details

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasAttestation()

public boolean hasAttestation()

Required. Attestation for the resource.

.grafeas.v1beta1.attestation.Attestation attestation = 1;

Returns
TypeDescription
boolean

Whether the attestation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAttestation(Attestation value)

public Details.Builder mergeAttestation(Attestation value)

Required. Attestation for the resource.

.grafeas.v1beta1.attestation.Attestation attestation = 1;

Parameter
NameDescription
valueAttestation
Returns
TypeDescription
Details.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Details.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Details.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Details.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Details.Builder
Overrides

mergeFrom(Details other)

public Details.Builder mergeFrom(Details other)
Parameter
NameDescription
otherDetails
Returns
TypeDescription
Details.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Details.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Details.Builder
Overrides

setAttestation(Attestation value)

public Details.Builder setAttestation(Attestation value)

Required. Attestation for the resource.

.grafeas.v1beta1.attestation.Attestation attestation = 1;

Parameter
NameDescription
valueAttestation
Returns
TypeDescription
Details.Builder

setAttestation(Attestation.Builder builderForValue)

public Details.Builder setAttestation(Attestation.Builder builderForValue)

Required. Attestation for the resource.

.grafeas.v1beta1.attestation.Attestation attestation = 1;

Parameter
NameDescription
builderForValueAttestation.Builder
Returns
TypeDescription
Details.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Details.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Details.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Details.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Details.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Details.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Details.Builder
Overrides