Class CertificateDescription.KeyId.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CertificateDescription.KeyId.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.GeneratedMessageV3.Builder<CertificateDescription.KeyId.Builder>
      • getDefaultInstanceForType

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

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

        public CertificateDescription.KeyId buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

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

        public CertificateDescription.KeyId.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws 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<CertificateDescription.KeyId.Builder>
        Throws:
        IOException
      • getKeyId

        public String getKeyId()
         Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most
         likely the 160 bit SHA-1 hash of the public key.
         
        string key_id = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getKeyId in interface CertificateDescription.KeyIdOrBuilder
        Returns:
        The keyId.
      • getKeyIdBytes

        public com.google.protobuf.ByteString getKeyIdBytes()
         Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most
         likely the 160 bit SHA-1 hash of the public key.
         
        string key_id = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getKeyIdBytes in interface CertificateDescription.KeyIdOrBuilder
        Returns:
        The bytes for keyId.
      • setKeyId

        public CertificateDescription.KeyId.Builder setKeyId​(String value)
         Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most
         likely the 160 bit SHA-1 hash of the public key.
         
        string key_id = 1 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The keyId to set.
        Returns:
        This builder for chaining.
      • clearKeyId

        public CertificateDescription.KeyId.Builder clearKeyId()
         Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most
         likely the 160 bit SHA-1 hash of the public key.
         
        string key_id = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setKeyIdBytes

        public CertificateDescription.KeyId.Builder setKeyIdBytes​(com.google.protobuf.ByteString value)
         Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most
         likely the 160 bit SHA-1 hash of the public key.
         
        string key_id = 1 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for keyId to set.
        Returns:
        This builder for chaining.