Class SignedEntity (0.17.0)

public final class SignedEntity extends GeneratedMessageV3 implements SignedEntityOrBuilder

SignedEntity represents an OCI image object containing everything necessary to verify container image signatures.

Protobuf type google.cloud.confidentialcomputing.v1.SignedEntity

Static Fields

CONTAINER_IMAGE_SIGNATURES_FIELD_NUMBER

public static final int CONTAINER_IMAGE_SIGNATURES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SignedEntity getDefaultInstance()
Returns
TypeDescription
SignedEntity

getDescriptor()

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

newBuilder()

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

newBuilder(SignedEntity prototype)

public static SignedEntity.Builder newBuilder(SignedEntity prototype)
Parameter
NameDescription
prototypeSignedEntity
Returns
TypeDescription
SignedEntity.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getContainerImageSignatures(int index)

public ContainerImageSignature getContainerImageSignatures(int index)

Optional. A list of container image signatures attached to an OCI image object.

repeated .google.cloud.confidentialcomputing.v1.ContainerImageSignature container_image_signatures = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
ContainerImageSignature

getContainerImageSignaturesCount()

public int getContainerImageSignaturesCount()

Optional. A list of container image signatures attached to an OCI image object.

repeated .google.cloud.confidentialcomputing.v1.ContainerImageSignature container_image_signatures = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getContainerImageSignaturesList()

public List<ContainerImageSignature> getContainerImageSignaturesList()

Optional. A list of container image signatures attached to an OCI image object.

repeated .google.cloud.confidentialcomputing.v1.ContainerImageSignature container_image_signatures = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<ContainerImageSignature>

getContainerImageSignaturesOrBuilder(int index)

public ContainerImageSignatureOrBuilder getContainerImageSignaturesOrBuilder(int index)

Optional. A list of container image signatures attached to an OCI image object.

repeated .google.cloud.confidentialcomputing.v1.ContainerImageSignature container_image_signatures = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
ContainerImageSignatureOrBuilder

getContainerImageSignaturesOrBuilderList()

public List<? extends ContainerImageSignatureOrBuilder> getContainerImageSignaturesOrBuilderList()

Optional. A list of container image signatures attached to an OCI image object.

repeated .google.cloud.confidentialcomputing.v1.ContainerImageSignature container_image_signatures = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<? extends com.google.cloud.confidentialcomputing.v1.ContainerImageSignatureOrBuilder>

getDefaultInstanceForType()

public SignedEntity getDefaultInstanceForType()
Returns
TypeDescription
SignedEntity

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 SignedEntity.Builder newBuilderForType()
Returns
TypeDescription
SignedEntity.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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