- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.6
- 2.2.1
- 2.1.7
public static final class PublicKeyCertificate.Builder extends GeneratedMessageV3.Builder<PublicKeyCertificate.Builder> implements PublicKeyCertificateOrBuilder
A public key certificate format and data.
Protobuf type google.cloud.iot.v1.PublicKeyCertificate
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PublicKeyCertificate.BuilderImplements
PublicKeyCertificateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PublicKeyCertificate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PublicKeyCertificate.Builder |
build()
public PublicKeyCertificate build()
Type | Description |
PublicKeyCertificate |
buildPartial()
public PublicKeyCertificate buildPartial()
Type | Description |
PublicKeyCertificate |
clear()
public PublicKeyCertificate.Builder clear()
Type | Description |
PublicKeyCertificate.Builder |
clearCertificate()
public PublicKeyCertificate.Builder clearCertificate()
The certificate data.
string certificate = 2;
Type | Description |
PublicKeyCertificate.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PublicKeyCertificate.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
PublicKeyCertificate.Builder |
clearFormat()
public PublicKeyCertificate.Builder clearFormat()
The certificate format.
.google.cloud.iot.v1.PublicKeyCertificateFormat format = 1;
Type | Description |
PublicKeyCertificate.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PublicKeyCertificate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
PublicKeyCertificate.Builder |
clearX509Details()
public PublicKeyCertificate.Builder clearX509Details()
[Output only] The certificate details. Used only for X.509 certificates.
.google.cloud.iot.v1.X509CertificateDetails x509_details = 3;
Type | Description |
PublicKeyCertificate.Builder |
clone()
public PublicKeyCertificate.Builder clone()
Type | Description |
PublicKeyCertificate.Builder |
getCertificate()
public String getCertificate()
The certificate data.
string certificate = 2;
Type | Description |
String | The certificate. |
getCertificateBytes()
public ByteString getCertificateBytes()
The certificate data.
string certificate = 2;
Type | Description |
ByteString | The bytes for certificate. |
getDefaultInstanceForType()
public PublicKeyCertificate getDefaultInstanceForType()
Type | Description |
PublicKeyCertificate |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getFormat()
public PublicKeyCertificateFormat getFormat()
The certificate format.
.google.cloud.iot.v1.PublicKeyCertificateFormat format = 1;
Type | Description |
PublicKeyCertificateFormat | The format. |
getFormatValue()
public int getFormatValue()
The certificate format.
.google.cloud.iot.v1.PublicKeyCertificateFormat format = 1;
Type | Description |
int | The enum numeric value on the wire for format. |
getX509Details()
public X509CertificateDetails getX509Details()
[Output only] The certificate details. Used only for X.509 certificates.
.google.cloud.iot.v1.X509CertificateDetails x509_details = 3;
Type | Description |
X509CertificateDetails | The x509Details. |
getX509DetailsBuilder()
public X509CertificateDetails.Builder getX509DetailsBuilder()
[Output only] The certificate details. Used only for X.509 certificates.
.google.cloud.iot.v1.X509CertificateDetails x509_details = 3;
Type | Description |
X509CertificateDetails.Builder |
getX509DetailsOrBuilder()
public X509CertificateDetailsOrBuilder getX509DetailsOrBuilder()
[Output only] The certificate details. Used only for X.509 certificates.
.google.cloud.iot.v1.X509CertificateDetails x509_details = 3;
Type | Description |
X509CertificateDetailsOrBuilder |
hasX509Details()
public boolean hasX509Details()
[Output only] The certificate details. Used only for X.509 certificates.
.google.cloud.iot.v1.X509CertificateDetails x509_details = 3;
Type | Description |
boolean | Whether the x509Details field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(PublicKeyCertificate other)
public PublicKeyCertificate.Builder mergeFrom(PublicKeyCertificate other)
Name | Description |
other | PublicKeyCertificate |
Type | Description |
PublicKeyCertificate.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PublicKeyCertificate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PublicKeyCertificate.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public PublicKeyCertificate.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
PublicKeyCertificate.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PublicKeyCertificate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PublicKeyCertificate.Builder |
mergeX509Details(X509CertificateDetails value)
public PublicKeyCertificate.Builder mergeX509Details(X509CertificateDetails value)
[Output only] The certificate details. Used only for X.509 certificates.
.google.cloud.iot.v1.X509CertificateDetails x509_details = 3;
Name | Description |
value | X509CertificateDetails |
Type | Description |
PublicKeyCertificate.Builder |
setCertificate(String value)
public PublicKeyCertificate.Builder setCertificate(String value)
The certificate data.
string certificate = 2;
Name | Description |
value | String The certificate to set. |
Type | Description |
PublicKeyCertificate.Builder | This builder for chaining. |
setCertificateBytes(ByteString value)
public PublicKeyCertificate.Builder setCertificateBytes(ByteString value)
The certificate data.
string certificate = 2;
Name | Description |
value | ByteString The bytes for certificate to set. |
Type | Description |
PublicKeyCertificate.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PublicKeyCertificate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PublicKeyCertificate.Builder |
setFormat(PublicKeyCertificateFormat value)
public PublicKeyCertificate.Builder setFormat(PublicKeyCertificateFormat value)
The certificate format.
.google.cloud.iot.v1.PublicKeyCertificateFormat format = 1;
Name | Description |
value | PublicKeyCertificateFormat The format to set. |
Type | Description |
PublicKeyCertificate.Builder | This builder for chaining. |
setFormatValue(int value)
public PublicKeyCertificate.Builder setFormatValue(int value)
The certificate format.
.google.cloud.iot.v1.PublicKeyCertificateFormat format = 1;
Name | Description |
value | int The enum numeric value on the wire for format to set. |
Type | Description |
PublicKeyCertificate.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PublicKeyCertificate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
PublicKeyCertificate.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PublicKeyCertificate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PublicKeyCertificate.Builder |
setX509Details(X509CertificateDetails value)
public PublicKeyCertificate.Builder setX509Details(X509CertificateDetails value)
[Output only] The certificate details. Used only for X.509 certificates.
.google.cloud.iot.v1.X509CertificateDetails x509_details = 3;
Name | Description |
value | X509CertificateDetails |
Type | Description |
PublicKeyCertificate.Builder |
setX509Details(X509CertificateDetails.Builder builderForValue)
public PublicKeyCertificate.Builder setX509Details(X509CertificateDetails.Builder builderForValue)
[Output only] The certificate details. Used only for X.509 certificates.
.google.cloud.iot.v1.X509CertificateDetails x509_details = 3;
Name | Description |
builderForValue | X509CertificateDetails.Builder |
Type | Description |
PublicKeyCertificate.Builder |