Class CaPool.IssuancePolicy.IssuanceModes (2.22.0)

public static final class CaPool.IssuancePolicy.IssuanceModes extends GeneratedMessageV3 implements CaPool.IssuancePolicy.IssuanceModesOrBuilder

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

Protobuf type google.cloud.security.privateca.v1.CaPool.IssuancePolicy.IssuanceModes

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CaPool.IssuancePolicy.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 CaPool.IssuancePolicy.IssuanceModes getDefaultInstance()
Returns
TypeDescription
CaPool.IssuancePolicy.IssuanceModes

getDescriptor()

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

newBuilder()

public static CaPool.IssuancePolicy.IssuanceModes.Builder newBuilder()
Returns
TypeDescription
CaPool.IssuancePolicy.IssuanceModes.Builder

newBuilder(CaPool.IssuancePolicy.IssuanceModes prototype)

public static CaPool.IssuancePolicy.IssuanceModes.Builder newBuilder(CaPool.IssuancePolicy.IssuanceModes prototype)
Parameter
NameDescription
prototypeCaPool.IssuancePolicy.IssuanceModes
Returns
TypeDescription
CaPool.IssuancePolicy.IssuanceModes.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<CaPool.IssuancePolicy.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()

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

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

Returns
TypeDescription
boolean

The allowConfigBasedIssuance.

getAllowCsrBasedIssuance()

public boolean getAllowCsrBasedIssuance()

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

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

Returns
TypeDescription
boolean

The allowCsrBasedIssuance.

getDefaultInstanceForType()

public CaPool.IssuancePolicy.IssuanceModes getDefaultInstanceForType()
Returns
TypeDescription
CaPool.IssuancePolicy.IssuanceModes

getParserForType()

public Parser<CaPool.IssuancePolicy.IssuanceModes> getParserForType()
Returns
TypeDescription
Parser<IssuanceModes>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 CaPool.IssuancePolicy.IssuanceModes.Builder newBuilderForType()
Returns
TypeDescription
CaPool.IssuancePolicy.IssuanceModes.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public CaPool.IssuancePolicy.IssuanceModes.Builder toBuilder()
Returns
TypeDescription
CaPool.IssuancePolicy.IssuanceModes.Builder

writeTo(CodedOutputStream output)

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