public static final class SignatureInfo.Builder extends GeneratedMessageV3.Builder<SignatureInfo.Builder> implements SignatureInfoOrBuilderInformation about the digital signature of the resource.
Protobuf type google.cloud.accessapproval.v1.SignatureInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SignatureInfo.BuilderImplements
SignatureInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SignatureInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| SignatureInfo.Builder |
build()
public SignatureInfo build()| Type | Description |
| SignatureInfo |
buildPartial()
public SignatureInfo buildPartial()| Type | Description |
| SignatureInfo |
clear()
public SignatureInfo.Builder clear()| 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;
| Type | Description |
| SignatureInfo.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SignatureInfo.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| SignatureInfo.Builder |
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;
| Type | Description |
| SignatureInfo.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SignatureInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| SignatureInfo.Builder |
clearSignature()
public SignatureInfo.Builder clearSignature()The digital signature.
bytes signature = 1;
| Type | Description |
| SignatureInfo.Builder | This builder for chaining. |
clearVerificationInfo()
public SignatureInfo.Builder clearVerificationInfo()| Type | Description |
| SignatureInfo.Builder |
clone()
public SignatureInfo.Builder clone()| Type | Description |
| SignatureInfo.Builder |
getCustomerKmsKeyVersion()
public String getCustomerKmsKeyVersion()The resource name of the customer CryptoKeyVersion used for signing.
string customer_kms_key_version = 3;
| 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;
| Type | Description |
| ByteString | The bytes for customerKmsKeyVersion. |
getDefaultInstanceForType()
public SignatureInfo getDefaultInstanceForType()| Type | Description |
| SignatureInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| 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;
| 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;
| Type | Description |
| ByteString | The bytes for googlePublicKeyPem. |
getSignature()
public ByteString getSignature()The digital signature.
bytes signature = 1;
| Type | Description |
| ByteString | The signature. |
getVerificationInfoCase()
public SignatureInfo.VerificationInfoCase getVerificationInfoCase()| Type | Description |
| SignatureInfo.VerificationInfoCase |
hasCustomerKmsKeyVersion()
public boolean hasCustomerKmsKeyVersion()The resource name of the customer CryptoKeyVersion used for signing.
string customer_kms_key_version = 3;
| 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;
| Type | Description |
| boolean | Whether the googlePublicKeyPem field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(SignatureInfo other)
public SignatureInfo.Builder mergeFrom(SignatureInfo other)| Name | Description |
| other | SignatureInfo |
| Type | Description |
| SignatureInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SignatureInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| SignatureInfo.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public SignatureInfo.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| SignatureInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SignatureInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| 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;
| Name | Description |
| value | StringThe customerKmsKeyVersion to set. |
| 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;
| Name | Description |
| value | ByteStringThe bytes for customerKmsKeyVersion to set. |
| Type | Description |
| SignatureInfo.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SignatureInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| SignatureInfo.Builder |
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;
| Name | Description |
| value | StringThe googlePublicKeyPem to set. |
| 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;
| Name | Description |
| value | ByteStringThe bytes for googlePublicKeyPem to set. |
| Type | Description |
| SignatureInfo.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SignatureInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| SignatureInfo.Builder |
setSignature(ByteString value)
public SignatureInfo.Builder setSignature(ByteString value)The digital signature.
bytes signature = 1;
| Name | Description |
| value | ByteStringThe signature to set. |
| Type | Description |
| SignatureInfo.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SignatureInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| SignatureInfo.Builder |