public static final class SignatureInfo.Builder extends GeneratedMessage.Builder<SignatureInfo.Builder> implements SignatureInfoOrBuilderInformation about the digital signature of the resource.
Protobuf type google.cloud.accessapproval.v1.SignatureInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SignatureInfo.BuilderImplements
SignatureInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SignatureInfo build()| Returns | |
|---|---|
| Type | Description |
SignatureInfo |
|
buildPartial()
public SignatureInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
SignatureInfo |
|
clear()
public SignatureInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
SignatureInfo.Builder |
|
clearCustomerKmsKeyVersion()
public SignatureInfo.Builder clearCustomerKmsKeyVersion()The resource name of the customer CryptoKeyVersion used for signing.
string customer_kms_key_version = 3;
| Returns | |
|---|---|
| Type | Description |
SignatureInfo.Builder |
This builder for chaining. |
clearGooglePublicKeyPem()
public SignatureInfo.Builder clearGooglePublicKeyPem()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 |
SignatureInfo.Builder |
This builder for chaining. |
clearSignature()
public SignatureInfo.Builder clearSignature()The digital signature.
bytes signature = 1;
| Returns | |
|---|---|
| Type | Description |
SignatureInfo.Builder |
This builder for chaining. |
clearVerificationInfo()
public SignatureInfo.Builder clearVerificationInfo()| Returns | |
|---|---|
| Type | Description |
SignatureInfo.Builder |
|
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()| Returns | |
|---|---|
| Type | Description |
SignatureInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getSignature()
public ByteString getSignature()The digital signature.
bytes signature = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The signature. |
getVerificationInfoCase()
public SignatureInfo.VerificationInfoCase getVerificationInfoCase()| Returns | |
|---|---|
| Type | Description |
SignatureInfo.VerificationInfoCase |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SignatureInfo other)
public SignatureInfo.Builder mergeFrom(SignatureInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
SignatureInfo |
| Returns | |
|---|---|
| Type | Description |
SignatureInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SignatureInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SignatureInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SignatureInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SignatureInfo.Builder |
|
setCustomerKmsKeyVersion(String value)
public SignatureInfo.Builder setCustomerKmsKeyVersion(String value)The resource name of the customer CryptoKeyVersion used for signing.
string customer_kms_key_version = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe customerKmsKeyVersion to set. |
| Returns | |
|---|---|
| Type | Description |
SignatureInfo.Builder |
This builder for chaining. |
setCustomerKmsKeyVersionBytes(ByteString value)
public SignatureInfo.Builder setCustomerKmsKeyVersionBytes(ByteString value)The resource name of the customer CryptoKeyVersion used for signing.
string customer_kms_key_version = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for customerKmsKeyVersion to set. |
| Returns | |
|---|---|
| Type | Description |
SignatureInfo.Builder |
This builder for chaining. |
setGooglePublicKeyPem(String value)
public SignatureInfo.Builder setGooglePublicKeyPem(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe googlePublicKeyPem to set. |
| Returns | |
|---|---|
| Type | Description |
SignatureInfo.Builder |
This builder for chaining. |
setGooglePublicKeyPemBytes(ByteString value)
public SignatureInfo.Builder setGooglePublicKeyPemBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for googlePublicKeyPem to set. |
| Returns | |
|---|---|
| Type | Description |
SignatureInfo.Builder |
This builder for chaining. |
setSignature(ByteString value)
public SignatureInfo.Builder setSignature(ByteString value)The digital signature.
bytes signature = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe signature to set. |
| Returns | |
|---|---|
| Type | Description |
SignatureInfo.Builder |
This builder for chaining. |