publicstaticfinalclass UserOwnedDrydockNote.BuilderextendsGeneratedMessageV3.Builder<UserOwnedDrydockNote.Builder>implementsUserOwnedDrydockNoteOrBuilder
An user owned drydock note references a Drydock
ATTESTATION_AUTHORITY Note created by the user.
Protobuf type google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addAllPublicKeys(Iterable<? extends AttestorPublicKey> values)
publicUserOwnedDrydockNote.BuilderaddAllPublicKeys(Iterable<?extendsAttestorPublicKey>values)
Optional. Public keys that verify attestations signed by this
attestor. This field may be updated.
If this field is non-empty, one of the specified public keys must
verify that an attestation was signed by this attestor for the
image specified in the admission request.
If this field is empty, this attestor always returns that no
valid attestations exist.
repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey>
|
addPublicKeys(AttestorPublicKey value)
publicUserOwnedDrydockNote.BuilderaddPublicKeys(AttestorPublicKeyvalue)
Optional. Public keys that verify attestations signed by this
attestor. This field may be updated.
If this field is non-empty, one of the specified public keys must
verify that an attestation was signed by this attestor for the
image specified in the admission request.
If this field is empty, this attestor always returns that no
valid attestations exist.
repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
addPublicKeys(AttestorPublicKey.Builder builderForValue)
publicUserOwnedDrydockNote.BuilderaddPublicKeys(AttestorPublicKey.BuilderbuilderForValue)
Optional. Public keys that verify attestations signed by this
attestor. This field may be updated.
If this field is non-empty, one of the specified public keys must
verify that an attestation was signed by this attestor for the
image specified in the admission request.
If this field is empty, this attestor always returns that no
valid attestations exist.
repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
addPublicKeys(int index, AttestorPublicKey value)
publicUserOwnedDrydockNote.BuilderaddPublicKeys(intindex,AttestorPublicKeyvalue)
Optional. Public keys that verify attestations signed by this
attestor. This field may be updated.
If this field is non-empty, one of the specified public keys must
verify that an attestation was signed by this attestor for the
image specified in the admission request.
If this field is empty, this attestor always returns that no
valid attestations exist.
repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
addPublicKeys(int index, AttestorPublicKey.Builder builderForValue)
publicUserOwnedDrydockNote.BuilderaddPublicKeys(intindex,AttestorPublicKey.BuilderbuilderForValue)
Optional. Public keys that verify attestations signed by this
attestor. This field may be updated.
If this field is non-empty, one of the specified public keys must
verify that an attestation was signed by this attestor for the
image specified in the admission request.
If this field is empty, this attestor always returns that no
valid attestations exist.
repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
addPublicKeysBuilder()
publicAttestorPublicKey.BuilderaddPublicKeysBuilder()
Optional. Public keys that verify attestations signed by this
attestor. This field may be updated.
If this field is non-empty, one of the specified public keys must
verify that an attestation was signed by this attestor for the
image specified in the admission request.
If this field is empty, this attestor always returns that no
valid attestations exist.
repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
addPublicKeysBuilder(int index)
publicAttestorPublicKey.BuilderaddPublicKeysBuilder(intindex)
Optional. Public keys that verify attestations signed by this
attestor. This field may be updated.
If this field is non-empty, one of the specified public keys must
verify that an attestation was signed by this attestor for the
image specified in the admission request.
If this field is empty, this attestor always returns that no
valid attestations exist.
repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicUserOwnedDrydockNote.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
publicUserOwnedDrydockNotebuild()
buildPartial()
publicUserOwnedDrydockNotebuildPartial()
clear()
publicUserOwnedDrydockNote.Builderclear()
Overrides
clearDelegationServiceAccountEmail()
publicUserOwnedDrydockNote.BuilderclearDelegationServiceAccountEmail()
Output only. This field will contain the service account email address
that this Attestor will use as the principal when querying Container
Analysis. Attestor administrators must grant this service account the
IAM role needed to read attestations from the note_reference in
Container Analysis (containeranalysis.notes.occurrences.viewer).
This email address is fixed for the lifetime of the Attestor, but callers
should not make any other assumptions about the service account email;
future versions may use an email based on a different naming pattern.
string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
publicUserOwnedDrydockNote.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearNoteReference()
publicUserOwnedDrydockNote.BuilderclearNoteReference()
Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note,
created by the user, in the format: projects/*/notes/* (or the legacy
providers/*/notes/*). This field may not be updated.
An attestation by this attestor is stored as a Drydock
ATTESTATION_AUTHORITY Occurrence that names a container image and that
links to this Note. Drydock is an external dependency.
string note_reference = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
publicUserOwnedDrydockNote.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clearPublicKeys()
publicUserOwnedDrydockNote.BuilderclearPublicKeys()
Optional. Public keys that verify attestations signed by this
attestor. This field may be updated.
If this field is non-empty, one of the specified public keys must
verify that an attestation was signed by this attestor for the
image specified in the admission request.
If this field is empty, this attestor always returns that no
valid attestations exist.
repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
publicUserOwnedDrydockNote.Builderclone()
Overrides
getDefaultInstanceForType()
publicUserOwnedDrydockNotegetDefaultInstanceForType()
getDelegationServiceAccountEmail()
publicStringgetDelegationServiceAccountEmail()
Output only. This field will contain the service account email address
that this Attestor will use as the principal when querying Container
Analysis. Attestor administrators must grant this service account the
IAM role needed to read attestations from the note_reference in
Container Analysis (containeranalysis.notes.occurrences.viewer).
This email address is fixed for the lifetime of the Attestor, but callers
should not make any other assumptions about the service account email;
future versions may use an email based on a different naming pattern.
string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The delegationServiceAccountEmail.
|
getDelegationServiceAccountEmailBytes()
publicByteStringgetDelegationServiceAccountEmailBytes()
Output only. This field will contain the service account email address
that this Attestor will use as the principal when querying Container
Analysis. Attestor administrators must grant this service account the
IAM role needed to read attestations from the note_reference in
Container Analysis (containeranalysis.notes.occurrences.viewer).
This email address is fixed for the lifetime of the Attestor, but callers
should not make any other assumptions about the service account email;
future versions may use an email based on a different naming pattern.
string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for delegationServiceAccountEmail.
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getNoteReference()
publicStringgetNoteReference()
Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note,
created by the user, in the format: projects/*/notes/* (or the legacy
providers/*/notes/*). This field may not be updated.
An attestation by this attestor is stored as a Drydock
ATTESTATION_AUTHORITY Occurrence that names a container image and that
links to this Note. Drydock is an external dependency.
string note_reference = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The noteReference.
|
getNoteReferenceBytes()
publicByteStringgetNoteReferenceBytes()
Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note,
created by the user, in the format: projects/*/notes/* (or the legacy
providers/*/notes/*). This field may not be updated.
An attestation by this attestor is stored as a Drydock
ATTESTATION_AUTHORITY Occurrence that names a container image and that
links to this Note. Drydock is an external dependency.
string note_reference = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for noteReference.
|
getPublicKeys(int index)
publicAttestorPublicKeygetPublicKeys(intindex)
Optional. Public keys that verify attestations signed by this
attestor. This field may be updated.
If this field is non-empty, one of the specified public keys must
verify that an attestation was signed by this attestor for the
image specified in the admission request.
If this field is empty, this attestor always returns that no
valid attestations exist.
repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getPublicKeysBuilder(int index)
publicAttestorPublicKey.BuildergetPublicKeysBuilder(intindex)
Optional. Public keys that verify attestations signed by this
attestor. This field may be updated.
If this field is non-empty, one of the specified public keys must
verify that an attestation was signed by this attestor for the
image specified in the admission request.
If this field is empty, this attestor always returns that no
valid attestations exist.
repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getPublicKeysBuilderList()
publicList<AttestorPublicKey.Builder>getPublicKeysBuilderList()
Optional. Public keys that verify attestations signed by this
attestor. This field may be updated.
If this field is non-empty, one of the specified public keys must
verify that an attestation was signed by this attestor for the
image specified in the admission request.
If this field is empty, this attestor always returns that no
valid attestations exist.
repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
getPublicKeysCount()
publicintgetPublicKeysCount()
Optional. Public keys that verify attestations signed by this
attestor. This field may be updated.
If this field is non-empty, one of the specified public keys must
verify that an attestation was signed by this attestor for the
image specified in the admission request.
If this field is empty, this attestor always returns that no
valid attestations exist.
repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
getPublicKeysList()
publicList<AttestorPublicKey>getPublicKeysList()
Optional. Public keys that verify attestations signed by this
attestor. This field may be updated.
If this field is non-empty, one of the specified public keys must
verify that an attestation was signed by this attestor for the
image specified in the admission request.
If this field is empty, this attestor always returns that no
valid attestations exist.
repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
getPublicKeysOrBuilder(int index)
publicAttestorPublicKeyOrBuildergetPublicKeysOrBuilder(intindex)
Optional. Public keys that verify attestations signed by this
attestor. This field may be updated.
If this field is non-empty, one of the specified public keys must
verify that an attestation was signed by this attestor for the
image specified in the admission request.
If this field is empty, this attestor always returns that no
valid attestations exist.
repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getPublicKeysOrBuilderList()
publicList<?extendsAttestorPublicKeyOrBuilder>getPublicKeysOrBuilderList()
Optional. Public keys that verify attestations signed by this
attestor. This field may be updated.
If this field is non-empty, one of the specified public keys must
verify that an attestation was signed by this attestor for the
image specified in the admission request.
If this field is empty, this attestor always returns that no
valid attestations exist.
repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder> |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeFrom(UserOwnedDrydockNote other)
publicUserOwnedDrydockNote.BuildermergeFrom(UserOwnedDrydockNoteother)
publicUserOwnedDrydockNote.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicUserOwnedDrydockNote.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalUserOwnedDrydockNote.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
removePublicKeys(int index)
publicUserOwnedDrydockNote.BuilderremovePublicKeys(intindex)
Optional. Public keys that verify attestations signed by this
attestor. This field may be updated.
If this field is non-empty, one of the specified public keys must
verify that an attestation was signed by this attestor for the
image specified in the admission request.
If this field is empty, this attestor always returns that no
valid attestations exist.
repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
setDelegationServiceAccountEmail(String value)
publicUserOwnedDrydockNote.BuildersetDelegationServiceAccountEmail(Stringvalue)
Output only. This field will contain the service account email address
that this Attestor will use as the principal when querying Container
Analysis. Attestor administrators must grant this service account the
IAM role needed to read attestations from the note_reference in
Container Analysis (containeranalysis.notes.occurrences.viewer).
This email address is fixed for the lifetime of the Attestor, but callers
should not make any other assumptions about the service account email;
future versions may use an email based on a different naming pattern.
string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
value |
String
The delegationServiceAccountEmail to set.
|
setDelegationServiceAccountEmailBytes(ByteString value)
publicUserOwnedDrydockNote.BuildersetDelegationServiceAccountEmailBytes(ByteStringvalue)
Output only. This field will contain the service account email address
that this Attestor will use as the principal when querying Container
Analysis. Attestor administrators must grant this service account the
IAM role needed to read attestations from the note_reference in
Container Analysis (containeranalysis.notes.occurrences.viewer).
This email address is fixed for the lifetime of the Attestor, but callers
should not make any other assumptions about the service account email;
future versions may use an email based on a different naming pattern.
string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for delegationServiceAccountEmail to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
publicUserOwnedDrydockNote.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setNoteReference(String value)
publicUserOwnedDrydockNote.BuildersetNoteReference(Stringvalue)
Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note,
created by the user, in the format: projects/*/notes/* (or the legacy
providers/*/notes/*). This field may not be updated.
An attestation by this attestor is stored as a Drydock
ATTESTATION_AUTHORITY Occurrence that names a container image and that
links to this Note. Drydock is an external dependency.
string note_reference = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
String
The noteReference to set.
|
setNoteReferenceBytes(ByteString value)
publicUserOwnedDrydockNote.BuildersetNoteReferenceBytes(ByteStringvalue)
Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note,
created by the user, in the format: projects/*/notes/* (or the legacy
providers/*/notes/*). This field may not be updated.
An attestation by this attestor is stored as a Drydock
ATTESTATION_AUTHORITY Occurrence that names a container image and that
links to this Note. Drydock is an external dependency.
string note_reference = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for noteReference to set.
|
setPublicKeys(int index, AttestorPublicKey value)
publicUserOwnedDrydockNote.BuildersetPublicKeys(intindex,AttestorPublicKeyvalue)
Optional. Public keys that verify attestations signed by this
attestor. This field may be updated.
If this field is non-empty, one of the specified public keys must
verify that an attestation was signed by this attestor for the
image specified in the admission request.
If this field is empty, this attestor always returns that no
valid attestations exist.
repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
setPublicKeys(int index, AttestorPublicKey.Builder builderForValue)
publicUserOwnedDrydockNote.BuildersetPublicKeys(intindex,AttestorPublicKey.BuilderbuilderForValue)
Optional. Public keys that verify attestations signed by this
attestor. This field may be updated.
If this field is non-empty, one of the specified public keys must
verify that an attestation was signed by this attestor for the
image specified in the admission request.
If this field is empty, this attestor always returns that no
valid attestations exist.
repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicUserOwnedDrydockNote.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalUserOwnedDrydockNote.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides