- 2.86.0 (latest)
- 2.84.0
- 2.83.0
- 2.82.0
- 2.81.0
- 2.79.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.71.0
- 2.69.0
- 2.68.0
- 2.65.0
- 2.64.0
- 2.63.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.10
- 2.3.1
- 2.2.16
public static final class GenericSignedAttestation.Builder extends GeneratedMessage.Builder<GenericSignedAttestation.Builder> implements GenericSignedAttestationOrBuilder An attestation wrapper that uses the Grafeas Signature message.
This attestation must define the serialized_payload that the signatures
verify and any metadata necessary to interpret that plaintext. The
signatures should always be over the serialized_payload bytestring.
Protobuf type grafeas.v1beta1.attestation.GenericSignedAttestation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GenericSignedAttestation.BuilderImplements
GenericSignedAttestationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllSignatures(Iterable<? extends Signature> values)
public GenericSignedAttestation.Builder addAllSignatures(Iterable<? extends Signature> values) One or more signatures over serialized_payload. Verifier implementations
should consider this attestation message verified if at least one
signature verifies serialized_payload. See Signature in common.proto
for more details on signature structure and verification.
repeated .grafeas.v1beta1.Signature signatures = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends io.grafeas.v1beta1.common.Signature> |
| Returns | |
|---|---|
| Type | Description |
GenericSignedAttestation.Builder |
|
addSignatures(int index, Signature value)
public GenericSignedAttestation.Builder addSignatures(int index, Signature value) One or more signatures over serialized_payload. Verifier implementations
should consider this attestation message verified if at least one
signature verifies serialized_payload. See Signature in common.proto
for more details on signature structure and verification.
repeated .grafeas.v1beta1.Signature signatures = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Signature |
| Returns | |
|---|---|
| Type | Description |
GenericSignedAttestation.Builder |
|
addSignatures(int index, Signature.Builder builderForValue)
public GenericSignedAttestation.Builder addSignatures(int index, Signature.Builder builderForValue) One or more signatures over serialized_payload. Verifier implementations
should consider this attestation message verified if at least one
signature verifies serialized_payload. See Signature in common.proto
for more details on signature structure and verification.
repeated .grafeas.v1beta1.Signature signatures = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Signature.Builder |
| Returns | |
|---|---|
| Type | Description |
GenericSignedAttestation.Builder |
|
addSignatures(Signature value)
public GenericSignedAttestation.Builder addSignatures(Signature value) One or more signatures over serialized_payload. Verifier implementations
should consider this attestation message verified if at least one
signature verifies serialized_payload. See Signature in common.proto
for more details on signature structure and verification.
repeated .grafeas.v1beta1.Signature signatures = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Signature |
| Returns | |
|---|---|
| Type | Description |
GenericSignedAttestation.Builder |
|
addSignatures(Signature.Builder builderForValue)
public GenericSignedAttestation.Builder addSignatures(Signature.Builder builderForValue) One or more signatures over serialized_payload. Verifier implementations
should consider this attestation message verified if at least one
signature verifies serialized_payload. See Signature in common.proto
for more details on signature structure and verification.
repeated .grafeas.v1beta1.Signature signatures = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Signature.Builder |
| Returns | |
|---|---|
| Type | Description |
GenericSignedAttestation.Builder |
|
addSignaturesBuilder()
public Signature.Builder addSignaturesBuilder() One or more signatures over serialized_payload. Verifier implementations
should consider this attestation message verified if at least one
signature verifies serialized_payload. See Signature in common.proto
for more details on signature structure and verification.
repeated .grafeas.v1beta1.Signature signatures = 3;
| Returns | |
|---|---|
| Type | Description |
Signature.Builder |
|
addSignaturesBuilder(int index)
public Signature.Builder addSignaturesBuilder(int index) One or more signatures over serialized_payload. Verifier implementations
should consider this attestation message verified if at least one
signature verifies serialized_payload. See Signature in common.proto
for more details on signature structure and verification.
repeated .grafeas.v1beta1.Signature signatures = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Signature.Builder |
|
build()
public GenericSignedAttestation build()| Returns | |
|---|---|
| Type | Description |
GenericSignedAttestation |
|
buildPartial()
public GenericSignedAttestation buildPartial()| Returns | |
|---|---|
| Type | Description |
GenericSignedAttestation |
|
clear()
public GenericSignedAttestation.Builder clear()| Returns | |
|---|---|
| Type | Description |
GenericSignedAttestation.Builder |
|
clearContentType()
public GenericSignedAttestation.Builder clearContentType()Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema).
.grafeas.v1beta1.attestation.GenericSignedAttestation.ContentType content_type = 1;
| Returns | |
|---|---|
| Type | Description |
GenericSignedAttestation.Builder |
This builder for chaining. |
clearSerializedPayload()
public GenericSignedAttestation.Builder clearSerializedPayload() The serialized payload that is verified by one or more signatures.
The encoding and semantic meaning of this payload must match what is set in
content_type.
bytes serialized_payload = 2;
| Returns | |
|---|---|
| Type | Description |
GenericSignedAttestation.Builder |
This builder for chaining. |
clearSignatures()
public GenericSignedAttestation.Builder clearSignatures() One or more signatures over serialized_payload. Verifier implementations
should consider this attestation message verified if at least one
signature verifies serialized_payload. See Signature in common.proto
for more details on signature structure and verification.
repeated .grafeas.v1beta1.Signature signatures = 3;
| Returns | |
|---|---|
| Type | Description |
GenericSignedAttestation.Builder |
|
getContentType()
public GenericSignedAttestation.ContentType getContentType()Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema).
.grafeas.v1beta1.attestation.GenericSignedAttestation.ContentType content_type = 1;
| Returns | |
|---|---|
| Type | Description |
GenericSignedAttestation.ContentType |
The contentType. |
getContentTypeValue()
public int getContentTypeValue()Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema).
.grafeas.v1beta1.attestation.GenericSignedAttestation.ContentType content_type = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for contentType. |
getDefaultInstanceForType()
public GenericSignedAttestation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GenericSignedAttestation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSerializedPayload()
public ByteString getSerializedPayload() The serialized payload that is verified by one or more signatures.
The encoding and semantic meaning of this payload must match what is set in
content_type.
bytes serialized_payload = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The serializedPayload. |
getSignatures(int index)
public Signature getSignatures(int index) One or more signatures over serialized_payload. Verifier implementations
should consider this attestation message verified if at least one
signature verifies serialized_payload. See Signature in common.proto
for more details on signature structure and verification.
repeated .grafeas.v1beta1.Signature signatures = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Signature |
|
getSignaturesBuilder(int index)
public Signature.Builder getSignaturesBuilder(int index) One or more signatures over serialized_payload. Verifier implementations
should consider this attestation message verified if at least one
signature verifies serialized_payload. See Signature in common.proto
for more details on signature structure and verification.
repeated .grafeas.v1beta1.Signature signatures = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Signature.Builder |
|
getSignaturesBuilderList()
public List<Signature.Builder> getSignaturesBuilderList() One or more signatures over serialized_payload. Verifier implementations
should consider this attestation message verified if at least one
signature verifies serialized_payload. See Signature in common.proto
for more details on signature structure and verification.
repeated .grafeas.v1beta1.Signature signatures = 3;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getSignaturesCount()
public int getSignaturesCount() One or more signatures over serialized_payload. Verifier implementations
should consider this attestation message verified if at least one
signature verifies serialized_payload. See Signature in common.proto
for more details on signature structure and verification.
repeated .grafeas.v1beta1.Signature signatures = 3;
| Returns | |
|---|---|
| Type | Description |
int |
|
getSignaturesList()
public List<Signature> getSignaturesList() One or more signatures over serialized_payload. Verifier implementations
should consider this attestation message verified if at least one
signature verifies serialized_payload. See Signature in common.proto
for more details on signature structure and verification.
repeated .grafeas.v1beta1.Signature signatures = 3;
| Returns | |
|---|---|
| Type | Description |
List<Signature> |
|
getSignaturesOrBuilder(int index)
public SignatureOrBuilder getSignaturesOrBuilder(int index) One or more signatures over serialized_payload. Verifier implementations
should consider this attestation message verified if at least one
signature verifies serialized_payload. See Signature in common.proto
for more details on signature structure and verification.
repeated .grafeas.v1beta1.Signature signatures = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SignatureOrBuilder |
|
getSignaturesOrBuilderList()
public List<? extends SignatureOrBuilder> getSignaturesOrBuilderList() One or more signatures over serialized_payload. Verifier implementations
should consider this attestation message verified if at least one
signature verifies serialized_payload. See Signature in common.proto
for more details on signature structure and verification.
repeated .grafeas.v1beta1.Signature signatures = 3;
| Returns | |
|---|---|
| Type | Description |
List<? extends io.grafeas.v1beta1.common.SignatureOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenericSignedAttestation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenericSignedAttestation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GenericSignedAttestation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GenericSignedAttestation.Builder |
|
mergeFrom(GenericSignedAttestation other)
public GenericSignedAttestation.Builder mergeFrom(GenericSignedAttestation other)| Parameter | |
|---|---|
| Name | Description |
other |
GenericSignedAttestation |
| Returns | |
|---|---|
| Type | Description |
GenericSignedAttestation.Builder |
|
removeSignatures(int index)
public GenericSignedAttestation.Builder removeSignatures(int index) One or more signatures over serialized_payload. Verifier implementations
should consider this attestation message verified if at least one
signature verifies serialized_payload. See Signature in common.proto
for more details on signature structure and verification.
repeated .grafeas.v1beta1.Signature signatures = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GenericSignedAttestation.Builder |
|
setContentType(GenericSignedAttestation.ContentType value)
public GenericSignedAttestation.Builder setContentType(GenericSignedAttestation.ContentType value)Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema).
.grafeas.v1beta1.attestation.GenericSignedAttestation.ContentType content_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
GenericSignedAttestation.ContentTypeThe contentType to set. |
| Returns | |
|---|---|
| Type | Description |
GenericSignedAttestation.Builder |
This builder for chaining. |
setContentTypeValue(int value)
public GenericSignedAttestation.Builder setContentTypeValue(int value)Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema).
.grafeas.v1beta1.attestation.GenericSignedAttestation.ContentType content_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for contentType to set. |
| Returns | |
|---|---|
| Type | Description |
GenericSignedAttestation.Builder |
This builder for chaining. |
setSerializedPayload(ByteString value)
public GenericSignedAttestation.Builder setSerializedPayload(ByteString value) The serialized payload that is verified by one or more signatures.
The encoding and semantic meaning of this payload must match what is set in
content_type.
bytes serialized_payload = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe serializedPayload to set. |
| Returns | |
|---|---|
| Type | Description |
GenericSignedAttestation.Builder |
This builder for chaining. |
setSignatures(int index, Signature value)
public GenericSignedAttestation.Builder setSignatures(int index, Signature value) One or more signatures over serialized_payload. Verifier implementations
should consider this attestation message verified if at least one
signature verifies serialized_payload. See Signature in common.proto
for more details on signature structure and verification.
repeated .grafeas.v1beta1.Signature signatures = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Signature |
| Returns | |
|---|---|
| Type | Description |
GenericSignedAttestation.Builder |
|
setSignatures(int index, Signature.Builder builderForValue)
public GenericSignedAttestation.Builder setSignatures(int index, Signature.Builder builderForValue) One or more signatures over serialized_payload. Verifier implementations
should consider this attestation message verified if at least one
signature verifies serialized_payload. See Signature in common.proto
for more details on signature structure and verification.
repeated .grafeas.v1beta1.Signature signatures = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Signature.Builder |
| Returns | |
|---|---|
| Type | Description |
GenericSignedAttestation.Builder |
|