publicstaticfinalclass Resources.UserOwnedGrafeasNoteextendsGeneratedMessageV3implementsResources.UserOwnedGrafeasNoteOrBuilder
An user owned Grafeas note references a Grafeas
Attestation.Authority Note created by the user.
Protobuf type google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DELEGATION_SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER
publicstaticfinalintDELEGATION_SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
NOTE_REFERENCE_FIELD_NUMBER
publicstaticfinalintNOTE_REFERENCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
PUBLIC_KEYS_FIELD_NUMBER
publicstaticfinalintPUBLIC_KEYS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticResources.UserOwnedGrafeasNotegetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticResources.UserOwnedGrafeasNote.BuildernewBuilder()
newBuilder(Resources.UserOwnedGrafeasNote prototype)
publicstaticResources.UserOwnedGrafeasNote.BuildernewBuilder(Resources.UserOwnedGrafeasNoteprototype)
publicstaticResources.UserOwnedGrafeasNoteparseDelimitedFrom(InputStreaminput)
publicstaticResources.UserOwnedGrafeasNoteparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticResources.UserOwnedGrafeasNoteparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticResources.UserOwnedGrafeasNoteparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticResources.UserOwnedGrafeasNoteparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticResources.UserOwnedGrafeasNoteparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticResources.UserOwnedGrafeasNoteparseFrom(CodedInputStreaminput)
publicstaticResources.UserOwnedGrafeasNoteparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticResources.UserOwnedGrafeasNoteparseFrom(InputStreaminput)
publicstaticResources.UserOwnedGrafeasNoteparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticResources.UserOwnedGrafeasNoteparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticResources.UserOwnedGrafeasNoteparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<Resources.UserOwnedGrafeasNote>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
publicResources.UserOwnedGrafeasNotegetDefaultInstanceForType()
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.
|
getNoteReference()
publicStringgetNoteReference()
Required. The Grafeas resource name of a Attestation.Authority Note,
created by the user, in the format: projects/*/notes/*. This field may
not be updated.
An attestation by this attestor is stored as a Grafeas
Attestation.Authority Occurrence that names a container image and that
links to this Note. Grafeas is an external dependency.
string note_reference = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The noteReference.
|
getNoteReferenceBytes()
publicByteStringgetNoteReferenceBytes()
Required. The Grafeas resource name of a Attestation.Authority Note,
created by the user, in the format: projects/*/notes/*. This field may
not be updated.
An attestation by this attestor is stored as a Grafeas
Attestation.Authority Occurrence that names a container image and that
links to this Note. Grafeas is an external dependency.
string note_reference = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for noteReference.
|
getParserForType()
publicParser<Resources.UserOwnedGrafeasNote>getParserForType()
Overrides
getPublicKeys(int index)
publicResources.AttestorPublicKeygetPublicKeys(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.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
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.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
getPublicKeysList()
publicList<Resources.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.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
getPublicKeysOrBuilder(int index)
publicResources.AttestorPublicKeyOrBuildergetPublicKeysOrBuilder(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.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getPublicKeysOrBuilderList()
publicList<?extendsResources.AttestorPublicKeyOrBuilder>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.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<? extends com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKeyOrBuilder> |
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicResources.UserOwnedGrafeasNote.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedResources.UserOwnedGrafeasNote.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicResources.UserOwnedGrafeasNote.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides