Class CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes (2.8.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
TypeDescription
int

ALLOW_CSR_BASED_ISSUANCE_FIELD_NUMBER

public static final int ALLOW_CSR_BASED_ISSUANCE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes getDefaultInstance()
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder newBuilder()
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder

newBuilder(CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes prototype)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder newBuilder(CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes prototype)
Parameter
NameDescription
prototypeCertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder

parseDelimitedFrom(InputStream input)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The allowCsrBasedIssuance.

getDefaultInstanceForType()

public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes getDefaultInstanceForType()
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder newBuilderForType()
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder toBuilder()
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException