public static final class CertificateDescription.KeyId extends GeneratedMessageV3 implements CertificateDescription.KeyIdOrBuilder
A KeyId identifies a specific public key, usually by hashing the public
key.
Protobuf type google.cloud.security.privateca.v1.CertificateDescription.KeyId
Static Fields
KEY_ID_FIELD_NUMBER
public static final int KEY_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CertificateDescription.KeyId getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CertificateDescription.KeyId.Builder newBuilder()
Returns
newBuilder(CertificateDescription.KeyId prototype)
public static CertificateDescription.KeyId.Builder newBuilder(CertificateDescription.KeyId prototype)
Parameter
Returns
public static CertificateDescription.KeyId parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CertificateDescription.KeyId parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CertificateDescription.KeyId parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CertificateDescription.KeyId parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CertificateDescription.KeyId parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CertificateDescription.KeyId parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CertificateDescription.KeyId parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CertificateDescription.KeyId parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CertificateDescription.KeyId parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CertificateDescription.KeyId parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CertificateDescription.KeyId parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CertificateDescription.KeyId parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CertificateDescription.KeyId> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CertificateDescription.KeyId getDefaultInstanceForType()
Returns
getKeyId()
Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most
likely the 160 bit SHA-1 hash of the public key.
string key_id = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
String | The keyId.
|
getKeyIdBytes()
public ByteString getKeyIdBytes()
Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most
likely the 160 bit SHA-1 hash of the public key.
string key_id = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
getParserForType()
public Parser<CertificateDescription.KeyId> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CertificateDescription.KeyId.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CertificateDescription.KeyId.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CertificateDescription.KeyId.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions