Class PublicKeyRequest.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, PublicKeyRequestOrBuilder, java.lang.Cloneable
    Enclosing class:
    PublicKeyRequest

    public static final class PublicKeyRequest.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<PublicKeyRequest.Builder>
    implements PublicKeyRequestOrBuilder
    Protobuf type dev.sigstore.fulcio.v2.PublicKeyRequest
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PublicKeyRequest build()  
      PublicKeyRequest buildPartial()  
      PublicKeyRequest.Builder clear()  
      PublicKeyRequest.Builder clearProofOfPossession()
      Proof that the client possesses the private key; must be verifiable by provided public key This is a currently a signature over the `sub` claim from the OIDC identity token
      PublicKeyRequest.Builder clearPublicKey()
      The public key to be stored in the requested certificate
      PublicKeyRequest getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      com.google.protobuf.ByteString getProofOfPossession()
      Proof that the client possesses the private key; must be verifiable by provided public key This is a currently a signature over the `sub` claim from the OIDC identity token
      PublicKey getPublicKey()
      The public key to be stored in the requested certificate
      PublicKey.Builder getPublicKeyBuilder()
      The public key to be stored in the requested certificate
      PublicKeyOrBuilder getPublicKeyOrBuilder()
      The public key to be stored in the requested certificate
      boolean hasPublicKey()
      The public key to be stored in the requested certificate
      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      PublicKeyRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      PublicKeyRequest.Builder mergeFrom​(com.google.protobuf.Message other)  
      PublicKeyRequest.Builder mergeFrom​(PublicKeyRequest other)  
      PublicKeyRequest.Builder mergePublicKey​(PublicKey value)
      The public key to be stored in the requested certificate
      PublicKeyRequest.Builder setProofOfPossession​(com.google.protobuf.ByteString value)
      Proof that the client possesses the private key; must be verifiable by provided public key This is a currently a signature over the `sub` claim from the OIDC identity token
      PublicKeyRequest.Builder setPublicKey​(PublicKey value)
      The public key to be stored in the requested certificate
      PublicKeyRequest.Builder setPublicKey​(PublicKey.Builder builderForValue)
      The public key to be stored in the requested certificate
      • 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 Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<PublicKeyRequest.Builder>
      • clear

        public PublicKeyRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessage.Builder<PublicKeyRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<PublicKeyRequest.Builder>
      • getDefaultInstanceForType

        public PublicKeyRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public PublicKeyRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public PublicKeyRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • mergeFrom

        public PublicKeyRequest.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PublicKeyRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage.Builder<PublicKeyRequest.Builder>
      • mergeFrom

        public PublicKeyRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PublicKeyRequest.Builder>
        Throws:
        java.io.IOException
      • hasPublicKey

        public boolean hasPublicKey()
        
         The public key to be stored in the requested certificate
         
        .dev.sigstore.fulcio.v2.PublicKey public_key = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasPublicKey in interface PublicKeyRequestOrBuilder
        Returns:
        Whether the publicKey field is set.
      • getPublicKey

        public PublicKey getPublicKey()
        
         The public key to be stored in the requested certificate
         
        .dev.sigstore.fulcio.v2.PublicKey public_key = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getPublicKey in interface PublicKeyRequestOrBuilder
        Returns:
        The publicKey.
      • setPublicKey

        public PublicKeyRequest.Builder setPublicKey​(PublicKey value)
        
         The public key to be stored in the requested certificate
         
        .dev.sigstore.fulcio.v2.PublicKey public_key = 1 [(.google.api.field_behavior) = REQUIRED];
      • setPublicKey

        public PublicKeyRequest.Builder setPublicKey​(PublicKey.Builder builderForValue)
        
         The public key to be stored in the requested certificate
         
        .dev.sigstore.fulcio.v2.PublicKey public_key = 1 [(.google.api.field_behavior) = REQUIRED];
      • mergePublicKey

        public PublicKeyRequest.Builder mergePublicKey​(PublicKey value)
        
         The public key to be stored in the requested certificate
         
        .dev.sigstore.fulcio.v2.PublicKey public_key = 1 [(.google.api.field_behavior) = REQUIRED];
      • clearPublicKey

        public PublicKeyRequest.Builder clearPublicKey()
        
         The public key to be stored in the requested certificate
         
        .dev.sigstore.fulcio.v2.PublicKey public_key = 1 [(.google.api.field_behavior) = REQUIRED];
      • getPublicKeyBuilder

        public PublicKey.Builder getPublicKeyBuilder()
        
         The public key to be stored in the requested certificate
         
        .dev.sigstore.fulcio.v2.PublicKey public_key = 1 [(.google.api.field_behavior) = REQUIRED];
      • getProofOfPossession

        public com.google.protobuf.ByteString getProofOfPossession()
        
         Proof that the client possesses the private key; must be verifiable by provided public key
        
         This is a currently a signature over the `sub` claim from the OIDC identity token
         
        bytes proof_of_possession = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getProofOfPossession in interface PublicKeyRequestOrBuilder
        Returns:
        The proofOfPossession.
      • setProofOfPossession

        public PublicKeyRequest.Builder setProofOfPossession​(com.google.protobuf.ByteString value)
        
         Proof that the client possesses the private key; must be verifiable by provided public key
        
         This is a currently a signature over the `sub` claim from the OIDC identity token
         
        bytes proof_of_possession = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The proofOfPossession to set.
        Returns:
        This builder for chaining.
      • clearProofOfPossession

        public PublicKeyRequest.Builder clearProofOfPossession()
        
         Proof that the client possesses the private key; must be verifiable by provided public key
        
         This is a currently a signature over the `sub` claim from the OIDC identity token
         
        bytes proof_of_possession = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.