Class CertificateIssuanceConfig (0.14.1)

public final class CertificateIssuanceConfig extends GeneratedMessageV3 implements CertificateIssuanceConfigOrBuilder

CertificateIssuanceConfig specifies how to issue and manage a certificate.

Protobuf type google.events.cloud.certificatemanager.v1.CertificateIssuanceConfig

Static Fields

CERTIFICATE_AUTHORITY_CONFIG_FIELD_NUMBER

public static final int CERTIFICATE_AUTHORITY_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

KEY_ALGORITHM_FIELD_NUMBER

public static final int KEY_ALGORITHM_FIELD_NUMBER
Field Value
TypeDescription
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
TypeDescription
int

LIFETIME_FIELD_NUMBER

public static final int LIFETIME_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

ROTATION_WINDOW_PERCENTAGE_FIELD_NUMBER

public static final int ROTATION_WINDOW_PERCENTAGE_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CertificateIssuanceConfig getDefaultInstance()
Returns
TypeDescription
CertificateIssuanceConfig

getDescriptor()

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

newBuilder()

public static CertificateIssuanceConfig.Builder newBuilder()
Returns
TypeDescription
CertificateIssuanceConfig.Builder

newBuilder(CertificateIssuanceConfig prototype)

public static CertificateIssuanceConfig.Builder newBuilder(CertificateIssuanceConfig prototype)
Parameter
NameDescription
prototypeCertificateIssuanceConfig
Returns
TypeDescription
CertificateIssuanceConfig.Builder

parseDelimitedFrom(InputStream input)

public static CertificateIssuanceConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CertificateIssuanceConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateIssuanceConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateIssuanceConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CertificateIssuanceConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CertificateIssuanceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static CertificateIssuanceConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CertificateIssuanceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CertificateIssuanceConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateIssuanceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CertificateIssuanceConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CertificateIssuanceConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateIssuanceConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateIssuanceConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CertificateIssuanceConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CertificateIssuanceConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateIssuanceConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateIssuanceConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CertificateIssuanceConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CertificateIssuanceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CertificateIssuanceConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateIssuanceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CertificateIssuanceConfig> parser()
Returns
TypeDescription
Parser<CertificateIssuanceConfig>

Methods

containsLabels(String key)

public boolean containsLabels(String key)

Set of labels associated with a CertificateIssuanceConfig.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCertificateAuthorityConfig()

public CertificateIssuanceConfig.CertificateAuthorityConfig getCertificateAuthorityConfig()

Required. The CA that issues the workload certificate. It includes the CA address, type, authentication to CA service, etc.

.google.events.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6;

Returns
TypeDescription
CertificateIssuanceConfig.CertificateAuthorityConfig

The certificateAuthorityConfig.

getCertificateAuthorityConfigOrBuilder()

public CertificateIssuanceConfig.CertificateAuthorityConfigOrBuilder getCertificateAuthorityConfigOrBuilder()

Required. The CA that issues the workload certificate. It includes the CA address, type, authentication to CA service, etc.

.google.events.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6;

Returns
TypeDescription
CertificateIssuanceConfig.CertificateAuthorityConfigOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. The creation timestamp of a CertificateIssuanceConfig.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation timestamp of a CertificateIssuanceConfig.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public CertificateIssuanceConfig getDefaultInstanceForType()
Returns
TypeDescription
CertificateIssuanceConfig

getDescription()

public String getDescription()

One or more paragraphs of text description of a CertificateIssuanceConfig.

string description = 5;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

One or more paragraphs of text description of a CertificateIssuanceConfig.

string description = 5;

Returns
TypeDescription
ByteString

The bytes for description.

getKeyAlgorithm()

public CertificateIssuanceConfig.KeyAlgorithm getKeyAlgorithm()

Required. The key algorithm to use when generating the private key.

.google.events.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm key_algorithm = 9;

Returns
TypeDescription
CertificateIssuanceConfig.KeyAlgorithm

The keyAlgorithm.

getKeyAlgorithmValue()

public int getKeyAlgorithmValue()

Required. The key algorithm to use when generating the private key.

.google.events.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm key_algorithm = 9;

Returns
TypeDescription
int

The enum numeric value on the wire for keyAlgorithm.

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Set of labels associated with a CertificateIssuanceConfig.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Set of labels associated with a CertificateIssuanceConfig.

map<string, string> labels = 4;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Set of labels associated with a CertificateIssuanceConfig.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Set of labels associated with a CertificateIssuanceConfig.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getLifetime()

public Duration getLifetime()

Required. Workload certificate lifetime requested.

.google.protobuf.Duration lifetime = 7;

Returns
TypeDescription
Duration

The lifetime.

getLifetimeOrBuilder()

public DurationOrBuilder getLifetimeOrBuilder()

Required. Workload certificate lifetime requested.

.google.protobuf.Duration lifetime = 7;

Returns
TypeDescription
DurationOrBuilder

getName()

public String getName()

A user-defined name of the certificate issuance config. CertificateIssuanceConfig names must be unique globally and match pattern projects/*/locations/*/certificateIssuanceConfigs/*.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

A user-defined name of the certificate issuance config. CertificateIssuanceConfig names must be unique globally and match pattern projects/*/locations/*/certificateIssuanceConfigs/*.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<CertificateIssuanceConfig> getParserForType()
Returns
TypeDescription
Parser<CertificateIssuanceConfig>
Overrides

getRotationWindowPercentage()

public int getRotationWindowPercentage()

Required. Specifies the percentage of elapsed time of the certificate lifetime to wait before renewing the certificate. Must be a number between 1-99, inclusive.

int32 rotation_window_percentage = 8;

Returns
TypeDescription
int

The rotationWindowPercentage.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The last update timestamp of a CertificateIssuanceConfig.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The last update timestamp of a CertificateIssuanceConfig.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
TimestampOrBuilder

hasCertificateAuthorityConfig()

public boolean hasCertificateAuthorityConfig()

Required. The CA that issues the workload certificate. It includes the CA address, type, authentication to CA service, etc.

.google.events.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6;

Returns
TypeDescription
boolean

Whether the certificateAuthorityConfig field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. The creation timestamp of a CertificateIssuanceConfig.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasLifetime()

public boolean hasLifetime()

Required. Workload certificate lifetime requested.

.google.protobuf.Duration lifetime = 7;

Returns
TypeDescription
boolean

Whether the lifetime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The last update timestamp of a CertificateIssuanceConfig.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
boolean

Whether the updateTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CertificateIssuanceConfig.Builder newBuilderForType()
Returns
TypeDescription
CertificateIssuanceConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CertificateIssuanceConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CertificateIssuanceConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public CertificateIssuanceConfig.Builder toBuilder()
Returns
TypeDescription
CertificateIssuanceConfig.Builder

writeTo(CodedOutputStream output)

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