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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<X509CertificateDetails.Builder>
public X509CertificateDetails.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<X509CertificateDetails.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<X509CertificateDetails.Builder>
public X509CertificateDetails getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public X509CertificateDetails build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public X509CertificateDetails buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public X509CertificateDetails.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<X509CertificateDetails.Builder>
public X509CertificateDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<X509CertificateDetails.Builder>
public X509CertificateDetails.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<X509CertificateDetails.Builder>
public X509CertificateDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<X509CertificateDetails.Builder>
public X509CertificateDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<X509CertificateDetails.Builder>
public X509CertificateDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<X509CertificateDetails.Builder>
public X509CertificateDetails.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<X509CertificateDetails.Builder>
public X509CertificateDetails.Builder mergeFrom(X509CertificateDetails other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<X509CertificateDetails.Builder>
public X509CertificateDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<X509CertificateDetails.Builder>
IOException
public String getIssuer()
The entity that signed the certificate.
string issuer = 1;
getIssuer
in interface X509CertificateDetailsOrBuilder
public ByteString getIssuerBytes()
The entity that signed the certificate.
string issuer = 1;
getIssuerBytes
in interface X509CertificateDetailsOrBuilder
public X509CertificateDetails.Builder setIssuer(String value)
The entity that signed the certificate.
string issuer = 1;
value
- The issuer to set.public X509CertificateDetails.Builder clearIssuer()
The entity that signed the certificate.
string issuer = 1;
public X509CertificateDetails.Builder setIssuerBytes(ByteString value)
The entity that signed the certificate.
string issuer = 1;
value
- The bytes for issuer to set.public String getSubject()
The entity the certificate and public key belong to.
string subject = 2;
getSubject
in interface X509CertificateDetailsOrBuilder
public ByteString getSubjectBytes()
The entity the certificate and public key belong to.
string subject = 2;
getSubjectBytes
in interface X509CertificateDetailsOrBuilder
public X509CertificateDetails.Builder setSubject(String value)
The entity the certificate and public key belong to.
string subject = 2;
value
- The subject to set.public X509CertificateDetails.Builder clearSubject()
The entity the certificate and public key belong to.
string subject = 2;
public X509CertificateDetails.Builder setSubjectBytes(ByteString value)
The entity the certificate and public key belong to.
string subject = 2;
value
- The bytes for subject to set.public boolean hasStartTime()
The time the certificate becomes valid.
.google.protobuf.Timestamp start_time = 3;
hasStartTime
in interface X509CertificateDetailsOrBuilder
public Timestamp getStartTime()
The time the certificate becomes valid.
.google.protobuf.Timestamp start_time = 3;
getStartTime
in interface X509CertificateDetailsOrBuilder
public X509CertificateDetails.Builder setStartTime(Timestamp value)
The time the certificate becomes valid.
.google.protobuf.Timestamp start_time = 3;
public X509CertificateDetails.Builder setStartTime(Timestamp.Builder builderForValue)
The time the certificate becomes valid.
.google.protobuf.Timestamp start_time = 3;
public X509CertificateDetails.Builder mergeStartTime(Timestamp value)
The time the certificate becomes valid.
.google.protobuf.Timestamp start_time = 3;
public X509CertificateDetails.Builder clearStartTime()
The time the certificate becomes valid.
.google.protobuf.Timestamp start_time = 3;
public Timestamp.Builder getStartTimeBuilder()
The time the certificate becomes valid.
.google.protobuf.Timestamp start_time = 3;
public TimestampOrBuilder getStartTimeOrBuilder()
The time the certificate becomes valid.
.google.protobuf.Timestamp start_time = 3;
getStartTimeOrBuilder
in interface X509CertificateDetailsOrBuilder
public boolean hasExpiryTime()
The time the certificate becomes invalid.
.google.protobuf.Timestamp expiry_time = 4;
hasExpiryTime
in interface X509CertificateDetailsOrBuilder
public Timestamp getExpiryTime()
The time the certificate becomes invalid.
.google.protobuf.Timestamp expiry_time = 4;
getExpiryTime
in interface X509CertificateDetailsOrBuilder
public X509CertificateDetails.Builder setExpiryTime(Timestamp value)
The time the certificate becomes invalid.
.google.protobuf.Timestamp expiry_time = 4;
public X509CertificateDetails.Builder setExpiryTime(Timestamp.Builder builderForValue)
The time the certificate becomes invalid.
.google.protobuf.Timestamp expiry_time = 4;
public X509CertificateDetails.Builder mergeExpiryTime(Timestamp value)
The time the certificate becomes invalid.
.google.protobuf.Timestamp expiry_time = 4;
public X509CertificateDetails.Builder clearExpiryTime()
The time the certificate becomes invalid.
.google.protobuf.Timestamp expiry_time = 4;
public Timestamp.Builder getExpiryTimeBuilder()
The time the certificate becomes invalid.
.google.protobuf.Timestamp expiry_time = 4;
public TimestampOrBuilder getExpiryTimeOrBuilder()
The time the certificate becomes invalid.
.google.protobuf.Timestamp expiry_time = 4;
getExpiryTimeOrBuilder
in interface X509CertificateDetailsOrBuilder
public String getSignatureAlgorithm()
The algorithm used to sign the certificate.
string signature_algorithm = 5;
getSignatureAlgorithm
in interface X509CertificateDetailsOrBuilder
public ByteString getSignatureAlgorithmBytes()
The algorithm used to sign the certificate.
string signature_algorithm = 5;
getSignatureAlgorithmBytes
in interface X509CertificateDetailsOrBuilder
public X509CertificateDetails.Builder setSignatureAlgorithm(String value)
The algorithm used to sign the certificate.
string signature_algorithm = 5;
value
- The signatureAlgorithm to set.public X509CertificateDetails.Builder clearSignatureAlgorithm()
The algorithm used to sign the certificate.
string signature_algorithm = 5;
public X509CertificateDetails.Builder setSignatureAlgorithmBytes(ByteString value)
The algorithm used to sign the certificate.
string signature_algorithm = 5;
value
- The bytes for signatureAlgorithm to set.public String getPublicKeyType()
The type of public key in the certificate.
string public_key_type = 6;
getPublicKeyType
in interface X509CertificateDetailsOrBuilder
public ByteString getPublicKeyTypeBytes()
The type of public key in the certificate.
string public_key_type = 6;
getPublicKeyTypeBytes
in interface X509CertificateDetailsOrBuilder
public X509CertificateDetails.Builder setPublicKeyType(String value)
The type of public key in the certificate.
string public_key_type = 6;
value
- The publicKeyType to set.public X509CertificateDetails.Builder clearPublicKeyType()
The type of public key in the certificate.
string public_key_type = 6;
public X509CertificateDetails.Builder setPublicKeyTypeBytes(ByteString value)
The type of public key in the certificate.
string public_key_type = 6;
value
- The bytes for publicKeyType to set.public final X509CertificateDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<X509CertificateDetails.Builder>
public final X509CertificateDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<X509CertificateDetails.Builder>
Copyright © 2022 Google LLC. All rights reserved.