Class SignedEntity.Builder (0.20.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.confidentialcomputing.v1.ContainerImageSignature>
Returns
TypeDescription
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
NameDescription
valueContainerImageSignature
Returns
TypeDescription
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
NameDescription
builderForValueContainerImageSignature.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueContainerImageSignature
Returns
TypeDescription
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
NameDescription
indexint
builderForValueContainerImageSignature.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ContainerImageSignature.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SignedEntity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SignedEntity.Builder
Overrides

build()

public SignedEntity build()
Returns
TypeDescription
SignedEntity

buildPartial()

public SignedEntity buildPartial()
Returns
TypeDescription
SignedEntity

clear()

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

clearField(Descriptors.FieldDescriptor field)

public SignedEntity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SignedEntity.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SignedEntity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SignedEntity.Builder
Overrides

clone()

public SignedEntity.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SignedEntity other)

public SignedEntity.Builder mergeFrom(SignedEntity other)
Parameter
NameDescription
otherSignedEntity
Returns
TypeDescription
SignedEntity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SignedEntity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SignedEntity.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SignedEntity.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SignedEntity.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SignedEntity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueContainerImageSignature
Returns
TypeDescription
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
NameDescription
indexint
builderForValueContainerImageSignature.Builder
Returns
TypeDescription
SignedEntity.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SignedEntity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SignedEntity.Builder
Overrides

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

public SignedEntity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SignedEntity.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SignedEntity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SignedEntity.Builder
Overrides