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.events.cloud.iot.v1.RegistryCredential
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RegistryCredential.BuilderImplements
RegistryCredentialOrBuilderStatic 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 |
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 |
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 |
clearOneof(Descriptors.OneofDescriptor oneof)
public RegistryCredential.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
RegistryCredential.Builder |
clearPublicKeyCertificate()
public RegistryCredential.Builder clearPublicKeyCertificate()
A public key certificate used to verify the device credentials.
.google.events.cloud.iot.v1.PublicKeyCertificate public_key_certificate = 1;
Returns | |
---|---|
Type | Description |
RegistryCredential.Builder |
clone()
public RegistryCredential.Builder clone()
Returns | |
---|---|
Type | Description |
RegistryCredential.Builder |
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 |
getPublicKeyCertificate()
public PublicKeyCertificate getPublicKeyCertificate()
A public key certificate used to verify the device credentials.
.google.events.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.events.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.events.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.events.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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RegistryCredential.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
RegistryCredential.Builder |
mergePublicKeyCertificate(PublicKeyCertificate value)
public RegistryCredential.Builder mergePublicKeyCertificate(PublicKeyCertificate value)
A public key certificate used to verify the device credentials.
.google.events.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 |
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 |
setPublicKeyCertificate(PublicKeyCertificate value)
public RegistryCredential.Builder setPublicKeyCertificate(PublicKeyCertificate value)
A public key certificate used to verify the device credentials.
.google.events.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.events.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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final RegistryCredential.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RegistryCredential.Builder |