Class Attestor (1.62.0)

publicfinalclass AttestorextendsGeneratedMessageV3implementsAttestorOrBuilder

An attestor that attests to container image artifacts. An existing attestor cannot be modified except where indicated.

Protobuf type google.cloud.binaryauthorization.v1beta1.Attestor

Implements

AttestorOrBuilder

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

DESCRIPTION_FIELD_NUMBER

publicstaticfinalintDESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

publicstaticfinalintNAME_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

publicstaticfinalintUPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

USER_OWNED_DRYDOCK_NOTE_FIELD_NUMBER

publicstaticfinalintUSER_OWNED_DRYDOCK_NOTE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticAttestorgetDefaultInstance()
Returns
Type Description
Attestor

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticAttestor.BuildernewBuilder()
Returns
Type Description
Attestor.Builder

newBuilder(Attestor prototype)

publicstaticAttestor.BuildernewBuilder(Attestorprototype)
Parameter
Name Description
prototype Attestor
Returns
Type Description
Attestor.Builder

parseDelimitedFrom(InputStream input)

publicstaticAttestorparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Attestor
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticAttestorparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Attestor
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticAttestorparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
Attestor
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticAttestorparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Attestor
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticAttestorparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
Attestor
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticAttestorparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Attestor
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticAttestorparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Attestor
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticAttestorparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Attestor
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticAttestorparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Attestor
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticAttestorparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Attestor
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticAttestorparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Attestor
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticAttestorparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Attestor
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<Attestor>parser()
Returns
Type Description
Parser<Attestor>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAttestorTypeCase()

publicAttestor.AttestorTypeCasegetAttestorTypeCase()
Returns
Type Description
Attestor.AttestorTypeCase

getDefaultInstanceForType()

publicAttestorgetDefaultInstanceForType()
Returns
Type Description
Attestor

getDescription()

publicStringgetDescription()

Optional. A descriptive comment. This field may be updated. The field may be displayed in chooser dialogs.

string description = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

publicByteStringgetDescriptionBytes()

Optional. A descriptive comment. This field may be updated. The field may be displayed in chooser dialogs.

string description = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getName()

publicStringgetName()

Required. The resource name, in the format: projects/*/attestors/*. This field may not be updated.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

publicByteStringgetNameBytes()

Required. The resource name, in the format: projects/*/attestors/*. This field may not be updated.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

publicParser<Attestor>getParserForType()
Returns
Type Description
Parser<Attestor>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getUpdateTime()

publicTimestampgetUpdateTime()

Output only. Time when the attestor was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

publicTimestampOrBuildergetUpdateTimeOrBuilder()

Output only. Time when the attestor was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getUserOwnedDrydockNote()

publicUserOwnedDrydockNotegetUserOwnedDrydockNote()

A Drydock ATTESTATION_AUTHORITY Note, created by the user.

.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3;

Returns
Type Description
UserOwnedDrydockNote

The userOwnedDrydockNote.

getUserOwnedDrydockNoteOrBuilder()

publicUserOwnedDrydockNoteOrBuildergetUserOwnedDrydockNoteOrBuilder()

A Drydock ATTESTATION_AUTHORITY Note, created by the user.

.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3;

Returns
Type Description
UserOwnedDrydockNoteOrBuilder

hasUpdateTime()

publicbooleanhasUpdateTime()

Output only. Time when the attestor was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

hasUserOwnedDrydockNote()

publicbooleanhasUserOwnedDrydockNote()

A Drydock ATTESTATION_AUTHORITY Note, created by the user.

.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3;

Returns
Type Description
boolean

Whether the userOwnedDrydockNote field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicAttestor.BuildernewBuilderForType()
Returns
Type Description
Attestor.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedAttestor.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Attestor.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicAttestor.BuildertoBuilder()
Returns
Type Description
Attestor.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.