public static final class Service.ValidateAttestationOccurrenceRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Service.ValidateAttestationOccurrenceRequest.Builder> implements Service.ValidateAttestationOccurrenceRequestOrBuilder
Request message for [ValidationHelperV1.ValidateAttestationOccurrence][google.cloud.binaryauthorization.v1.ValidationHelperV1.ValidateAttestationOccurrence].Protobuf type
google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Service.ValidateAttestationOccurrenceRequest.Builder>public Service.ValidateAttestationOccurrenceRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Service.ValidateAttestationOccurrenceRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Service.ValidateAttestationOccurrenceRequest.Builder>public Service.ValidateAttestationOccurrenceRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Service.ValidateAttestationOccurrenceRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Service.ValidateAttestationOccurrenceRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Service.ValidateAttestationOccurrenceRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Service.ValidateAttestationOccurrenceRequest.Builder>public Service.ValidateAttestationOccurrenceRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.ValidateAttestationOccurrenceRequest.Builder>public Service.ValidateAttestationOccurrenceRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.ValidateAttestationOccurrenceRequest.Builder>public Service.ValidateAttestationOccurrenceRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Service.ValidateAttestationOccurrenceRequest.Builder>public Service.ValidateAttestationOccurrenceRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.ValidateAttestationOccurrenceRequest.Builder>public Service.ValidateAttestationOccurrenceRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.ValidateAttestationOccurrenceRequest.Builder>public Service.ValidateAttestationOccurrenceRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Service.ValidateAttestationOccurrenceRequest.Builder>public Service.ValidateAttestationOccurrenceRequest.Builder mergeFrom(Service.ValidateAttestationOccurrenceRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Service.ValidateAttestationOccurrenceRequest.Builder>public Service.ValidateAttestationOccurrenceRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Service.ValidateAttestationOccurrenceRequest.Builder>IOExceptionpublic String getAttestor()
Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the [occurrence][grafeas.v1.Occurrence], in the format `projects/*/attestors/*`.
string attestor = 1 [(.google.api.field_behavior) = REQUIRED];getAttestor in interface Service.ValidateAttestationOccurrenceRequestOrBuilderpublic com.google.protobuf.ByteString getAttestorBytes()
Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the [occurrence][grafeas.v1.Occurrence], in the format `projects/*/attestors/*`.
string attestor = 1 [(.google.api.field_behavior) = REQUIRED];getAttestorBytes in interface Service.ValidateAttestationOccurrenceRequestOrBuilderpublic Service.ValidateAttestationOccurrenceRequest.Builder setAttestor(String value)
Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the [occurrence][grafeas.v1.Occurrence], in the format `projects/*/attestors/*`.
string attestor = 1 [(.google.api.field_behavior) = REQUIRED];value - The attestor to set.public Service.ValidateAttestationOccurrenceRequest.Builder clearAttestor()
Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the [occurrence][grafeas.v1.Occurrence], in the format `projects/*/attestors/*`.
string attestor = 1 [(.google.api.field_behavior) = REQUIRED];public Service.ValidateAttestationOccurrenceRequest.Builder setAttestorBytes(com.google.protobuf.ByteString value)
Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the [occurrence][grafeas.v1.Occurrence], in the format `projects/*/attestors/*`.
string attestor = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for attestor to set.public boolean hasAttestation()
Required. An [AttestationOccurrence][grafeas.v1.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];
hasAttestation in interface Service.ValidateAttestationOccurrenceRequestOrBuilderpublic AttestationOccurrence getAttestation()
Required. An [AttestationOccurrence][grafeas.v1.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];
getAttestation in interface Service.ValidateAttestationOccurrenceRequestOrBuilderpublic Service.ValidateAttestationOccurrenceRequest.Builder setAttestation(AttestationOccurrence value)
Required. An [AttestationOccurrence][grafeas.v1.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];
public Service.ValidateAttestationOccurrenceRequest.Builder setAttestation(AttestationOccurrence.Builder builderForValue)
Required. An [AttestationOccurrence][grafeas.v1.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];
public Service.ValidateAttestationOccurrenceRequest.Builder mergeAttestation(AttestationOccurrence value)
Required. An [AttestationOccurrence][grafeas.v1.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];
public Service.ValidateAttestationOccurrenceRequest.Builder clearAttestation()
Required. An [AttestationOccurrence][grafeas.v1.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];
public AttestationOccurrence.Builder getAttestationBuilder()
Required. An [AttestationOccurrence][grafeas.v1.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];
public AttestationOccurrenceOrBuilder getAttestationOrBuilder()
Required. An [AttestationOccurrence][grafeas.v1.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];
getAttestationOrBuilder in interface Service.ValidateAttestationOccurrenceRequestOrBuilderpublic String getOccurrenceNote()
Required. The resource name of the [Note][grafeas.v1.Note] to which the containing [Occurrence][grafeas.v1.Occurrence] is associated.
string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED];getOccurrenceNote in interface Service.ValidateAttestationOccurrenceRequestOrBuilderpublic com.google.protobuf.ByteString getOccurrenceNoteBytes()
Required. The resource name of the [Note][grafeas.v1.Note] to which the containing [Occurrence][grafeas.v1.Occurrence] is associated.
string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED];getOccurrenceNoteBytes in interface Service.ValidateAttestationOccurrenceRequestOrBuilderpublic Service.ValidateAttestationOccurrenceRequest.Builder setOccurrenceNote(String value)
Required. The resource name of the [Note][grafeas.v1.Note] to which the containing [Occurrence][grafeas.v1.Occurrence] is associated.
string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED];value - The occurrenceNote to set.public Service.ValidateAttestationOccurrenceRequest.Builder clearOccurrenceNote()
Required. The resource name of the [Note][grafeas.v1.Note] to which the containing [Occurrence][grafeas.v1.Occurrence] is associated.
string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED];public Service.ValidateAttestationOccurrenceRequest.Builder setOccurrenceNoteBytes(com.google.protobuf.ByteString value)
Required. The resource name of the [Note][grafeas.v1.Note] to which the containing [Occurrence][grafeas.v1.Occurrence] is associated.
string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED];value - The bytes for occurrenceNote to set.public String getOccurrenceResourceUri()
Required. The URI of the artifact (e.g. container image) that is the subject of the containing [Occurrence][grafeas.v1.Occurrence].
string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED];getOccurrenceResourceUri in interface Service.ValidateAttestationOccurrenceRequestOrBuilderpublic com.google.protobuf.ByteString getOccurrenceResourceUriBytes()
Required. The URI of the artifact (e.g. container image) that is the subject of the containing [Occurrence][grafeas.v1.Occurrence].
string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED];getOccurrenceResourceUriBytes in interface Service.ValidateAttestationOccurrenceRequestOrBuilderpublic Service.ValidateAttestationOccurrenceRequest.Builder setOccurrenceResourceUri(String value)
Required. The URI of the artifact (e.g. container image) that is the subject of the containing [Occurrence][grafeas.v1.Occurrence].
string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED];value - The occurrenceResourceUri to set.public Service.ValidateAttestationOccurrenceRequest.Builder clearOccurrenceResourceUri()
Required. The URI of the artifact (e.g. container image) that is the subject of the containing [Occurrence][grafeas.v1.Occurrence].
string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED];public Service.ValidateAttestationOccurrenceRequest.Builder setOccurrenceResourceUriBytes(com.google.protobuf.ByteString value)
Required. The URI of the artifact (e.g. container image) that is the subject of the containing [Occurrence][grafeas.v1.Occurrence].
string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED];value - The bytes for occurrenceResourceUri to set.public final Service.ValidateAttestationOccurrenceRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Service.ValidateAttestationOccurrenceRequest.Builder>public final Service.ValidateAttestationOccurrenceRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Service.ValidateAttestationOccurrenceRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.