public final class SignatureInfo extends GeneratedMessageV3 implements SignatureInfoOrBuilder
Information about the digital signature of the resource.
Protobuf type google.cloud.accessapproval.v1.SignatureInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
CUSTOMER_KMS_KEY_VERSION_FIELD_NUMBER
public static final int CUSTOMER_KMS_KEY_VERSION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
GOOGLE_PUBLIC_KEY_PEM_FIELD_NUMBER
public static final int GOOGLE_PUBLIC_KEY_PEM_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SIGNATURE_FIELD_NUMBER
public static final int SIGNATURE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static SignatureInfo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SignatureInfo.Builder newBuilder()
newBuilder(SignatureInfo prototype)
public static SignatureInfo.Builder newBuilder(SignatureInfo prototype)
public static SignatureInfo parseDelimitedFrom(InputStream input)
public static SignatureInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SignatureInfo parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SignatureInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SignatureInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SignatureInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SignatureInfo parseFrom(CodedInputStream input)
public static SignatureInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SignatureInfo parseFrom(InputStream input)
public static SignatureInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SignatureInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SignatureInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SignatureInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCustomerKmsKeyVersion()
public String getCustomerKmsKeyVersion()
The resource name of the customer CryptoKeyVersion used for signing.
string customer_kms_key_version = 3;
Returns |
---|
Type | Description |
String | The customerKmsKeyVersion.
|
getCustomerKmsKeyVersionBytes()
public ByteString getCustomerKmsKeyVersionBytes()
The resource name of the customer CryptoKeyVersion used for signing.
string customer_kms_key_version = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for customerKmsKeyVersion.
|
getDefaultInstanceForType()
public SignatureInfo getDefaultInstanceForType()
getGooglePublicKeyPem()
public String getGooglePublicKeyPem()
The public key for the Google default signing, encoded in PEM format. The
signature was created using a private key which may be verified using
this public key.
string google_public_key_pem = 2;
Returns |
---|
Type | Description |
String | The googlePublicKeyPem.
|
getGooglePublicKeyPemBytes()
public ByteString getGooglePublicKeyPemBytes()
The public key for the Google default signing, encoded in PEM format. The
signature was created using a private key which may be verified using
this public key.
string google_public_key_pem = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for googlePublicKeyPem.
|
getParserForType()
public Parser<SignatureInfo> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSignature()
public ByteString getSignature()
The digital signature.
bytes signature = 1;
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
getVerificationInfoCase()
public SignatureInfo.VerificationInfoCase getVerificationInfoCase()
hasCustomerKmsKeyVersion()
public boolean hasCustomerKmsKeyVersion()
The resource name of the customer CryptoKeyVersion used for signing.
string customer_kms_key_version = 3;
Returns |
---|
Type | Description |
boolean | Whether the customerKmsKeyVersion field is set.
|
hasGooglePublicKeyPem()
public boolean hasGooglePublicKeyPem()
The public key for the Google default signing, encoded in PEM format. The
signature was created using a private key which may be verified using
this public key.
string google_public_key_pem = 2;
Returns |
---|
Type | Description |
boolean | Whether the googlePublicKeyPem field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SignatureInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SignatureInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SignatureInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides