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 class
ReusableConfigValues.Builder
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.static class
ReusableConfigValues.CaOptions
Describes values that are relevant in a CA certificate.static interface
ReusableConfigValues.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 int
ADDITIONAL_EXTENSIONS_FIELD_NUMBER
static int
AIA_OCSP_SERVERS_FIELD_NUMBER
static int
CA_OPTIONS_FIELD_NUMBER
static int
KEY_USAGE_FIELD_NUMBER
static int
POLICY_IDS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
X509Extension
getAdditionalExtensions(int index)
Optional.int
getAdditionalExtensionsCount()
Optional.List<X509Extension>
getAdditionalExtensionsList()
Optional.X509ExtensionOrBuilder
getAdditionalExtensionsOrBuilder(int index)
Optional.List<? extends X509ExtensionOrBuilder>
getAdditionalExtensionsOrBuilderList()
Optional.String
getAiaOcspServers(int index)
Optional.com.google.protobuf.ByteString
getAiaOcspServersBytes(int index)
Optional.int
getAiaOcspServersCount()
Optional.com.google.protobuf.ProtocolStringList
getAiaOcspServersList()
Optional.ReusableConfigValues.CaOptions
getCaOptions()
Optional.ReusableConfigValues.CaOptionsOrBuilder
getCaOptionsOrBuilder()
Optional.static ReusableConfigValues
getDefaultInstance()
ReusableConfigValues
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
KeyUsage
getKeyUsage()
Optional.KeyUsageOrBuilder
getKeyUsageOrBuilder()
Optional.com.google.protobuf.Parser<ReusableConfigValues>
getParserForType()
ObjectId
getPolicyIds(int index)
Optional.int
getPolicyIdsCount()
Optional.List<ObjectId>
getPolicyIdsList()
Optional.ObjectIdOrBuilder
getPolicyIdsOrBuilder(int index)
Optional.List<? extends ObjectIdOrBuilder>
getPolicyIdsOrBuilderList()
Optional.int
getSerializedSize()
boolean
hasCaOptions()
Optional.int
hashCode()
boolean
hasKeyUsage()
Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ReusableConfigValues.Builder
newBuilder()
static ReusableConfigValues.Builder
newBuilder(ReusableConfigValues prototype)
ReusableConfigValues.Builder
newBuilderForType()
protected ReusableConfigValues.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ReusableConfigValues
parseDelimitedFrom(InputStream input)
static ReusableConfigValues
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ReusableConfigValues
parseFrom(byte[] data)
static ReusableConfigValues
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ReusableConfigValues
parseFrom(com.google.protobuf.ByteString data)
static ReusableConfigValues
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ReusableConfigValues
parseFrom(com.google.protobuf.CodedInputStream input)
static ReusableConfigValues
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ReusableConfigValues
parseFrom(InputStream input)
static ReusableConfigValues
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ReusableConfigValues
parseFrom(ByteBuffer data)
static ReusableConfigValues
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ReusableConfigValues>
parser()
ReusableConfigValues.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
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:
hasKeyUsage
in 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:
getKeyUsage
in 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:
getKeyUsageOrBuilder
in 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:
hasCaOptions
in 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:
getCaOptions
in 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:
getCaOptionsOrBuilder
in 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:
getPolicyIdsList
in 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:
getPolicyIdsOrBuilderList
in 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:
getPolicyIdsCount
in 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:
getPolicyIds
in 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:
getPolicyIdsOrBuilder
in 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:
getAiaOcspServersList
in 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:
getAiaOcspServersCount
in 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:
getAiaOcspServers
in 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:
getAiaOcspServersBytes
in 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:
getAdditionalExtensionsList
in 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:
getAdditionalExtensionsOrBuilderList
in 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:
getAdditionalExtensionsCount
in 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:
getAdditionalExtensions
in 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:
getAdditionalExtensionsOrBuilder
in interfaceReusableConfigValuesOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ReusableConfigValues.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ReusableConfigValues getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-