Class RegistryCredential.Builder (2.43.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RegistryCredential build()
Returns
Type Description
RegistryCredential

buildPartial()

public RegistryCredential buildPartial()
Returns
Type Description
RegistryCredential

clear()

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

clearCredential()

public RegistryCredential.Builder clearCredential()
Returns
Type Description
RegistryCredential.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public RegistryCredential.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RegistryCredential.Builder
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;

Returns
Type Description
RegistryCredential.Builder

clone()

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

getCredentialCase()

public RegistryCredential.CredentialCase getCredentialCase()
Returns
Type Description
RegistryCredential.CredentialCase

getDefaultInstanceForType()

public RegistryCredential getDefaultInstanceForType()
Returns
Type Description
RegistryCredential

getDescriptorForType()

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

getPublicKeyCertificate()

public PublicKeyCertificate getPublicKeyCertificate()

A public key certificate used to verify the device credentials.

.google.cloud.iot.v1.PublicKeyCertificate public_key_certificate = 1;

Returns
Type Description
PublicKeyCertificate

The publicKeyCertificate.

getPublicKeyCertificateBuilder()

public PublicKeyCertificate.Builder getPublicKeyCertificateBuilder()

A public key certificate used to verify the device credentials.

.google.cloud.iot.v1.PublicKeyCertificate public_key_certificate = 1;

Returns
Type Description
PublicKeyCertificate.Builder

getPublicKeyCertificateOrBuilder()

public PublicKeyCertificateOrBuilder getPublicKeyCertificateOrBuilder()

A public key certificate used to verify the device credentials.

.google.cloud.iot.v1.PublicKeyCertificate public_key_certificate = 1;

Returns
Type Description
PublicKeyCertificateOrBuilder

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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RegistryCredential other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public RegistryCredential.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RegistryCredential.Builder
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;

Parameter
Name Description
value PublicKeyCertificate
Returns
Type Description
RegistryCredential.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public RegistryCredential.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RegistryCredential.Builder
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;

Parameter
Name Description
value PublicKeyCertificate
Returns
Type Description
RegistryCredential.Builder

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;

Parameter
Name Description
builderForValue PublicKeyCertificate.Builder
Returns
Type Description
RegistryCredential.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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