- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 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 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
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.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.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 |
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.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.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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final RegistryCredential.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RegistryCredential.Builder |