Class ReusableConfigValues.CaOptions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ReusableConfigValues.CaOptions.Builder>
-
- com.google.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptions.Builder
-
- All Implemented Interfaces:
ReusableConfigValues.CaOptionsOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ReusableConfigValues.CaOptions
public static final class ReusableConfigValues.CaOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ReusableConfigValues.CaOptions.Builder> implements ReusableConfigValues.CaOptionsOrBuilder
Describes values that are relevant in a CA certificate.
Protobuf typegoogle.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReusableConfigValues.CaOptions.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ReusableConfigValues.CaOptions
build()
ReusableConfigValues.CaOptions
buildPartial()
ReusableConfigValues.CaOptions.Builder
clear()
ReusableConfigValues.CaOptions.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ReusableConfigValues.CaOptions.Builder
clearIsCa()
Optional.ReusableConfigValues.CaOptions.Builder
clearMaxIssuerPathLength()
Optional.ReusableConfigValues.CaOptions.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ReusableConfigValues.CaOptions.Builder
clone()
ReusableConfigValues.CaOptions
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.BoolValue
getIsCa()
Optional.com.google.protobuf.BoolValue.Builder
getIsCaBuilder()
Optional.com.google.protobuf.BoolValueOrBuilder
getIsCaOrBuilder()
Optional.com.google.protobuf.Int32Value
getMaxIssuerPathLength()
Optional.com.google.protobuf.Int32Value.Builder
getMaxIssuerPathLengthBuilder()
Optional.com.google.protobuf.Int32ValueOrBuilder
getMaxIssuerPathLengthOrBuilder()
Optional.boolean
hasIsCa()
Optional.boolean
hasMaxIssuerPathLength()
Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ReusableConfigValues.CaOptions.Builder
mergeFrom(ReusableConfigValues.CaOptions other)
ReusableConfigValues.CaOptions.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ReusableConfigValues.CaOptions.Builder
mergeFrom(com.google.protobuf.Message other)
ReusableConfigValues.CaOptions.Builder
mergeIsCa(com.google.protobuf.BoolValue value)
Optional.ReusableConfigValues.CaOptions.Builder
mergeMaxIssuerPathLength(com.google.protobuf.Int32Value value)
Optional.ReusableConfigValues.CaOptions.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ReusableConfigValues.CaOptions.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ReusableConfigValues.CaOptions.Builder
setIsCa(com.google.protobuf.BoolValue value)
Optional.ReusableConfigValues.CaOptions.Builder
setIsCa(com.google.protobuf.BoolValue.Builder builderForValue)
Optional.ReusableConfigValues.CaOptions.Builder
setMaxIssuerPathLength(com.google.protobuf.Int32Value value)
Optional.ReusableConfigValues.CaOptions.Builder
setMaxIssuerPathLength(com.google.protobuf.Int32Value.Builder builderForValue)
Optional.ReusableConfigValues.CaOptions.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ReusableConfigValues.CaOptions.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReusableConfigValues.CaOptions.Builder>
-
clear
public ReusableConfigValues.CaOptions.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.GeneratedMessageV3.Builder<ReusableConfigValues.CaOptions.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.GeneratedMessageV3.Builder<ReusableConfigValues.CaOptions.Builder>
-
getDefaultInstanceForType
public ReusableConfigValues.CaOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ReusableConfigValues.CaOptions build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ReusableConfigValues.CaOptions buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ReusableConfigValues.CaOptions.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReusableConfigValues.CaOptions.Builder>
-
setField
public ReusableConfigValues.CaOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReusableConfigValues.CaOptions.Builder>
-
clearField
public ReusableConfigValues.CaOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReusableConfigValues.CaOptions.Builder>
-
clearOneof
public ReusableConfigValues.CaOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReusableConfigValues.CaOptions.Builder>
-
setRepeatedField
public ReusableConfigValues.CaOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReusableConfigValues.CaOptions.Builder>
-
addRepeatedField
public ReusableConfigValues.CaOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReusableConfigValues.CaOptions.Builder>
-
mergeFrom
public ReusableConfigValues.CaOptions.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReusableConfigValues.CaOptions.Builder>
-
mergeFrom
public ReusableConfigValues.CaOptions.Builder mergeFrom(ReusableConfigValues.CaOptions other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReusableConfigValues.CaOptions.Builder>
-
mergeFrom
public ReusableConfigValues.CaOptions.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<ReusableConfigValues.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.
.google.protobuf.BoolValue is_ca = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasIsCa
in interfaceReusableConfigValues.CaOptionsOrBuilder
- Returns:
- Whether the isCa field is set.
-
getIsCa
public com.google.protobuf.BoolValue 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.
.google.protobuf.BoolValue is_ca = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getIsCa
in interfaceReusableConfigValues.CaOptionsOrBuilder
- Returns:
- The isCa.
-
setIsCa
public ReusableConfigValues.CaOptions.Builder setIsCa(com.google.protobuf.BoolValue 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.
.google.protobuf.BoolValue is_ca = 1 [(.google.api.field_behavior) = OPTIONAL];
-
setIsCa
public ReusableConfigValues.CaOptions.Builder setIsCa(com.google.protobuf.BoolValue.Builder builderForValue)
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.
.google.protobuf.BoolValue is_ca = 1 [(.google.api.field_behavior) = OPTIONAL];
-
mergeIsCa
public ReusableConfigValues.CaOptions.Builder mergeIsCa(com.google.protobuf.BoolValue 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.
.google.protobuf.BoolValue is_ca = 1 [(.google.api.field_behavior) = OPTIONAL];
-
clearIsCa
public ReusableConfigValues.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.
.google.protobuf.BoolValue is_ca = 1 [(.google.api.field_behavior) = OPTIONAL];
-
getIsCaBuilder
public com.google.protobuf.BoolValue.Builder getIsCaBuilder()
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.
.google.protobuf.BoolValue is_ca = 1 [(.google.api.field_behavior) = OPTIONAL];
-
getIsCaOrBuilder
public com.google.protobuf.BoolValueOrBuilder getIsCaOrBuilder()
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.
.google.protobuf.BoolValue is_ca = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getIsCaOrBuilder
in interfaceReusableConfigValues.CaOptionsOrBuilder
-
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.
.google.protobuf.Int32Value max_issuer_path_length = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasMaxIssuerPathLength
in interfaceReusableConfigValues.CaOptionsOrBuilder
- Returns:
- Whether the maxIssuerPathLength field is set.
-
getMaxIssuerPathLength
public com.google.protobuf.Int32Value 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.
.google.protobuf.Int32Value max_issuer_path_length = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getMaxIssuerPathLength
in interfaceReusableConfigValues.CaOptionsOrBuilder
- Returns:
- The maxIssuerPathLength.
-
setMaxIssuerPathLength
public ReusableConfigValues.CaOptions.Builder setMaxIssuerPathLength(com.google.protobuf.Int32Value 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.
.google.protobuf.Int32Value max_issuer_path_length = 2 [(.google.api.field_behavior) = OPTIONAL];
-
setMaxIssuerPathLength
public ReusableConfigValues.CaOptions.Builder setMaxIssuerPathLength(com.google.protobuf.Int32Value.Builder builderForValue)
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.
.google.protobuf.Int32Value max_issuer_path_length = 2 [(.google.api.field_behavior) = OPTIONAL];
-
mergeMaxIssuerPathLength
public ReusableConfigValues.CaOptions.Builder mergeMaxIssuerPathLength(com.google.protobuf.Int32Value 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.
.google.protobuf.Int32Value max_issuer_path_length = 2 [(.google.api.field_behavior) = OPTIONAL];
-
clearMaxIssuerPathLength
public ReusableConfigValues.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.
.google.protobuf.Int32Value max_issuer_path_length = 2 [(.google.api.field_behavior) = OPTIONAL];
-
getMaxIssuerPathLengthBuilder
public com.google.protobuf.Int32Value.Builder getMaxIssuerPathLengthBuilder()
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.
.google.protobuf.Int32Value max_issuer_path_length = 2 [(.google.api.field_behavior) = OPTIONAL];
-
getMaxIssuerPathLengthOrBuilder
public com.google.protobuf.Int32ValueOrBuilder getMaxIssuerPathLengthOrBuilder()
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.
.google.protobuf.Int32Value max_issuer_path_length = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getMaxIssuerPathLengthOrBuilder
in interfaceReusableConfigValues.CaOptionsOrBuilder
-
setUnknownFields
public final ReusableConfigValues.CaOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReusableConfigValues.CaOptions.Builder>
-
mergeUnknownFields
public final ReusableConfigValues.CaOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReusableConfigValues.CaOptions.Builder>
-
-