Class CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes (2.56.0)

public static final class CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes extends GeneratedMessageV3 implements CertificateAuthority.CertificateAuthorityPolicy.IssuanceModesOrBuilder

IssuanceModes specifies the allowed ways in which Certificates may be requested from this CertificateAuthority.

Protobuf type google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes

Static Fields

ALLOW_CONFIG_BASED_ISSUANCE_FIELD_NUMBER

public static final int ALLOW_CONFIG_BASED_ISSUANCE_FIELD_NUMBER
Field Value
Type Description
int

ALLOW_CSR_BASED_ISSUANCE_FIELD_NUMBER

public static final int ALLOW_CSR_BASED_ISSUANCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes getDefaultInstance()
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder newBuilder()
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder

newBuilder(CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes prototype)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder newBuilder(CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes prototype)
Parameter
Name Description
prototype CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder

parseDelimitedFrom(InputStream input)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes> parser()
Returns
Type Description
Parser<IssuanceModes>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAllowConfigBasedIssuance()

public boolean getAllowConfigBasedIssuance()

Required. When true, allows callers to create Certificates by specifying a CertificateConfig.

bool allow_config_based_issuance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

The allowConfigBasedIssuance.

getAllowCsrBasedIssuance()

public boolean getAllowCsrBasedIssuance()

Required. When true, allows callers to create Certificates by specifying a CSR.

bool allow_csr_based_issuance = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

The allowCsrBasedIssuance.

getDefaultInstanceForType()

public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes getDefaultInstanceForType()
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes

getParserForType()

public Parser<CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes> getParserForType()
Returns
Type Description
Parser<IssuanceModes>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder newBuilderForType()
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder toBuilder()
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException