public static final class RegistryCredential.Builder extends GeneratedMessageV3.Builder<RegistryCredential.Builder> implements RegistryCredentialOrBuilder
A server-stored registry credential used to validate device credentials.
Protobuf type google.cloud.iot.v1.RegistryCredential
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RegistryCredential.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RegistryCredential build()
buildPartial()
public RegistryCredential buildPartial()
clear()
public RegistryCredential.Builder clear()
Overrides
clearCredential()
public RegistryCredential.Builder clearCredential()
clearField(Descriptors.FieldDescriptor field)
public RegistryCredential.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RegistryCredential.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPublicKeyCertificate()
public RegistryCredential.Builder clearPublicKeyCertificate()
A public key certificate used to verify the device credentials.
.google.cloud.iot.v1.PublicKeyCertificate public_key_certificate = 1;
clone()
public RegistryCredential.Builder clone()
Overrides
getCredentialCase()
public RegistryCredential.CredentialCase getCredentialCase()
getDefaultInstanceForType()
public RegistryCredential getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPublicKeyCertificate()
public PublicKeyCertificate getPublicKeyCertificate()
A public key certificate used to verify the device credentials.
.google.cloud.iot.v1.PublicKeyCertificate public_key_certificate = 1;
getPublicKeyCertificateBuilder()
public PublicKeyCertificate.Builder getPublicKeyCertificateBuilder()
A public key certificate used to verify the device credentials.
.google.cloud.iot.v1.PublicKeyCertificate public_key_certificate = 1;
getPublicKeyCertificateOrBuilder()
public PublicKeyCertificateOrBuilder getPublicKeyCertificateOrBuilder()
A public key certificate used to verify the device credentials.
.google.cloud.iot.v1.PublicKeyCertificate public_key_certificate = 1;
hasPublicKeyCertificate()
public boolean hasPublicKeyCertificate()
A public key certificate used to verify the device credentials.
.google.cloud.iot.v1.PublicKeyCertificate public_key_certificate = 1;
Returns |
Type |
Description |
boolean |
Whether the publicKeyCertificate field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RegistryCredential other)
public RegistryCredential.Builder mergeFrom(RegistryCredential other)
public RegistryCredential.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RegistryCredential.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergePublicKeyCertificate(PublicKeyCertificate value)
public RegistryCredential.Builder mergePublicKeyCertificate(PublicKeyCertificate value)
A public key certificate used to verify the device credentials.
.google.cloud.iot.v1.PublicKeyCertificate public_key_certificate = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RegistryCredential.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RegistryCredential.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPublicKeyCertificate(PublicKeyCertificate value)
public RegistryCredential.Builder setPublicKeyCertificate(PublicKeyCertificate value)
A public key certificate used to verify the device credentials.
.google.cloud.iot.v1.PublicKeyCertificate public_key_certificate = 1;
setPublicKeyCertificate(PublicKeyCertificate.Builder builderForValue)
public RegistryCredential.Builder setPublicKeyCertificate(PublicKeyCertificate.Builder builderForValue)
A public key certificate used to verify the device credentials.
.google.cloud.iot.v1.PublicKeyCertificate public_key_certificate = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RegistryCredential.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RegistryCredential.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides