Class ReusableConfigValues
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.security.privateca.v1beta1.ReusableConfigValues
-
- All Implemented Interfaces:
ReusableConfigValuesOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class ReusableConfigValues extends com.google.protobuf.GeneratedMessageV3 implements ReusableConfigValuesOrBuilder
A [ReusableConfigValues][google.cloud.security.privateca.v1beta1.ReusableConfigValues] is used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions.
Protobuf typegoogle.cloud.security.privateca.v1beta1.ReusableConfigValues- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReusableConfigValues.BuilderA [ReusableConfigValues][google.cloud.security.privateca.v1beta1.ReusableConfigValues] is used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions.static classReusableConfigValues.CaOptionsDescribes values that are relevant in a CA certificate.static interfaceReusableConfigValues.CaOptionsOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intADDITIONAL_EXTENSIONS_FIELD_NUMBERstatic intAIA_OCSP_SERVERS_FIELD_NUMBERstatic intCA_OPTIONS_FIELD_NUMBERstatic intKEY_USAGE_FIELD_NUMBERstatic intPOLICY_IDS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)X509ExtensiongetAdditionalExtensions(int index)Optional.intgetAdditionalExtensionsCount()Optional.List<X509Extension>getAdditionalExtensionsList()Optional.X509ExtensionOrBuildergetAdditionalExtensionsOrBuilder(int index)Optional.List<? extends X509ExtensionOrBuilder>getAdditionalExtensionsOrBuilderList()Optional.StringgetAiaOcspServers(int index)Optional.com.google.protobuf.ByteStringgetAiaOcspServersBytes(int index)Optional.intgetAiaOcspServersCount()Optional.com.google.protobuf.ProtocolStringListgetAiaOcspServersList()Optional.ReusableConfigValues.CaOptionsgetCaOptions()Optional.ReusableConfigValues.CaOptionsOrBuildergetCaOptionsOrBuilder()Optional.static ReusableConfigValuesgetDefaultInstance()ReusableConfigValuesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()KeyUsagegetKeyUsage()Optional.KeyUsageOrBuildergetKeyUsageOrBuilder()Optional.com.google.protobuf.Parser<ReusableConfigValues>getParserForType()ObjectIdgetPolicyIds(int index)Optional.intgetPolicyIdsCount()Optional.List<ObjectId>getPolicyIdsList()Optional.ObjectIdOrBuildergetPolicyIdsOrBuilder(int index)Optional.List<? extends ObjectIdOrBuilder>getPolicyIdsOrBuilderList()Optional.intgetSerializedSize()booleanhasCaOptions()Optional.inthashCode()booleanhasKeyUsage()Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ReusableConfigValues.BuildernewBuilder()static ReusableConfigValues.BuildernewBuilder(ReusableConfigValues prototype)ReusableConfigValues.BuildernewBuilderForType()protected ReusableConfigValues.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ReusableConfigValuesparseDelimitedFrom(InputStream input)static ReusableConfigValuesparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReusableConfigValuesparseFrom(byte[] data)static ReusableConfigValuesparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReusableConfigValuesparseFrom(com.google.protobuf.ByteString data)static ReusableConfigValuesparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReusableConfigValuesparseFrom(com.google.protobuf.CodedInputStream input)static ReusableConfigValuesparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReusableConfigValuesparseFrom(InputStream input)static ReusableConfigValuesparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReusableConfigValuesparseFrom(ByteBuffer data)static ReusableConfigValuesparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ReusableConfigValues>parser()ReusableConfigValues.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
KEY_USAGE_FIELD_NUMBER
public static final int KEY_USAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CA_OPTIONS_FIELD_NUMBER
public static final int CA_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POLICY_IDS_FIELD_NUMBER
public static final int POLICY_IDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AIA_OCSP_SERVERS_FIELD_NUMBER
public static final int AIA_OCSP_SERVERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADDITIONAL_EXTENSIONS_FIELD_NUMBER
public static final int ADDITIONAL_EXTENSIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasKeyUsage
public boolean hasKeyUsage()
Optional. Indicates the intended use for keys that correspond to a certificate.
.google.cloud.security.privateca.v1beta1.KeyUsage key_usage = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasKeyUsagein interfaceReusableConfigValuesOrBuilder- Returns:
- Whether the keyUsage field is set.
-
getKeyUsage
public KeyUsage getKeyUsage()
Optional. Indicates the intended use for keys that correspond to a certificate.
.google.cloud.security.privateca.v1beta1.KeyUsage key_usage = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getKeyUsagein interfaceReusableConfigValuesOrBuilder- Returns:
- The keyUsage.
-
getKeyUsageOrBuilder
public KeyUsageOrBuilder getKeyUsageOrBuilder()
Optional. Indicates the intended use for keys that correspond to a certificate.
.google.cloud.security.privateca.v1beta1.KeyUsage key_usage = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getKeyUsageOrBuilderin interfaceReusableConfigValuesOrBuilder
-
hasCaOptions
public boolean hasCaOptions()
Optional. Describes options in this [ReusableConfigValues][google.cloud.security.privateca.v1beta1.ReusableConfigValues] that are relevant in a CA certificate.
.google.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptions ca_options = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasCaOptionsin interfaceReusableConfigValuesOrBuilder- Returns:
- Whether the caOptions field is set.
-
getCaOptions
public ReusableConfigValues.CaOptions getCaOptions()
Optional. Describes options in this [ReusableConfigValues][google.cloud.security.privateca.v1beta1.ReusableConfigValues] that are relevant in a CA certificate.
.google.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptions ca_options = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCaOptionsin interfaceReusableConfigValuesOrBuilder- Returns:
- The caOptions.
-
getCaOptionsOrBuilder
public ReusableConfigValues.CaOptionsOrBuilder getCaOptionsOrBuilder()
Optional. Describes options in this [ReusableConfigValues][google.cloud.security.privateca.v1beta1.ReusableConfigValues] that are relevant in a CA certificate.
.google.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptions ca_options = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCaOptionsOrBuilderin interfaceReusableConfigValuesOrBuilder
-
getPolicyIdsList
public List<ObjectId> getPolicyIdsList()
Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
repeated .google.cloud.security.privateca.v1beta1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPolicyIdsListin interfaceReusableConfigValuesOrBuilder
-
getPolicyIdsOrBuilderList
public List<? extends ObjectIdOrBuilder> getPolicyIdsOrBuilderList()
Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
repeated .google.cloud.security.privateca.v1beta1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPolicyIdsOrBuilderListin interfaceReusableConfigValuesOrBuilder
-
getPolicyIdsCount
public int getPolicyIdsCount()
Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
repeated .google.cloud.security.privateca.v1beta1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPolicyIdsCountin interfaceReusableConfigValuesOrBuilder
-
getPolicyIds
public ObjectId getPolicyIds(int index)
Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
repeated .google.cloud.security.privateca.v1beta1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPolicyIdsin interfaceReusableConfigValuesOrBuilder
-
getPolicyIdsOrBuilder
public ObjectIdOrBuilder getPolicyIdsOrBuilder(int index)
Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
repeated .google.cloud.security.privateca.v1beta1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPolicyIdsOrBuilderin interfaceReusableConfigValuesOrBuilder
-
getAiaOcspServersList
public com.google.protobuf.ProtocolStringList getAiaOcspServersList()
Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.
repeated string aia_ocsp_servers = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAiaOcspServersListin interfaceReusableConfigValuesOrBuilder- Returns:
- A list containing the aiaOcspServers.
-
getAiaOcspServersCount
public int getAiaOcspServersCount()
Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.
repeated string aia_ocsp_servers = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAiaOcspServersCountin interfaceReusableConfigValuesOrBuilder- Returns:
- The count of aiaOcspServers.
-
getAiaOcspServers
public String getAiaOcspServers(int index)
Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.
repeated string aia_ocsp_servers = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAiaOcspServersin interfaceReusableConfigValuesOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The aiaOcspServers at the given index.
-
getAiaOcspServersBytes
public com.google.protobuf.ByteString getAiaOcspServersBytes(int index)
Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.
repeated string aia_ocsp_servers = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAiaOcspServersBytesin interfaceReusableConfigValuesOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the aiaOcspServers at the given index.
-
getAdditionalExtensionsList
public List<X509Extension> getAdditionalExtensionsList()
Optional. Describes custom X.509 extensions.
repeated .google.cloud.security.privateca.v1beta1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAdditionalExtensionsListin interfaceReusableConfigValuesOrBuilder
-
getAdditionalExtensionsOrBuilderList
public List<? extends X509ExtensionOrBuilder> getAdditionalExtensionsOrBuilderList()
Optional. Describes custom X.509 extensions.
repeated .google.cloud.security.privateca.v1beta1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAdditionalExtensionsOrBuilderListin interfaceReusableConfigValuesOrBuilder
-
getAdditionalExtensionsCount
public int getAdditionalExtensionsCount()
Optional. Describes custom X.509 extensions.
repeated .google.cloud.security.privateca.v1beta1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAdditionalExtensionsCountin interfaceReusableConfigValuesOrBuilder
-
getAdditionalExtensions
public X509Extension getAdditionalExtensions(int index)
Optional. Describes custom X.509 extensions.
repeated .google.cloud.security.privateca.v1beta1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAdditionalExtensionsin interfaceReusableConfigValuesOrBuilder
-
getAdditionalExtensionsOrBuilder
public X509ExtensionOrBuilder getAdditionalExtensionsOrBuilder(int index)
Optional. Describes custom X.509 extensions.
repeated .google.cloud.security.privateca.v1beta1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAdditionalExtensionsOrBuilderin interfaceReusableConfigValuesOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ReusableConfigValues parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReusableConfigValues parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReusableConfigValues parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReusableConfigValues parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReusableConfigValues parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReusableConfigValues parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReusableConfigValues parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ReusableConfigValues parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ReusableConfigValues parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ReusableConfigValues parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ReusableConfigValues parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ReusableConfigValues parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ReusableConfigValues.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ReusableConfigValues.Builder newBuilder()
-
newBuilder
public static ReusableConfigValues.Builder newBuilder(ReusableConfigValues prototype)
-
toBuilder
public ReusableConfigValues.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ReusableConfigValues.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ReusableConfigValues getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ReusableConfigValues> parser()
-
getParserForType
public com.google.protobuf.Parser<ReusableConfigValues> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ReusableConfigValues getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-