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,java.lang.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 typedev.sigstore.verification.v1.Input
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Inputbuild()InputbuildPartial()Input.Builderclear()Input.BuilderclearArtifact()If the bundle contains a message signature, the artifact must be provided.Input.BuilderclearArtifactTrustRoot()The verification materials provided during a bundle verification.Input.BuilderclearArtifactVerificationOptions().dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;Input.BuilderclearBundle().dev.sigstore.bundle.v1.Bundle bundle = 3;ArtifactgetArtifact()If the bundle contains a message signature, the artifact must be provided.Artifact.BuildergetArtifactBuilder()If the bundle contains a message signature, the artifact must be provided.ArtifactOrBuildergetArtifactOrBuilder()If the bundle contains a message signature, the artifact must be provided.TrustedRootgetArtifactTrustRoot()The verification materials provided during a bundle verification.TrustedRoot.BuildergetArtifactTrustRootBuilder()The verification materials provided during a bundle verification.TrustedRootOrBuildergetArtifactTrustRootOrBuilder()The verification materials provided during a bundle verification.ArtifactVerificationOptionsgetArtifactVerificationOptions().dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;ArtifactVerificationOptions.BuildergetArtifactVerificationOptionsBuilder().dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;ArtifactVerificationOptionsOrBuildergetArtifactVerificationOptionsOrBuilder().dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;BundlegetBundle().dev.sigstore.bundle.v1.Bundle bundle = 3;Bundle.BuildergetBundleBuilder().dev.sigstore.bundle.v1.Bundle bundle = 3;BundleOrBuildergetBundleOrBuilder().dev.sigstore.bundle.v1.Bundle bundle = 3;InputgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleanhasArtifact()If the bundle contains a message signature, the artifact must be provided.booleanhasArtifactTrustRoot()The verification materials provided during a bundle verification.booleanhasArtifactVerificationOptions().dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;booleanhasBundle().dev.sigstore.bundle.v1.Bundle bundle = 3;protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Input.BuildermergeArtifact(Artifact value)If the bundle contains a message signature, the artifact must be provided.Input.BuildermergeArtifactTrustRoot(TrustedRoot value)The verification materials provided during a bundle verification.Input.BuildermergeArtifactVerificationOptions(ArtifactVerificationOptions value).dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;Input.BuildermergeBundle(Bundle value).dev.sigstore.bundle.v1.Bundle bundle = 3;Input.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Input.BuildermergeFrom(com.google.protobuf.Message other)Input.BuildermergeFrom(Input other)Input.BuildersetArtifact(Artifact value)If the bundle contains a message signature, the artifact must be provided.Input.BuildersetArtifact(Artifact.Builder builderForValue)If the bundle contains a message signature, the artifact must be provided.Input.BuildersetArtifactTrustRoot(TrustedRoot value)The verification materials provided during a bundle verification.Input.BuildersetArtifactTrustRoot(TrustedRoot.Builder builderForValue)The verification materials provided during a bundle verification.Input.BuildersetArtifactVerificationOptions(ArtifactVerificationOptions value).dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;Input.BuildersetArtifactVerificationOptions(ArtifactVerificationOptions.Builder builderForValue).dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;Input.BuildersetBundle(Bundle value).dev.sigstore.bundle.v1.Bundle bundle = 3;Input.BuildersetBundle(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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Input.Builder>
-
clear
public Input.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Input.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Input.Builder>
-
getDefaultInstanceForType
public Input getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Input build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Input buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Input.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Input.Builder>
-
mergeFrom
public Input.Builder mergeFrom(Input other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Input.Builder>
-
mergeFrom
public Input.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Input.Builder>- Throws:
java.io.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:
hasArtifactTrustRootin interfaceInputOrBuilder- Returns:
- Whether the artifactTrustRoot field is set.
-
getArtifactTrustRoot
public TrustedRoot 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:
getArtifactTrustRootin interfaceInputOrBuilder- Returns:
- The artifactTrustRoot.
-
setArtifactTrustRoot
public Input.Builder setArtifactTrustRoot(TrustedRoot value)
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
public Input.Builder setArtifactTrustRoot(TrustedRoot.Builder builderForValue)
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
public Input.Builder mergeArtifactTrustRoot(TrustedRoot value)
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
public Input.Builder 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
public TrustedRoot.Builder 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
public TrustedRootOrBuilder 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:
getArtifactTrustRootOrBuilderin interfaceInputOrBuilder
-
hasArtifactVerificationOptions
public boolean hasArtifactVerificationOptions()
.dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;- Specified by:
hasArtifactVerificationOptionsin interfaceInputOrBuilder- Returns:
- Whether the artifactVerificationOptions field is set.
-
getArtifactVerificationOptions
public ArtifactVerificationOptions getArtifactVerificationOptions()
.dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;- Specified by:
getArtifactVerificationOptionsin interfaceInputOrBuilder- Returns:
- The artifactVerificationOptions.
-
setArtifactVerificationOptions
public Input.Builder setArtifactVerificationOptions(ArtifactVerificationOptions value)
.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
public Input.Builder mergeArtifactVerificationOptions(ArtifactVerificationOptions value)
.dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;
-
clearArtifactVerificationOptions
public Input.Builder clearArtifactVerificationOptions()
.dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;
-
getArtifactVerificationOptionsBuilder
public ArtifactVerificationOptions.Builder getArtifactVerificationOptionsBuilder()
.dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;
-
getArtifactVerificationOptionsOrBuilder
public ArtifactVerificationOptionsOrBuilder getArtifactVerificationOptionsOrBuilder()
.dev.sigstore.verification.v1.ArtifactVerificationOptions artifact_verification_options = 2;- Specified by:
getArtifactVerificationOptionsOrBuilderin interfaceInputOrBuilder
-
hasBundle
public boolean hasBundle()
.dev.sigstore.bundle.v1.Bundle bundle = 3;- Specified by:
hasBundlein interfaceInputOrBuilder- Returns:
- Whether the bundle field is set.
-
getBundle
public Bundle getBundle()
.dev.sigstore.bundle.v1.Bundle bundle = 3;- Specified by:
getBundlein interfaceInputOrBuilder- Returns:
- The bundle.
-
setBundle
public Input.Builder setBundle(Bundle value)
.dev.sigstore.bundle.v1.Bundle bundle = 3;
-
setBundle
public Input.Builder setBundle(Bundle.Builder builderForValue)
.dev.sigstore.bundle.v1.Bundle bundle = 3;
-
mergeBundle
public Input.Builder mergeBundle(Bundle value)
.dev.sigstore.bundle.v1.Bundle bundle = 3;
-
clearBundle
public Input.Builder clearBundle()
.dev.sigstore.bundle.v1.Bundle bundle = 3;
-
getBundleBuilder
public Bundle.Builder getBundleBuilder()
.dev.sigstore.bundle.v1.Bundle bundle = 3;
-
getBundleOrBuilder
public BundleOrBuilder getBundleOrBuilder()
.dev.sigstore.bundle.v1.Bundle bundle = 3;- Specified by:
getBundleOrBuilderin 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:
hasArtifactin interfaceInputOrBuilder- Returns:
- Whether the artifact field is set.
-
getArtifact
public Artifact getArtifact()
If the bundle contains a message signature, the artifact must be provided.
optional .dev.sigstore.verification.v1.Artifact artifact = 4;- Specified by:
getArtifactin interfaceInputOrBuilder- Returns:
- The artifact.
-
setArtifact
public Input.Builder setArtifact(Artifact value)
If the bundle contains a message signature, the artifact must be provided.
optional .dev.sigstore.verification.v1.Artifact artifact = 4;
-
setArtifact
public Input.Builder setArtifact(Artifact.Builder builderForValue)
If the bundle contains a message signature, the artifact must be provided.
optional .dev.sigstore.verification.v1.Artifact artifact = 4;
-
mergeArtifact
public Input.Builder mergeArtifact(Artifact value)
If the bundle contains a message signature, the artifact must be provided.
optional .dev.sigstore.verification.v1.Artifact artifact = 4;
-
clearArtifact
public Input.Builder clearArtifact()
If the bundle contains a message signature, the artifact must be provided.
optional .dev.sigstore.verification.v1.Artifact artifact = 4;
-
getArtifactBuilder
public Artifact.Builder getArtifactBuilder()
If the bundle contains a message signature, the artifact must be provided.
optional .dev.sigstore.verification.v1.Artifact artifact = 4;
-
getArtifactOrBuilder
public ArtifactOrBuilder getArtifactOrBuilder()
If the bundle contains a message signature, the artifact must be provided.
optional .dev.sigstore.verification.v1.Artifact artifact = 4;- Specified by:
getArtifactOrBuilderin interfaceInputOrBuilder
-
-