- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.0.6
public static final class Resources.PkixPublicKey.Builder extends GeneratedMessageV3.Builder<Resources.PkixPublicKey.Builder> implements Resources.PkixPublicKeyOrBuilder
A public key in the PkixPublicKey format (see https://tools.ietf.org/html/rfc5280#section-4.1.2.7 for details). Public keys of this type are typically textually encoded using the PEM format.
Protobuf type google.cloud.binaryauthorization.v1.PkixPublicKey
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Resources.PkixPublicKey.BuilderImplements
Resources.PkixPublicKeyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Resources.PkixPublicKey.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Resources.PkixPublicKey.Builder |
build()
public Resources.PkixPublicKey build()
Type | Description |
Resources.PkixPublicKey |
buildPartial()
public Resources.PkixPublicKey buildPartial()
Type | Description |
Resources.PkixPublicKey |
clear()
public Resources.PkixPublicKey.Builder clear()
Type | Description |
Resources.PkixPublicKey.Builder |
clearField(Descriptors.FieldDescriptor field)
public Resources.PkixPublicKey.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Resources.PkixPublicKey.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Resources.PkixPublicKey.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Resources.PkixPublicKey.Builder |
clearPublicKeyPem()
public Resources.PkixPublicKey.Builder clearPublicKeyPem()
A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13
string public_key_pem = 1;
Type | Description |
Resources.PkixPublicKey.Builder | This builder for chaining. |
clearSignatureAlgorithm()
public Resources.PkixPublicKey.Builder clearSignatureAlgorithm()
The signature algorithm used to verify a message against a signature using
this key.
These signature algorithm must match the structure and any object
identifiers encoded in public_key_pem
(i.e. this algorithm must match
that of the public key).
.google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2;
Type | Description |
Resources.PkixPublicKey.Builder | This builder for chaining. |
clone()
public Resources.PkixPublicKey.Builder clone()
Type | Description |
Resources.PkixPublicKey.Builder |
getDefaultInstanceForType()
public Resources.PkixPublicKey getDefaultInstanceForType()
Type | Description |
Resources.PkixPublicKey |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getPublicKeyPem()
public String getPublicKeyPem()
A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13
string public_key_pem = 1;
Type | Description |
String | The publicKeyPem. |
getPublicKeyPemBytes()
public ByteString getPublicKeyPemBytes()
A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13
string public_key_pem = 1;
Type | Description |
ByteString | The bytes for publicKeyPem. |
getSignatureAlgorithm()
public Resources.PkixPublicKey.SignatureAlgorithm getSignatureAlgorithm()
The signature algorithm used to verify a message against a signature using
this key.
These signature algorithm must match the structure and any object
identifiers encoded in public_key_pem
(i.e. this algorithm must match
that of the public key).
.google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2;
Type | Description |
Resources.PkixPublicKey.SignatureAlgorithm | The signatureAlgorithm. |
getSignatureAlgorithmValue()
public int getSignatureAlgorithmValue()
The signature algorithm used to verify a message against a signature using
this key.
These signature algorithm must match the structure and any object
identifiers encoded in public_key_pem
(i.e. this algorithm must match
that of the public key).
.google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2;
Type | Description |
int | The enum numeric value on the wire for signatureAlgorithm. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Resources.PkixPublicKey.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Resources.PkixPublicKey.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Resources.PkixPublicKey.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Resources.PkixPublicKey.Builder |
mergeFrom(Resources.PkixPublicKey other)
public Resources.PkixPublicKey.Builder mergeFrom(Resources.PkixPublicKey other)
Name | Description |
other | Resources.PkixPublicKey |
Type | Description |
Resources.PkixPublicKey.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Resources.PkixPublicKey.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Resources.PkixPublicKey.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Resources.PkixPublicKey.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Resources.PkixPublicKey.Builder |
setPublicKeyPem(String value)
public Resources.PkixPublicKey.Builder setPublicKeyPem(String value)
A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13
string public_key_pem = 1;
Name | Description |
value | String The publicKeyPem to set. |
Type | Description |
Resources.PkixPublicKey.Builder | This builder for chaining. |
setPublicKeyPemBytes(ByteString value)
public Resources.PkixPublicKey.Builder setPublicKeyPemBytes(ByteString value)
A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13
string public_key_pem = 1;
Name | Description |
value | ByteString The bytes for publicKeyPem to set. |
Type | Description |
Resources.PkixPublicKey.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Resources.PkixPublicKey.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Resources.PkixPublicKey.Builder |
setSignatureAlgorithm(Resources.PkixPublicKey.SignatureAlgorithm value)
public Resources.PkixPublicKey.Builder setSignatureAlgorithm(Resources.PkixPublicKey.SignatureAlgorithm value)
The signature algorithm used to verify a message against a signature using
this key.
These signature algorithm must match the structure and any object
identifiers encoded in public_key_pem
(i.e. this algorithm must match
that of the public key).
.google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2;
Name | Description |
value | Resources.PkixPublicKey.SignatureAlgorithm The signatureAlgorithm to set. |
Type | Description |
Resources.PkixPublicKey.Builder | This builder for chaining. |
setSignatureAlgorithmValue(int value)
public Resources.PkixPublicKey.Builder setSignatureAlgorithmValue(int value)
The signature algorithm used to verify a message against a signature using
this key.
These signature algorithm must match the structure and any object
identifiers encoded in public_key_pem
(i.e. this algorithm must match
that of the public key).
.google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2;
Name | Description |
value | int The enum numeric value on the wire for signatureAlgorithm to set. |
Type | Description |
Resources.PkixPublicKey.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Resources.PkixPublicKey.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Resources.PkixPublicKey.Builder |