Class Input.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Input.Builder>
dev.sigstore.proto.verification.v1.Input.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,InputOrBuilder
,Cloneable
- Enclosing class:
- Input
public static final class Input.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Input.Builder>
implements InputOrBuilder
Input captures all that is needed to call the bundle verification method, to verify a single artifact referenced by the bundle.Protobuf type
dev.sigstore.verification.v1.Input
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
If the bundle contains a message signature, the artifact must be provided.The verification materials provided during a bundle verification..dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;
.dev.sigstore.bundle.v1.Bundle bundle = 3;
If the bundle contains a message signature, the artifact must be provided.If the bundle contains a message signature, the artifact must be provided.If the bundle contains a message signature, the artifact must be provided.The verification materials provided during a bundle verification.The verification materials provided during a bundle verification.The verification materials provided during a bundle verification..dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;
.dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;
.dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;
.dev.sigstore.bundle.v1.Bundle bundle = 3;
.dev.sigstore.bundle.v1.Bundle bundle = 3;
.dev.sigstore.bundle.v1.Bundle bundle = 3;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
boolean
If the bundle contains a message signature, the artifact must be provided.boolean
The verification materials provided during a bundle verification.boolean
.dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;
boolean
.dev.sigstore.bundle.v1.Bundle bundle = 3;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeArtifact
(Artifact value) If the bundle contains a message signature, the artifact must be provided.The verification materials provided during a bundle verification..dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;
mergeBundle
(Bundle value) .dev.sigstore.bundle.v1.Bundle bundle = 3;
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) setArtifact
(Artifact value) If the bundle contains a message signature, the artifact must be provided.setArtifact
(Artifact.Builder builderForValue) If the bundle contains a message signature, the artifact must be provided.setArtifactTrustRoot
(TrustedRoot value) The verification materials provided during a bundle verification.setArtifactTrustRoot
(TrustedRoot.Builder builderForValue) The verification materials provided during a bundle verification..dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;
setArtifactVerificationOptions
(ArtifactVerificationOptions.Builder builderForValue) .dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;
.dev.sigstore.bundle.v1.Bundle bundle = 3;
setBundle
(Bundle.Builder builderForValue) .dev.sigstore.bundle.v1.Bundle bundle = 3;
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Input.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Input.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Input.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Input.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Input.Builder>
-
mergeFrom
public Input.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Input.Builder>
- Throws:
IOException
-
hasArtifactTrustRoot
public boolean hasArtifactTrustRoot()The verification materials provided during a bundle verification. The running process is usually preloaded with a "global" dev.sisgtore.trustroot.TrustedRoot.v1 instance. Prior to verifying an artifact (i.e a bundle), and/or based on current policy, some selection is expected to happen, to filter out the exact certificate authority to use, which transparency logs are relevant etc. The result should b ecaptured in the `artifact_trust_root`.
.dev.sigstore.trustroot.v1.TrustedRoot artifact_trust_root = 1;
- Specified by:
hasArtifactTrustRoot
in interfaceInputOrBuilder
- Returns:
- Whether the artifactTrustRoot field is set.
-
getArtifactTrustRoot
The verification materials provided during a bundle verification. The running process is usually preloaded with a "global" dev.sisgtore.trustroot.TrustedRoot.v1 instance. Prior to verifying an artifact (i.e a bundle), and/or based on current policy, some selection is expected to happen, to filter out the exact certificate authority to use, which transparency logs are relevant etc. The result should b ecaptured in the `artifact_trust_root`.
.dev.sigstore.trustroot.v1.TrustedRoot artifact_trust_root = 1;
- Specified by:
getArtifactTrustRoot
in interfaceInputOrBuilder
- Returns:
- The artifactTrustRoot.
-
setArtifactTrustRoot
The verification materials provided during a bundle verification. The running process is usually preloaded with a "global" dev.sisgtore.trustroot.TrustedRoot.v1 instance. Prior to verifying an artifact (i.e a bundle), and/or based on current policy, some selection is expected to happen, to filter out the exact certificate authority to use, which transparency logs are relevant etc. The result should b ecaptured in the `artifact_trust_root`.
.dev.sigstore.trustroot.v1.TrustedRoot artifact_trust_root = 1;
-
setArtifactTrustRoot
The verification materials provided during a bundle verification. The running process is usually preloaded with a "global" dev.sisgtore.trustroot.TrustedRoot.v1 instance. Prior to verifying an artifact (i.e a bundle), and/or based on current policy, some selection is expected to happen, to filter out the exact certificate authority to use, which transparency logs are relevant etc. The result should b ecaptured in the `artifact_trust_root`.
.dev.sigstore.trustroot.v1.TrustedRoot artifact_trust_root = 1;
-
mergeArtifactTrustRoot
The verification materials provided during a bundle verification. The running process is usually preloaded with a "global" dev.sisgtore.trustroot.TrustedRoot.v1 instance. Prior to verifying an artifact (i.e a bundle), and/or based on current policy, some selection is expected to happen, to filter out the exact certificate authority to use, which transparency logs are relevant etc. The result should b ecaptured in the `artifact_trust_root`.
.dev.sigstore.trustroot.v1.TrustedRoot artifact_trust_root = 1;
-
clearArtifactTrustRoot
The verification materials provided during a bundle verification. The running process is usually preloaded with a "global" dev.sisgtore.trustroot.TrustedRoot.v1 instance. Prior to verifying an artifact (i.e a bundle), and/or based on current policy, some selection is expected to happen, to filter out the exact certificate authority to use, which transparency logs are relevant etc. The result should b ecaptured in the `artifact_trust_root`.
.dev.sigstore.trustroot.v1.TrustedRoot artifact_trust_root = 1;
-
getArtifactTrustRootBuilder
The verification materials provided during a bundle verification. The running process is usually preloaded with a "global" dev.sisgtore.trustroot.TrustedRoot.v1 instance. Prior to verifying an artifact (i.e a bundle), and/or based on current policy, some selection is expected to happen, to filter out the exact certificate authority to use, which transparency logs are relevant etc. The result should b ecaptured in the `artifact_trust_root`.
.dev.sigstore.trustroot.v1.TrustedRoot artifact_trust_root = 1;
-
getArtifactTrustRootOrBuilder
The verification materials provided during a bundle verification. The running process is usually preloaded with a "global" dev.sisgtore.trustroot.TrustedRoot.v1 instance. Prior to verifying an artifact (i.e a bundle), and/or based on current policy, some selection is expected to happen, to filter out the exact certificate authority to use, which transparency logs are relevant etc. The result should b ecaptured in the `artifact_trust_root`.
.dev.sigstore.trustroot.v1.TrustedRoot artifact_trust_root = 1;
- Specified by:
getArtifactTrustRootOrBuilder
in interfaceInputOrBuilder
-
hasArtifactVerificationOptions
public boolean hasArtifactVerificationOptions().dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;
- Specified by:
hasArtifactVerificationOptions
in interfaceInputOrBuilder
- Returns:
- Whether the artifactVerificationOptions field is set.
-
getArtifactVerificationOptions
.dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;
- Specified by:
getArtifactVerificationOptions
in interfaceInputOrBuilder
- Returns:
- The artifactVerificationOptions.
-
setArtifactVerificationOptions
.dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;
-
setArtifactVerificationOptions
public Input.Builder setArtifactVerificationOptions(ArtifactVerificationOptions.Builder builderForValue) .dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;
-
mergeArtifactVerificationOptions
.dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;
-
clearArtifactVerificationOptions
.dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;
-
getArtifactVerificationOptionsBuilder
.dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;
-
getArtifactVerificationOptionsOrBuilder
.dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;
- Specified by:
getArtifactVerificationOptionsOrBuilder
in interfaceInputOrBuilder
-
hasBundle
public boolean hasBundle().dev.sigstore.bundle.v1.Bundle bundle = 3;
- Specified by:
hasBundle
in interfaceInputOrBuilder
- Returns:
- Whether the bundle field is set.
-
getBundle
.dev.sigstore.bundle.v1.Bundle bundle = 3;
- Specified by:
getBundle
in interfaceInputOrBuilder
- Returns:
- The bundle.
-
setBundle
.dev.sigstore.bundle.v1.Bundle bundle = 3;
-
setBundle
.dev.sigstore.bundle.v1.Bundle bundle = 3;
-
mergeBundle
.dev.sigstore.bundle.v1.Bundle bundle = 3;
-
clearBundle
.dev.sigstore.bundle.v1.Bundle bundle = 3;
-
getBundleBuilder
.dev.sigstore.bundle.v1.Bundle bundle = 3;
-
getBundleOrBuilder
.dev.sigstore.bundle.v1.Bundle bundle = 3;
- Specified by:
getBundleOrBuilder
in interfaceInputOrBuilder
-
hasArtifact
public boolean hasArtifact()If the bundle contains a message signature, the artifact must be provided.
optional .dev.sigstore.verification.v1.Artifact artifact = 4;
- Specified by:
hasArtifact
in interfaceInputOrBuilder
- Returns:
- Whether the artifact field is set.
-
getArtifact
If the bundle contains a message signature, the artifact must be provided.
optional .dev.sigstore.verification.v1.Artifact artifact = 4;
- Specified by:
getArtifact
in interfaceInputOrBuilder
- Returns:
- The artifact.
-
setArtifact
If the bundle contains a message signature, the artifact must be provided.
optional .dev.sigstore.verification.v1.Artifact artifact = 4;
-
setArtifact
If the bundle contains a message signature, the artifact must be provided.
optional .dev.sigstore.verification.v1.Artifact artifact = 4;
-
mergeArtifact
If the bundle contains a message signature, the artifact must be provided.
optional .dev.sigstore.verification.v1.Artifact artifact = 4;
-
clearArtifact
If the bundle contains a message signature, the artifact must be provided.
optional .dev.sigstore.verification.v1.Artifact artifact = 4;
-
getArtifactBuilder
If the bundle contains a message signature, the artifact must be provided.
optional .dev.sigstore.verification.v1.Artifact artifact = 4;
-
getArtifactOrBuilder
If the bundle contains a message signature, the artifact must be provided.
optional .dev.sigstore.verification.v1.Artifact artifact = 4;
- Specified by:
getArtifactOrBuilder
in interfaceInputOrBuilder
-