Class AttestorPublicKey.Builder (1.79.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 1.79.0 (latest)
- 1.77.0
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.71.0
- 1.69.0
- 1.67.0
- 1.66.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 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
publicstaticfinalclass AttestorPublicKey.BuilderextendsGeneratedMessageV3.Builder<AttestorPublicKey.Builder>implementsAttestorPublicKeyOrBuilderAn attestor public key that will be used to verify attestations signed by this attestor.
Protobuf type google.cloud.binaryauthorization.v1beta1.AttestorPublicKey
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AttestorPublicKey.BuilderImplements
AttestorPublicKeyOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicAttestorPublicKey.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
|
build()
publicAttestorPublicKeybuild()| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey |
|
buildPartial()
publicAttestorPublicKeybuildPartial()| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey |
|
clear()
publicAttestorPublicKey.Builderclear()| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
|
clearAsciiArmoredPgpPublicKey()
publicAttestorPublicKey.BuilderclearAsciiArmoredPgpPublicKey() ASCII-armored representation of a PGP public key, as the entire output by
the command gpg --export --armor foo@example.com (either LF or CRLF
line endings).
When using this field, id should be left blank. The BinAuthz API
handlers will calculate the ID and fill it in automatically. BinAuthz
computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as
upper-case hex. If id is provided by the caller, it will be
overwritten by the API-calculated ID.
string ascii_armored_pgp_public_key = 3;
| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
This builder for chaining. |
clearComment()
publicAttestorPublicKey.BuilderclearComment()Optional. A descriptive comment. This field may be updated.
string comment = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
publicAttestorPublicKey.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
|
clearId()
publicAttestorPublicKey.BuilderclearId() The ID of this public key.
Signatures verified by BinAuthz must include the ID of the public key that
can be used to verify them, and that ID must match the contents of this
field exactly.
Additional restrictions on this field can be imposed based on which public
key type is encapsulated. See the documentation on public_key cases below
for details.
string id = 2;
| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
publicAttestorPublicKey.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
|
clearPkixPublicKey()
publicAttestorPublicKey.BuilderclearPkixPublicKey()A raw PKIX SubjectPublicKeyInfo format public key.
NOTE: id may be explicitly provided by the caller when using this
type of public key, but it MUST be a valid RFC3986 URI. If id is left
blank, a default one will be computed based on the digest of the DER
encoding of the public key.
.google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5;
| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
|
clearPublicKey()
publicAttestorPublicKey.BuilderclearPublicKey()| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
|
clone()
publicAttestorPublicKey.Builderclone()| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
|
getAsciiArmoredPgpPublicKey()
publicStringgetAsciiArmoredPgpPublicKey() ASCII-armored representation of a PGP public key, as the entire output by
the command gpg --export --armor foo@example.com (either LF or CRLF
line endings).
When using this field, id should be left blank. The BinAuthz API
handlers will calculate the ID and fill it in automatically. BinAuthz
computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as
upper-case hex. If id is provided by the caller, it will be
overwritten by the API-calculated ID.
string ascii_armored_pgp_public_key = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The asciiArmoredPgpPublicKey. |
getAsciiArmoredPgpPublicKeyBytes()
publicByteStringgetAsciiArmoredPgpPublicKeyBytes() ASCII-armored representation of a PGP public key, as the entire output by
the command gpg --export --armor foo@example.com (either LF or CRLF
line endings).
When using this field, id should be left blank. The BinAuthz API
handlers will calculate the ID and fill it in automatically. BinAuthz
computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as
upper-case hex. If id is provided by the caller, it will be
overwritten by the API-calculated ID.
string ascii_armored_pgp_public_key = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for asciiArmoredPgpPublicKey. |
getComment()
publicStringgetComment()Optional. A descriptive comment. This field may be updated.
string comment = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The comment. |
getCommentBytes()
publicByteStringgetCommentBytes()Optional. A descriptive comment. This field may be updated.
string comment = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for comment. |
getDefaultInstanceForType()
publicAttestorPublicKeygetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getId()
publicStringgetId() The ID of this public key.
Signatures verified by BinAuthz must include the ID of the public key that
can be used to verify them, and that ID must match the contents of this
field exactly.
Additional restrictions on this field can be imposed based on which public
key type is encapsulated. See the documentation on public_key cases below
for details.
string id = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The id. |
getIdBytes()
publicByteStringgetIdBytes() The ID of this public key.
Signatures verified by BinAuthz must include the ID of the public key that
can be used to verify them, and that ID must match the contents of this
field exactly.
Additional restrictions on this field can be imposed based on which public
key type is encapsulated. See the documentation on public_key cases below
for details.
string id = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for id. |
getPkixPublicKey()
publicPkixPublicKeygetPkixPublicKey()A raw PKIX SubjectPublicKeyInfo format public key.
NOTE: id may be explicitly provided by the caller when using this
type of public key, but it MUST be a valid RFC3986 URI. If id is left
blank, a default one will be computed based on the digest of the DER
encoding of the public key.
.google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5;
| Returns | |
|---|---|
| Type | Description |
PkixPublicKey |
The pkixPublicKey. |
getPkixPublicKeyBuilder()
publicPkixPublicKey.BuildergetPkixPublicKeyBuilder()A raw PKIX SubjectPublicKeyInfo format public key.
NOTE: id may be explicitly provided by the caller when using this
type of public key, but it MUST be a valid RFC3986 URI. If id is left
blank, a default one will be computed based on the digest of the DER
encoding of the public key.
.google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5;
| Returns | |
|---|---|
| Type | Description |
PkixPublicKey.Builder |
|
getPkixPublicKeyOrBuilder()
publicPkixPublicKeyOrBuildergetPkixPublicKeyOrBuilder()A raw PKIX SubjectPublicKeyInfo format public key.
NOTE: id may be explicitly provided by the caller when using this
type of public key, but it MUST be a valid RFC3986 URI. If id is left
blank, a default one will be computed based on the digest of the DER
encoding of the public key.
.google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5;
| Returns | |
|---|---|
| Type | Description |
PkixPublicKeyOrBuilder |
|
getPublicKeyCase()
publicAttestorPublicKey.PublicKeyCasegetPublicKeyCase()| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.PublicKeyCase |
|
hasAsciiArmoredPgpPublicKey()
publicbooleanhasAsciiArmoredPgpPublicKey() ASCII-armored representation of a PGP public key, as the entire output by
the command gpg --export --armor foo@example.com (either LF or CRLF
line endings).
When using this field, id should be left blank. The BinAuthz API
handlers will calculate the ID and fill it in automatically. BinAuthz
computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as
upper-case hex. If id is provided by the caller, it will be
overwritten by the API-calculated ID.
string ascii_armored_pgp_public_key = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the asciiArmoredPgpPublicKey field is set. |
hasPkixPublicKey()
publicbooleanhasPkixPublicKey()A raw PKIX SubjectPublicKeyInfo format public key.
NOTE: id may be explicitly provided by the caller when using this
type of public key, but it MUST be a valid RFC3986 URI. If id is left
blank, a default one will be computed based on the digest of the DER
encoding of the public key.
.google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the pkixPublicKey field is set. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AttestorPublicKey other)
publicAttestorPublicKey.BuildermergeFrom(AttestorPublicKeyother)| Parameter | |
|---|---|
| Name | Description |
other |
AttestorPublicKey |
| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicAttestorPublicKey.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicAttestorPublicKey.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
|
mergePkixPublicKey(PkixPublicKey value)
publicAttestorPublicKey.BuildermergePkixPublicKey(PkixPublicKeyvalue)A raw PKIX SubjectPublicKeyInfo format public key.
NOTE: id may be explicitly provided by the caller when using this
type of public key, but it MUST be a valid RFC3986 URI. If id is left
blank, a default one will be computed based on the digest of the DER
encoding of the public key.
.google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
PkixPublicKey |
| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalAttestorPublicKey.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
|
setAsciiArmoredPgpPublicKey(String value)
publicAttestorPublicKey.BuildersetAsciiArmoredPgpPublicKey(Stringvalue) ASCII-armored representation of a PGP public key, as the entire output by
the command gpg --export --armor foo@example.com (either LF or CRLF
line endings).
When using this field, id should be left blank. The BinAuthz API
handlers will calculate the ID and fill it in automatically. BinAuthz
computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as
upper-case hex. If id is provided by the caller, it will be
overwritten by the API-calculated ID.
string ascii_armored_pgp_public_key = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
String The asciiArmoredPgpPublicKey to set. |
| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
This builder for chaining. |
setAsciiArmoredPgpPublicKeyBytes(ByteString value)
publicAttestorPublicKey.BuildersetAsciiArmoredPgpPublicKeyBytes(ByteStringvalue) ASCII-armored representation of a PGP public key, as the entire output by
the command gpg --export --armor foo@example.com (either LF or CRLF
line endings).
When using this field, id should be left blank. The BinAuthz API
handlers will calculate the ID and fill it in automatically. BinAuthz
computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as
upper-case hex. If id is provided by the caller, it will be
overwritten by the API-calculated ID.
string ascii_armored_pgp_public_key = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for asciiArmoredPgpPublicKey to set. |
| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
This builder for chaining. |
setComment(String value)
publicAttestorPublicKey.BuildersetComment(Stringvalue)Optional. A descriptive comment. This field may be updated.
string comment = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
String The comment to set. |
| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
This builder for chaining. |
setCommentBytes(ByteString value)
publicAttestorPublicKey.BuildersetCommentBytes(ByteStringvalue)Optional. A descriptive comment. This field may be updated.
string comment = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for comment to set. |
| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
publicAttestorPublicKey.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
|
setId(String value)
publicAttestorPublicKey.BuildersetId(Stringvalue) The ID of this public key.
Signatures verified by BinAuthz must include the ID of the public key that
can be used to verify them, and that ID must match the contents of this
field exactly.
Additional restrictions on this field can be imposed based on which public
key type is encapsulated. See the documentation on public_key cases below
for details.
string id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
String The id to set. |
| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
publicAttestorPublicKey.BuildersetIdBytes(ByteStringvalue) The ID of this public key.
Signatures verified by BinAuthz must include the ID of the public key that
can be used to verify them, and that ID must match the contents of this
field exactly.
Additional restrictions on this field can be imposed based on which public
key type is encapsulated. See the documentation on public_key cases below
for details.
string id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
This builder for chaining. |
setPkixPublicKey(PkixPublicKey value)
publicAttestorPublicKey.BuildersetPkixPublicKey(PkixPublicKeyvalue)A raw PKIX SubjectPublicKeyInfo format public key.
NOTE: id may be explicitly provided by the caller when using this
type of public key, but it MUST be a valid RFC3986 URI. If id is left
blank, a default one will be computed based on the digest of the DER
encoding of the public key.
.google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
PkixPublicKey |
| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
|
setPkixPublicKey(PkixPublicKey.Builder builderForValue)
publicAttestorPublicKey.BuildersetPkixPublicKey(PkixPublicKey.BuilderbuilderForValue)A raw PKIX SubjectPublicKeyInfo format public key.
NOTE: id may be explicitly provided by the caller when using this
type of public key, but it MUST be a valid RFC3986 URI. If id is left
blank, a default one will be computed based on the digest of the DER
encoding of the public key.
.google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PkixPublicKey.Builder |
| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicAttestorPublicKey.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalAttestorPublicKey.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AttestorPublicKey.Builder |
|