public final class RegistryCredential extends GeneratedMessageV3 implements RegistryCredentialOrBuilder
A server-stored registry credential used to validate device credentials.
Protobuf type google.cloud.iot.v1.RegistryCredential
Static Fields
PUBLIC_KEY_CERTIFICATE_FIELD_NUMBER
public static final int PUBLIC_KEY_CERTIFICATE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static RegistryCredential getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static RegistryCredential.Builder newBuilder()
Returns
newBuilder(RegistryCredential prototype)
public static RegistryCredential.Builder newBuilder(RegistryCredential prototype)
Parameter
Returns
public static RegistryCredential parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static RegistryCredential parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static RegistryCredential parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RegistryCredential parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static RegistryCredential parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RegistryCredential parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RegistryCredential parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static RegistryCredential parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RegistryCredential parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static RegistryCredential parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static RegistryCredential parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RegistryCredential parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<RegistryCredential> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCredentialCase()
public RegistryCredential.CredentialCase getCredentialCase()
Returns
getDefaultInstanceForType()
public RegistryCredential getDefaultInstanceForType()
Returns
getParserForType()
public Parser<RegistryCredential> getParserForType()
Returns
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
getPublicKeyCertificateOrBuilder()
public PublicKeyCertificateOrBuilder getPublicKeyCertificateOrBuilder()
A public key certificate used to verify the device credentials.
.google.cloud.iot.v1.PublicKeyCertificate public_key_certificate = 1;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public RegistryCredential.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RegistryCredential.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public RegistryCredential.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions