Class X509Parameters.CaOptions.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<X509Parameters.CaOptions.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<X509Parameters.CaOptions.Builder>
      • getDefaultInstanceForType

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

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

        public X509Parameters.CaOptions buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public X509Parameters.CaOptions.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 int index,
                                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<X509Parameters.CaOptions.Builder>
      • addRepeatedField

        public X509Parameters.CaOptions.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<X509Parameters.CaOptions.Builder>
      • isInitialized

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

        public X509Parameters.CaOptions.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<X509Parameters.CaOptions.Builder>
        Throws:
        IOException
      • hasIsCa

        public boolean hasIsCa()
         Optional. Refers to the "CA" X.509 extension, which is a boolean value.
         When this value is missing, the extension will be omitted from the CA
         certificate.
         
        optional bool is_ca = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasIsCa in interface X509Parameters.CaOptionsOrBuilder
        Returns:
        Whether the isCa field is set.
      • getIsCa

        public boolean getIsCa()
         Optional. Refers to the "CA" X.509 extension, which is a boolean value.
         When this value is missing, the extension will be omitted from the CA
         certificate.
         
        optional bool is_ca = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getIsCa in interface X509Parameters.CaOptionsOrBuilder
        Returns:
        The isCa.
      • setIsCa

        public X509Parameters.CaOptions.Builder setIsCa​(boolean value)
         Optional. Refers to the "CA" X.509 extension, which is a boolean value.
         When this value is missing, the extension will be omitted from the CA
         certificate.
         
        optional bool is_ca = 1 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The isCa to set.
        Returns:
        This builder for chaining.
      • clearIsCa

        public X509Parameters.CaOptions.Builder clearIsCa()
         Optional. Refers to the "CA" X.509 extension, which is a boolean value.
         When this value is missing, the extension will be omitted from the CA
         certificate.
         
        optional bool is_ca = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • hasMaxIssuerPathLength

        public boolean hasMaxIssuerPathLength()
         Optional. Refers to the path length restriction X.509 extension. For a CA
         certificate, this value describes the depth of subordinate CA
         certificates that are allowed.
         If this value is less than 0, the request will fail.
         If this value is missing, the max path length will be omitted from the
         CA certificate.
         
        optional int32 max_issuer_path_length = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasMaxIssuerPathLength in interface X509Parameters.CaOptionsOrBuilder
        Returns:
        Whether the maxIssuerPathLength field is set.
      • getMaxIssuerPathLength

        public int getMaxIssuerPathLength()
         Optional. Refers to the path length restriction X.509 extension. For a CA
         certificate, this value describes the depth of subordinate CA
         certificates that are allowed.
         If this value is less than 0, the request will fail.
         If this value is missing, the max path length will be omitted from the
         CA certificate.
         
        optional int32 max_issuer_path_length = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getMaxIssuerPathLength in interface X509Parameters.CaOptionsOrBuilder
        Returns:
        The maxIssuerPathLength.
      • setMaxIssuerPathLength

        public X509Parameters.CaOptions.Builder setMaxIssuerPathLength​(int value)
         Optional. Refers to the path length restriction X.509 extension. For a CA
         certificate, this value describes the depth of subordinate CA
         certificates that are allowed.
         If this value is less than 0, the request will fail.
         If this value is missing, the max path length will be omitted from the
         CA certificate.
         
        optional int32 max_issuer_path_length = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The maxIssuerPathLength to set.
        Returns:
        This builder for chaining.
      • clearMaxIssuerPathLength

        public X509Parameters.CaOptions.Builder clearMaxIssuerPathLength()
         Optional. Refers to the path length restriction X.509 extension. For a CA
         certificate, this value describes the depth of subordinate CA
         certificates that are allowed.
         If this value is less than 0, the request will fail.
         If this value is missing, the max path length will be omitted from the
         CA certificate.
         
        optional int32 max_issuer_path_length = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final X509Parameters.CaOptions.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<X509Parameters.CaOptions.Builder>
      • mergeUnknownFields

        public final X509Parameters.CaOptions.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<X509Parameters.CaOptions.Builder>