Class SignedEntity.Builder (0.30.0)

public static final class SignedEntity.Builder extends GeneratedMessageV3.Builder<SignedEntity.Builder> implements SignedEntityOrBuilder

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

Protobuf type google.cloud.confidentialcomputing.v1.SignedEntity

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllContainerImageSignatures(Iterable<? extends ContainerImageSignature> values)

public SignedEntity.Builder addAllContainerImageSignatures(Iterable<? extends ContainerImageSignature> values)

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
Name Description
values Iterable<? extends com.google.cloud.confidentialcomputing.v1.ContainerImageSignature>
Returns
Type Description
SignedEntity.Builder

addContainerImageSignatures(ContainerImageSignature value)

public SignedEntity.Builder addContainerImageSignatures(ContainerImageSignature value)

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
Name Description
value ContainerImageSignature
Returns
Type Description
SignedEntity.Builder

addContainerImageSignatures(ContainerImageSignature.Builder builderForValue)

public SignedEntity.Builder addContainerImageSignatures(ContainerImageSignature.Builder builderForValue)

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
Name Description
builderForValue ContainerImageSignature.Builder
Returns
Type Description
SignedEntity.Builder

addContainerImageSignatures(int index, ContainerImageSignature value)

public SignedEntity.Builder addContainerImageSignatures(int index, ContainerImageSignature value)

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];

Parameters
Name Description
index int
value ContainerImageSignature
Returns
Type Description
SignedEntity.Builder

addContainerImageSignatures(int index, ContainerImageSignature.Builder builderForValue)

public SignedEntity.Builder addContainerImageSignatures(int index, ContainerImageSignature.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue ContainerImageSignature.Builder
Returns
Type Description
SignedEntity.Builder

addContainerImageSignaturesBuilder()

public ContainerImageSignature.Builder addContainerImageSignaturesBuilder()

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
Type Description
ContainerImageSignature.Builder

addContainerImageSignaturesBuilder(int index)

public ContainerImageSignature.Builder addContainerImageSignaturesBuilder(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
Name Description
index int
Returns
Type Description
ContainerImageSignature.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SignedEntity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SignedEntity.Builder
Overrides

build()

public SignedEntity build()
Returns
Type Description
SignedEntity

buildPartial()

public SignedEntity buildPartial()
Returns
Type Description
SignedEntity

clear()

public SignedEntity.Builder clear()
Returns
Type Description
SignedEntity.Builder
Overrides

clearContainerImageSignatures()

public SignedEntity.Builder clearContainerImageSignatures()

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
Type Description
SignedEntity.Builder

clearField(Descriptors.FieldDescriptor field)

public SignedEntity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SignedEntity.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SignedEntity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SignedEntity.Builder
Overrides

clone()

public SignedEntity.Builder clone()
Returns
Type Description
SignedEntity.Builder
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
Name Description
index int
Returns
Type Description
ContainerImageSignature

getContainerImageSignaturesBuilder(int index)

public ContainerImageSignature.Builder getContainerImageSignaturesBuilder(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
Name Description
index int
Returns
Type Description
ContainerImageSignature.Builder

getContainerImageSignaturesBuilderList()

public List<ContainerImageSignature.Builder> getContainerImageSignaturesBuilderList()

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
Type Description
List<Builder>

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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.confidentialcomputing.v1.ContainerImageSignatureOrBuilder>

getDefaultInstanceForType()

public SignedEntity getDefaultInstanceForType()
Returns
Type Description
SignedEntity

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SignedEntity other)

public SignedEntity.Builder mergeFrom(SignedEntity other)
Parameter
Name Description
other SignedEntity
Returns
Type Description
SignedEntity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SignedEntity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SignedEntity.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SignedEntity.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SignedEntity.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SignedEntity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SignedEntity.Builder
Overrides

removeContainerImageSignatures(int index)

public SignedEntity.Builder removeContainerImageSignatures(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
Name Description
index int
Returns
Type Description
SignedEntity.Builder

setContainerImageSignatures(int index, ContainerImageSignature value)

public SignedEntity.Builder setContainerImageSignatures(int index, ContainerImageSignature value)

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];

Parameters
Name Description
index int
value ContainerImageSignature
Returns
Type Description
SignedEntity.Builder

setContainerImageSignatures(int index, ContainerImageSignature.Builder builderForValue)

public SignedEntity.Builder setContainerImageSignatures(int index, ContainerImageSignature.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue ContainerImageSignature.Builder
Returns
Type Description
SignedEntity.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SignedEntity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SignedEntity.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SignedEntity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SignedEntity.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SignedEntity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SignedEntity.Builder
Overrides