Class Attestor (1.10.0)

public final class Attestor extends GeneratedMessageV3 implements AttestorOrBuilder

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

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

USER_OWNED_DRYDOCK_NOTE_FIELD_NUMBER

public static final int USER_OWNED_DRYDOCK_NOTE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Attestor getDefaultInstance()
Returns
TypeDescription
Attestor

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Attestor.Builder newBuilder()
Returns
TypeDescription
Attestor.Builder

newBuilder(Attestor prototype)

public static Attestor.Builder newBuilder(Attestor prototype)
Parameter
NameDescription
prototypeAttestor
Returns
TypeDescription
Attestor.Builder

parseDelimitedFrom(InputStream input)

public static Attestor parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Attestor
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Attestor parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Attestor
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Attestor parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Attestor
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Attestor parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Attestor
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Attestor parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Attestor
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Attestor parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Attestor
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Attestor parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Attestor
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Attestor parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Attestor
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Attestor parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Attestor
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Attestor parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Attestor
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Attestor parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Attestor
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Attestor parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Attestor
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Attestor> parser()
Returns
TypeDescription
Parser<Attestor>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAttestorTypeCase()

public Attestor.AttestorTypeCase getAttestorTypeCase()
Returns
TypeDescription
Attestor.AttestorTypeCase

getDefaultInstanceForType()

public Attestor getDefaultInstanceForType()
Returns
TypeDescription
Attestor

getDescription()

public String getDescription()

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
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

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
TypeDescription
ByteString

The bytes for description.

getName()

public String getName()

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

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

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

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<Attestor> getParserForType()
Returns
TypeDescription
Parser<Attestor>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Time when the attestor was last updated.

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

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Time when the attestor was last updated.

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

Returns
TypeDescription
TimestampOrBuilder

getUserOwnedDrydockNote()

public UserOwnedDrydockNote getUserOwnedDrydockNote()

A Drydock ATTESTATION_AUTHORITY Note, created by the user.

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

Returns
TypeDescription
UserOwnedDrydockNote

The userOwnedDrydockNote.

getUserOwnedDrydockNoteOrBuilder()

public UserOwnedDrydockNoteOrBuilder getUserOwnedDrydockNoteOrBuilder()

A Drydock ATTESTATION_AUTHORITY Note, created by the user.

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

Returns
TypeDescription
UserOwnedDrydockNoteOrBuilder

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Time when the attestor was last updated.

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

Returns
TypeDescription
boolean

Whether the updateTime field is set.

hasUserOwnedDrydockNote()

public boolean hasUserOwnedDrydockNote()

A Drydock ATTESTATION_AUTHORITY Note, created by the user.

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

Returns
TypeDescription
boolean

Whether the userOwnedDrydockNote field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Attestor.Builder newBuilderForType()
Returns
TypeDescription
Attestor.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Attestor.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Attestor.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Attestor.Builder toBuilder()
Returns
TypeDescription
Attestor.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException