Class Service.ValidateAttestationOccurrenceRequest.Builder (1.4.0)

publicstaticfinalclass Service.ValidateAttestationOccurrenceRequest.BuilderextendsGeneratedMessageV3.Builder<Service.ValidateAttestationOccurrenceRequest.Builder>implementsService.ValidateAttestationOccurrenceRequestOrBuilder

Request message for ValidationHelperV1.ValidateAttestationOccurrence.

Protobuf type google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceRequest

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicService.ValidateAttestationOccurrenceRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

build()

publicService.ValidateAttestationOccurrenceRequestbuild()
Returns
Type Description

buildPartial()

publicService.ValidateAttestationOccurrenceRequestbuildPartial()
Returns
Type Description

clear()

publicService.ValidateAttestationOccurrenceRequest.Builderclear()
Returns
Type Description
Overrides

clearAttestation()

publicService.ValidateAttestationOccurrenceRequest.BuilderclearAttestation()

Required. An AttestationOccurrence to be checked that it can be verified by the Attestor. It does not have to be an existing entity in Container Analysis. It must otherwise be a valid AttestationOccurrence.

.grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description

clearAttestor()

publicService.ValidateAttestationOccurrenceRequest.BuilderclearAttestor()

Required. The resource name of the Attestor of the occurrence, in the format projects/*/attestors/*.

string attestor = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description

clearField(Descriptors.FieldDescriptor field)

publicService.ValidateAttestationOccurrenceRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
Returns
Type Description
Overrides

clearOccurrenceNote()

publicService.ValidateAttestationOccurrenceRequest.BuilderclearOccurrenceNote()

Required. The resource name of the Note to which the containing Occurrence is associated.

string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description

clearOccurrenceResourceUri()

publicService.ValidateAttestationOccurrenceRequest.BuilderclearOccurrenceResourceUri()

Required. The URI of the artifact (e.g. container image) that is the subject of the containing Occurrence.

string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description

clearOneof(Descriptors.OneofDescriptor oneof)

publicService.ValidateAttestationOccurrenceRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
Returns
Type Description
Overrides

clone()

publicService.ValidateAttestationOccurrenceRequest.Builderclone()
Returns
Type Description
Overrides

getAttestation()

publicAttestationOccurrencegetAttestation()

Required. An AttestationOccurrence to be checked that it can be verified by the Attestor. It does not have to be an existing entity in Container Analysis. It must otherwise be a valid AttestationOccurrence.

.grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
io.grafeas.v1.AttestationOccurrence

The attestation.

getAttestationBuilder()

publicAttestationOccurrence.BuildergetAttestationBuilder()

Required. An AttestationOccurrence to be checked that it can be verified by the Attestor. It does not have to be an existing entity in Container Analysis. It must otherwise be a valid AttestationOccurrence.

.grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
io.grafeas.v1.AttestationOccurrence.Builder

getAttestationOrBuilder()

publicAttestationOccurrenceOrBuildergetAttestationOrBuilder()

Required. An AttestationOccurrence to be checked that it can be verified by the Attestor. It does not have to be an existing entity in Container Analysis. It must otherwise be a valid AttestationOccurrence.

.grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
io.grafeas.v1.AttestationOccurrenceOrBuilder

getAttestor()

publicStringgetAttestor()

Required. The resource name of the Attestor of the occurrence, in the format projects/*/attestors/*.

string attestor = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The attestor.

getAttestorBytes()

publicByteStringgetAttestorBytes()

Required. The resource name of the Attestor of the occurrence, in the format projects/*/attestors/*.

string attestor = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for attestor.

getDefaultInstanceForType()

publicService.ValidateAttestationOccurrenceRequestgetDefaultInstanceForType()
Returns
Type Description

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Overrides

getOccurrenceNote()

publicStringgetOccurrenceNote()

Required. The resource name of the Note to which the containing Occurrence is associated.

string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The occurrenceNote.

getOccurrenceNoteBytes()

publicByteStringgetOccurrenceNoteBytes()

Required. The resource name of the Note to which the containing Occurrence is associated.

string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for occurrenceNote.

getOccurrenceResourceUri()

publicStringgetOccurrenceResourceUri()

Required. The URI of the artifact (e.g. container image) that is the subject of the containing Occurrence.

string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The occurrenceResourceUri.

getOccurrenceResourceUriBytes()

publicByteStringgetOccurrenceResourceUriBytes()

Required. The URI of the artifact (e.g. container image) that is the subject of the containing Occurrence.

string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for occurrenceResourceUri.

hasAttestation()

publicbooleanhasAttestation()

Required. An AttestationOccurrence to be checked that it can be verified by the Attestor. It does not have to be an existing entity in Container Analysis. It must otherwise be a valid AttestationOccurrence.

.grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the attestation field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
Overrides

mergeAttestation(AttestationOccurrence value)

publicService.ValidateAttestationOccurrenceRequest.BuildermergeAttestation(AttestationOccurrencevalue)

Required. An AttestationOccurrence to be checked that it can be verified by the Attestor. It does not have to be an existing entity in Container Analysis. It must otherwise be a valid AttestationOccurrence.

.grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value io.grafeas.v1.AttestationOccurrence
Returns
Type Description

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicService.ValidateAttestationOccurrenceRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Overrides Exceptions
Type Description

mergeFrom(Message other)

publicService.ValidateAttestationOccurrenceRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
Overrides

mergeFrom(Service.ValidateAttestationOccurrenceRequest other)

publicService.ValidateAttestationOccurrenceRequest.BuildermergeFrom(Service.ValidateAttestationOccurrenceRequestother)
Parameter
Name Description
Returns
Type Description

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalService.ValidateAttestationOccurrenceRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

setAttestation(AttestationOccurrence value)

publicService.ValidateAttestationOccurrenceRequest.BuildersetAttestation(AttestationOccurrencevalue)

Required. An AttestationOccurrence to be checked that it can be verified by the Attestor. It does not have to be an existing entity in Container Analysis. It must otherwise be a valid AttestationOccurrence.

.grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value io.grafeas.v1.AttestationOccurrence
Returns
Type Description

setAttestation(AttestationOccurrence.Builder builderForValue)

publicService.ValidateAttestationOccurrenceRequest.BuildersetAttestation(AttestationOccurrence.BuilderbuilderForValue)

Required. An AttestationOccurrence to be checked that it can be verified by the Attestor. It does not have to be an existing entity in Container Analysis. It must otherwise be a valid AttestationOccurrence.

.grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue io.grafeas.v1.AttestationOccurrence.Builder
Returns
Type Description

setAttestor(String value)

publicService.ValidateAttestationOccurrenceRequest.BuildersetAttestor(Stringvalue)

Required. The resource name of the Attestor of the occurrence, in the format projects/*/attestors/*.

string attestor = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The attestor to set.

Returns
Type Description

setAttestorBytes(ByteString value)

publicService.ValidateAttestationOccurrenceRequest.BuildersetAttestorBytes(ByteStringvalue)

Required. The resource name of the Attestor of the occurrence, in the format projects/*/attestors/*.

string attestor = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for attestor to set.

Returns
Type Description

setField(Descriptors.FieldDescriptor field, Object value)

publicService.ValidateAttestationOccurrenceRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

setOccurrenceNote(String value)

publicService.ValidateAttestationOccurrenceRequest.BuildersetOccurrenceNote(Stringvalue)

Required. The resource name of the Note to which the containing Occurrence is associated.

string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The occurrenceNote to set.

Returns
Type Description

setOccurrenceNoteBytes(ByteString value)

publicService.ValidateAttestationOccurrenceRequest.BuildersetOccurrenceNoteBytes(ByteStringvalue)

Required. The resource name of the Note to which the containing Occurrence is associated.

string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for occurrenceNote to set.

Returns
Type Description

setOccurrenceResourceUri(String value)

publicService.ValidateAttestationOccurrenceRequest.BuildersetOccurrenceResourceUri(Stringvalue)

Required. The URI of the artifact (e.g. container image) that is the subject of the containing Occurrence.

string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The occurrenceResourceUri to set.

Returns
Type Description

setOccurrenceResourceUriBytes(ByteString value)

publicService.ValidateAttestationOccurrenceRequest.BuildersetOccurrenceResourceUriBytes(ByteStringvalue)

Required. The URI of the artifact (e.g. container image) that is the subject of the containing Occurrence.

string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for occurrenceResourceUri to set.

Returns
Type Description

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

publicService.ValidateAttestationOccurrenceRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
index int
value Object
Returns
Type Description
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalService.ValidateAttestationOccurrenceRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

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年11月19日 UTC.