Class X509CertificateDetails.Builder (2.54.0)

public static final class X509CertificateDetails.Builder extends GeneratedMessageV3.Builder<X509CertificateDetails.Builder> implements X509CertificateDetailsOrBuilder

Details of an X.509 certificate. For informational purposes only.

Protobuf type google.cloud.iot.v1.X509CertificateDetails

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public X509CertificateDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
X509CertificateDetails.Builder
Overrides

build()

public X509CertificateDetails build()
Returns
Type Description
X509CertificateDetails

buildPartial()

public X509CertificateDetails buildPartial()
Returns
Type Description
X509CertificateDetails

clear()

public X509CertificateDetails.Builder clear()
Returns
Type Description
X509CertificateDetails.Builder
Overrides

clearExpiryTime()

public X509CertificateDetails.Builder clearExpiryTime()

The time the certificate becomes invalid.

.google.protobuf.Timestamp expiry_time = 4;

Returns
Type Description
X509CertificateDetails.Builder

clearField(Descriptors.FieldDescriptor field)

public X509CertificateDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
X509CertificateDetails.Builder
Overrides

clearIssuer()

public X509CertificateDetails.Builder clearIssuer()

The entity that signed the certificate.

string issuer = 1;

Returns
Type Description
X509CertificateDetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public X509CertificateDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
X509CertificateDetails.Builder
Overrides

clearPublicKeyType()

public X509CertificateDetails.Builder clearPublicKeyType()

The type of public key in the certificate.

string public_key_type = 6;

Returns
Type Description
X509CertificateDetails.Builder

This builder for chaining.

clearSignatureAlgorithm()

public X509CertificateDetails.Builder clearSignatureAlgorithm()

The algorithm used to sign the certificate.

string signature_algorithm = 5;

Returns
Type Description
X509CertificateDetails.Builder

This builder for chaining.

clearStartTime()

public X509CertificateDetails.Builder clearStartTime()

The time the certificate becomes valid.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
X509CertificateDetails.Builder

clearSubject()

public X509CertificateDetails.Builder clearSubject()

The entity the certificate and public key belong to.

string subject = 2;

Returns
Type Description
X509CertificateDetails.Builder

This builder for chaining.

clone()

public X509CertificateDetails.Builder clone()
Returns
Type Description
X509CertificateDetails.Builder
Overrides

getDefaultInstanceForType()

public X509CertificateDetails getDefaultInstanceForType()
Returns
Type Description
X509CertificateDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExpiryTime()

public Timestamp getExpiryTime()

The time the certificate becomes invalid.

.google.protobuf.Timestamp expiry_time = 4;

Returns
Type Description
Timestamp

The expiryTime.

getExpiryTimeBuilder()

public Timestamp.Builder getExpiryTimeBuilder()

The time the certificate becomes invalid.

.google.protobuf.Timestamp expiry_time = 4;

Returns
Type Description
Builder

getExpiryTimeOrBuilder()

public TimestampOrBuilder getExpiryTimeOrBuilder()

The time the certificate becomes invalid.

.google.protobuf.Timestamp expiry_time = 4;

Returns
Type Description
TimestampOrBuilder

getIssuer()

public String getIssuer()

The entity that signed the certificate.

string issuer = 1;

Returns
Type Description
String

The issuer.

getIssuerBytes()

public ByteString getIssuerBytes()

The entity that signed the certificate.

string issuer = 1;

Returns
Type Description
ByteString

The bytes for issuer.

getPublicKeyType()

public String getPublicKeyType()

The type of public key in the certificate.

string public_key_type = 6;

Returns
Type Description
String

The publicKeyType.

getPublicKeyTypeBytes()

public ByteString getPublicKeyTypeBytes()

The type of public key in the certificate.

string public_key_type = 6;

Returns
Type Description
ByteString

The bytes for publicKeyType.

getSignatureAlgorithm()

public String getSignatureAlgorithm()

The algorithm used to sign the certificate.

string signature_algorithm = 5;

Returns
Type Description
String

The signatureAlgorithm.

getSignatureAlgorithmBytes()

public ByteString getSignatureAlgorithmBytes()

The algorithm used to sign the certificate.

string signature_algorithm = 5;

Returns
Type Description
ByteString

The bytes for signatureAlgorithm.

getStartTime()

public Timestamp getStartTime()

The time the certificate becomes valid.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The time the certificate becomes valid.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time the certificate becomes valid.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
TimestampOrBuilder

getSubject()

public String getSubject()

The entity the certificate and public key belong to.

string subject = 2;

Returns
Type Description
String

The subject.

getSubjectBytes()

public ByteString getSubjectBytes()

The entity the certificate and public key belong to.

string subject = 2;

Returns
Type Description
ByteString

The bytes for subject.

hasExpiryTime()

public boolean hasExpiryTime()

The time the certificate becomes invalid.

.google.protobuf.Timestamp expiry_time = 4;

Returns
Type Description
boolean

Whether the expiryTime field is set.

hasStartTime()

public boolean hasStartTime()

The time the certificate becomes valid.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExpiryTime(Timestamp value)

public X509CertificateDetails.Builder mergeExpiryTime(Timestamp value)

The time the certificate becomes invalid.

.google.protobuf.Timestamp expiry_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
X509CertificateDetails.Builder

mergeFrom(X509CertificateDetails other)

public X509CertificateDetails.Builder mergeFrom(X509CertificateDetails other)
Parameter
Name Description
other X509CertificateDetails
Returns
Type Description
X509CertificateDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public X509CertificateDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
X509CertificateDetails.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public X509CertificateDetails.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
X509CertificateDetails.Builder
Overrides

mergeStartTime(Timestamp value)

public X509CertificateDetails.Builder mergeStartTime(Timestamp value)

The time the certificate becomes valid.

.google.protobuf.Timestamp start_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
X509CertificateDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final X509CertificateDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
X509CertificateDetails.Builder
Overrides

setExpiryTime(Timestamp value)

public X509CertificateDetails.Builder setExpiryTime(Timestamp value)

The time the certificate becomes invalid.

.google.protobuf.Timestamp expiry_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
X509CertificateDetails.Builder

setExpiryTime(Timestamp.Builder builderForValue)

public X509CertificateDetails.Builder setExpiryTime(Timestamp.Builder builderForValue)

The time the certificate becomes invalid.

.google.protobuf.Timestamp expiry_time = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
X509CertificateDetails.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public X509CertificateDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
X509CertificateDetails.Builder
Overrides

setIssuer(String value)

public X509CertificateDetails.Builder setIssuer(String value)

The entity that signed the certificate.

string issuer = 1;

Parameter
Name Description
value String

The issuer to set.

Returns
Type Description
X509CertificateDetails.Builder

This builder for chaining.

setIssuerBytes(ByteString value)

public X509CertificateDetails.Builder setIssuerBytes(ByteString value)

The entity that signed the certificate.

string issuer = 1;

Parameter
Name Description
value ByteString

The bytes for issuer to set.

Returns
Type Description
X509CertificateDetails.Builder

This builder for chaining.

setPublicKeyType(String value)

public X509CertificateDetails.Builder setPublicKeyType(String value)

The type of public key in the certificate.

string public_key_type = 6;

Parameter
Name Description
value String

The publicKeyType to set.

Returns
Type Description
X509CertificateDetails.Builder

This builder for chaining.

setPublicKeyTypeBytes(ByteString value)

public X509CertificateDetails.Builder setPublicKeyTypeBytes(ByteString value)

The type of public key in the certificate.

string public_key_type = 6;

Parameter
Name Description
value ByteString

The bytes for publicKeyType to set.

Returns
Type Description
X509CertificateDetails.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public X509CertificateDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
X509CertificateDetails.Builder
Overrides

setSignatureAlgorithm(String value)

public X509CertificateDetails.Builder setSignatureAlgorithm(String value)

The algorithm used to sign the certificate.

string signature_algorithm = 5;

Parameter
Name Description
value String

The signatureAlgorithm to set.

Returns
Type Description
X509CertificateDetails.Builder

This builder for chaining.

setSignatureAlgorithmBytes(ByteString value)

public X509CertificateDetails.Builder setSignatureAlgorithmBytes(ByteString value)

The algorithm used to sign the certificate.

string signature_algorithm = 5;

Parameter
Name Description
value ByteString

The bytes for signatureAlgorithm to set.

Returns
Type Description
X509CertificateDetails.Builder

This builder for chaining.

setStartTime(Timestamp value)

public X509CertificateDetails.Builder setStartTime(Timestamp value)

The time the certificate becomes valid.

.google.protobuf.Timestamp start_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
X509CertificateDetails.Builder

setStartTime(Timestamp.Builder builderForValue)

public X509CertificateDetails.Builder setStartTime(Timestamp.Builder builderForValue)

The time the certificate becomes valid.

.google.protobuf.Timestamp start_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
X509CertificateDetails.Builder

setSubject(String value)

public X509CertificateDetails.Builder setSubject(String value)

The entity the certificate and public key belong to.

string subject = 2;

Parameter
Name Description
value String

The subject to set.

Returns
Type Description
X509CertificateDetails.Builder

This builder for chaining.

setSubjectBytes(ByteString value)

public X509CertificateDetails.Builder setSubjectBytes(ByteString value)

The entity the certificate and public key belong to.

string subject = 2;

Parameter
Name Description
value ByteString

The bytes for subject to set.

Returns
Type Description
X509CertificateDetails.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final X509CertificateDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
X509CertificateDetails.Builder
Overrides