Class X509CertificateDetails.Builder (2.12.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public X509CertificateDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
X509CertificateDetails.Builder
Overrides

build()

public X509CertificateDetails build()
Returns
TypeDescription
X509CertificateDetails

buildPartial()

public X509CertificateDetails buildPartial()
Returns
TypeDescription
X509CertificateDetails

clear()

public X509CertificateDetails.Builder clear()
Returns
TypeDescription
X509CertificateDetails.Builder
Overrides

clearExpiryTime()

public X509CertificateDetails.Builder clearExpiryTime()

The time the certificate becomes invalid.

.google.protobuf.Timestamp expiry_time = 4;

Returns
TypeDescription
X509CertificateDetails.Builder

clearField(Descriptors.FieldDescriptor field)

public X509CertificateDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
X509CertificateDetails.Builder
Overrides

clearIssuer()

public X509CertificateDetails.Builder clearIssuer()

The entity that signed the certificate.

string issuer = 1;

Returns
TypeDescription
X509CertificateDetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public X509CertificateDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
X509CertificateDetails.Builder
Overrides

clearPublicKeyType()

public X509CertificateDetails.Builder clearPublicKeyType()

The type of public key in the certificate.

string public_key_type = 6;

Returns
TypeDescription
X509CertificateDetails.Builder

This builder for chaining.

clearSignatureAlgorithm()

public X509CertificateDetails.Builder clearSignatureAlgorithm()

The algorithm used to sign the certificate.

string signature_algorithm = 5;

Returns
TypeDescription
X509CertificateDetails.Builder

This builder for chaining.

clearStartTime()

public X509CertificateDetails.Builder clearStartTime()

The time the certificate becomes valid.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
X509CertificateDetails.Builder

clearSubject()

public X509CertificateDetails.Builder clearSubject()

The entity the certificate and public key belong to.

string subject = 2;

Returns
TypeDescription
X509CertificateDetails.Builder

This builder for chaining.

clone()

public X509CertificateDetails.Builder clone()
Returns
TypeDescription
X509CertificateDetails.Builder
Overrides

getDefaultInstanceForType()

public X509CertificateDetails getDefaultInstanceForType()
Returns
TypeDescription
X509CertificateDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExpiryTime()

public Timestamp getExpiryTime()

The time the certificate becomes invalid.

.google.protobuf.Timestamp expiry_time = 4;

Returns
TypeDescription
Timestamp

The expiryTime.

getExpiryTimeBuilder()

public Timestamp.Builder getExpiryTimeBuilder()

The time the certificate becomes invalid.

.google.protobuf.Timestamp expiry_time = 4;

Returns
TypeDescription
Builder

getExpiryTimeOrBuilder()

public TimestampOrBuilder getExpiryTimeOrBuilder()

The time the certificate becomes invalid.

.google.protobuf.Timestamp expiry_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getIssuer()

public String getIssuer()

The entity that signed the certificate.

string issuer = 1;

Returns
TypeDescription
String

The issuer.

getIssuerBytes()

public ByteString getIssuerBytes()

The entity that signed the certificate.

string issuer = 1;

Returns
TypeDescription
ByteString

The bytes for issuer.

getPublicKeyType()

public String getPublicKeyType()

The type of public key in the certificate.

string public_key_type = 6;

Returns
TypeDescription
String

The publicKeyType.

getPublicKeyTypeBytes()

public ByteString getPublicKeyTypeBytes()

The type of public key in the certificate.

string public_key_type = 6;

Returns
TypeDescription
ByteString

The bytes for publicKeyType.

getSignatureAlgorithm()

public String getSignatureAlgorithm()

The algorithm used to sign the certificate.

string signature_algorithm = 5;

Returns
TypeDescription
String

The signatureAlgorithm.

getSignatureAlgorithmBytes()

public ByteString getSignatureAlgorithmBytes()

The algorithm used to sign the certificate.

string signature_algorithm = 5;

Returns
TypeDescription
ByteString

The bytes for signatureAlgorithm.

getStartTime()

public Timestamp getStartTime()

The time the certificate becomes valid.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The time the certificate becomes valid.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time the certificate becomes valid.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getSubject()

public String getSubject()

The entity the certificate and public key belong to.

string subject = 2;

Returns
TypeDescription
String

The subject.

getSubjectBytes()

public ByteString getSubjectBytes()

The entity the certificate and public key belong to.

string subject = 2;

Returns
TypeDescription
ByteString

The bytes for subject.

hasExpiryTime()

public boolean hasExpiryTime()

The time the certificate becomes invalid.

.google.protobuf.Timestamp expiry_time = 4;

Returns
TypeDescription
boolean

Whether the expiryTime field is set.

hasStartTime()

public boolean hasStartTime()

The time the certificate becomes valid.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeExpiryTime(Timestamp value)

public X509CertificateDetails.Builder mergeExpiryTime(Timestamp value)

The time the certificate becomes invalid.

.google.protobuf.Timestamp expiry_time = 4;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
X509CertificateDetails.Builder

mergeFrom(X509CertificateDetails other)

public X509CertificateDetails.Builder mergeFrom(X509CertificateDetails other)
Parameter
NameDescription
otherX509CertificateDetails
Returns
TypeDescription
X509CertificateDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public X509CertificateDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
X509CertificateDetails.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public X509CertificateDetails.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
X509CertificateDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final X509CertificateDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
X509CertificateDetails.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public X509CertificateDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
X509CertificateDetails.Builder
Overrides

setIssuer(String value)

public X509CertificateDetails.Builder setIssuer(String value)

The entity that signed the certificate.

string issuer = 1;

Parameter
NameDescription
valueString

The issuer to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for issuer to set.

Returns
TypeDescription
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
NameDescription
valueString

The publicKeyType to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for publicKeyType to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
X509CertificateDetails.Builder
Overrides

setSignatureAlgorithm(String value)

public X509CertificateDetails.Builder setSignatureAlgorithm(String value)

The algorithm used to sign the certificate.

string signature_algorithm = 5;

Parameter
NameDescription
valueString

The signatureAlgorithm to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for signatureAlgorithm to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
X509CertificateDetails.Builder

setSubject(String value)

public X509CertificateDetails.Builder setSubject(String value)

The entity the certificate and public key belong to.

string subject = 2;

Parameter
NameDescription
valueString

The subject to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for subject to set.

Returns
TypeDescription
X509CertificateDetails.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final X509CertificateDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
X509CertificateDetails.Builder
Overrides