Package namespace.cloud.registry.v1beta
Class Registry.Image.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Registry.Image.Builder>
com.google.protobuf.GeneratedMessage.Builder<Registry.Image.Builder>
namespace.cloud.registry.v1beta.Registry.Image.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Registry.ImageOrBuilder
- Enclosing class:
Registry.Image
public static final class Registry.Image.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Registry.Image.Builder>
implements Registry.ImageOrBuilder
Protobuf type
namespace.cloud.registry.v1beta.Image-
Method Summary
Modifier and TypeMethodDescriptionaddAllLabels(Iterable<? extends Labels.Label> values) Labels attached to this image.addAllTags(Iterable<String> values) Tags that reference this image.addLabels(int index, Labels.Label value) Labels attached to this image.addLabels(int index, Labels.Label.Builder builderForValue) Labels attached to this image.addLabels(Labels.Label value) Labels attached to this image.addLabels(Labels.Label.Builder builderForValue) Labels attached to this image.Labels attached to this image.addLabelsBuilder(int index) Labels attached to this image.Tags that reference this image.addTagsBytes(com.google.protobuf.ByteString value) Tags that reference this image.build()clear()When the image was created.If the image has been deleted, when it was deleted.The digest of the image.When the image expires.Labels attached to this image.The repository containing the image.Size information for the image.Tags that reference this image.com.google.protobuf.TimestampWhen the image was created.com.google.protobuf.Timestamp.BuilderWhen the image was created.com.google.protobuf.TimestampOrBuilderWhen the image was created.com.google.protobuf.TimestampIf the image has been deleted, when it was deleted.com.google.protobuf.Timestamp.BuilderIf the image has been deleted, when it was deleted.com.google.protobuf.TimestampOrBuilderIf the image has been deleted, when it was deleted.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe digest of the image.com.google.protobuf.ByteStringThe digest of the image.com.google.protobuf.TimestampWhen the image expires.com.google.protobuf.Timestamp.BuilderWhen the image expires.com.google.protobuf.TimestampOrBuilderWhen the image expires.getLabels(int index) Labels attached to this image.getLabelsBuilder(int index) Labels attached to this image.Labels attached to this image.intLabels attached to this image.Labels attached to this image.getLabelsOrBuilder(int index) Labels attached to this image.List<? extends Labels.LabelOrBuilder> Labels attached to this image.The repository containing the image.com.google.protobuf.ByteStringThe repository containing the image.getSizes()Size information for the image.Size information for the image.Size information for the image.getTags(int index) Tags that reference this image.com.google.protobuf.ByteStringgetTagsBytes(int index) Tags that reference this image.intTags that reference this image.com.google.protobuf.ProtocolStringListTags that reference this image.booleanWhen the image was created.booleanIf the image has been deleted, when it was deleted.booleanWhen the image expires.booleanhasSizes()Size information for the image.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreatedAt(com.google.protobuf.Timestamp value) When the image was created.mergeDeletedAt(com.google.protobuf.Timestamp value) If the image has been deleted, when it was deleted.mergeExpiresAt(com.google.protobuf.Timestamp value) When the image expires.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Registry.Image other) mergeSizes(Registry.Image.Sizes value) Size information for the image.removeLabels(int index) Labels attached to this image.setCreatedAt(com.google.protobuf.Timestamp value) When the image was created.setCreatedAt(com.google.protobuf.Timestamp.Builder builderForValue) When the image was created.setDeletedAt(com.google.protobuf.Timestamp value) If the image has been deleted, when it was deleted.setDeletedAt(com.google.protobuf.Timestamp.Builder builderForValue) If the image has been deleted, when it was deleted.The digest of the image.setDigestBytes(com.google.protobuf.ByteString value) The digest of the image.setExpiresAt(com.google.protobuf.Timestamp value) When the image expires.setExpiresAt(com.google.protobuf.Timestamp.Builder builderForValue) When the image expires.setLabels(int index, Labels.Label value) Labels attached to this image.setLabels(int index, Labels.Label.Builder builderForValue) Labels attached to this image.setRepository(String value) The repository containing the image.setRepositoryBytes(com.google.protobuf.ByteString value) The repository containing the image.setSizes(Registry.Image.Sizes value) Size information for the image.setSizes(Registry.Image.Sizes.Builder builderForValue) Size information for the image.Tags that reference this image.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Registry.Image.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Registry.Image.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Registry.Image.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Registry.Image.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Registry.Image.Builder>
-
mergeFrom
public Registry.Image.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Registry.Image.Builder>- Throws:
IOException
-
getRepository
The repository containing the image.
string repository = 1;- Specified by:
getRepositoryin interfaceRegistry.ImageOrBuilder- Returns:
- The repository.
-
getRepositoryBytes
public com.google.protobuf.ByteString getRepositoryBytes()The repository containing the image.
string repository = 1;- Specified by:
getRepositoryBytesin interfaceRegistry.ImageOrBuilder- Returns:
- The bytes for repository.
-
setRepository
The repository containing the image.
string repository = 1;- Parameters:
value- The repository to set.- Returns:
- This builder for chaining.
-
clearRepository
The repository containing the image.
string repository = 1;- Returns:
- This builder for chaining.
-
setRepositoryBytes
The repository containing the image.
string repository = 1;- Parameters:
value- The bytes for repository to set.- Returns:
- This builder for chaining.
-
getDigest
The digest of the image.
string digest = 2;- Specified by:
getDigestin interfaceRegistry.ImageOrBuilder- Returns:
- The digest.
-
getDigestBytes
public com.google.protobuf.ByteString getDigestBytes()The digest of the image.
string digest = 2;- Specified by:
getDigestBytesin interfaceRegistry.ImageOrBuilder- Returns:
- The bytes for digest.
-
setDigest
The digest of the image.
string digest = 2;- Parameters:
value- The digest to set.- Returns:
- This builder for chaining.
-
clearDigest
The digest of the image.
string digest = 2;- Returns:
- This builder for chaining.
-
setDigestBytes
The digest of the image.
string digest = 2;- Parameters:
value- The bytes for digest to set.- Returns:
- This builder for chaining.
-
hasCreatedAt
public boolean hasCreatedAt()When the image was created.
.google.protobuf.Timestamp created_at = 3;- Specified by:
hasCreatedAtin interfaceRegistry.ImageOrBuilder- Returns:
- Whether the createdAt field is set.
-
getCreatedAt
public com.google.protobuf.Timestamp getCreatedAt()When the image was created.
.google.protobuf.Timestamp created_at = 3;- Specified by:
getCreatedAtin interfaceRegistry.ImageOrBuilder- Returns:
- The createdAt.
-
setCreatedAt
When the image was created.
.google.protobuf.Timestamp created_at = 3; -
setCreatedAt
When the image was created.
.google.protobuf.Timestamp created_at = 3; -
mergeCreatedAt
When the image was created.
.google.protobuf.Timestamp created_at = 3; -
clearCreatedAt
When the image was created.
.google.protobuf.Timestamp created_at = 3; -
getCreatedAtBuilder
public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder()When the image was created.
.google.protobuf.Timestamp created_at = 3; -
getCreatedAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder()When the image was created.
.google.protobuf.Timestamp created_at = 3;- Specified by:
getCreatedAtOrBuilderin interfaceRegistry.ImageOrBuilder
-
hasExpiresAt
public boolean hasExpiresAt()When the image expires. Not set if the image does not expire.
.google.protobuf.Timestamp expires_at = 4;- Specified by:
hasExpiresAtin interfaceRegistry.ImageOrBuilder- Returns:
- Whether the expiresAt field is set.
-
getExpiresAt
public com.google.protobuf.Timestamp getExpiresAt()When the image expires. Not set if the image does not expire.
.google.protobuf.Timestamp expires_at = 4;- Specified by:
getExpiresAtin interfaceRegistry.ImageOrBuilder- Returns:
- The expiresAt.
-
setExpiresAt
When the image expires. Not set if the image does not expire.
.google.protobuf.Timestamp expires_at = 4; -
setExpiresAt
When the image expires. Not set if the image does not expire.
.google.protobuf.Timestamp expires_at = 4; -
mergeExpiresAt
When the image expires. Not set if the image does not expire.
.google.protobuf.Timestamp expires_at = 4; -
clearExpiresAt
When the image expires. Not set if the image does not expire.
.google.protobuf.Timestamp expires_at = 4; -
getExpiresAtBuilder
public com.google.protobuf.Timestamp.Builder getExpiresAtBuilder()When the image expires. Not set if the image does not expire.
.google.protobuf.Timestamp expires_at = 4; -
getExpiresAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder()When the image expires. Not set if the image does not expire.
.google.protobuf.Timestamp expires_at = 4;- Specified by:
getExpiresAtOrBuilderin interfaceRegistry.ImageOrBuilder
-
hasSizes
public boolean hasSizes()Size information for the image.
.namespace.cloud.registry.v1beta.Image.Sizes sizes = 5;- Specified by:
hasSizesin interfaceRegistry.ImageOrBuilder- Returns:
- Whether the sizes field is set.
-
getSizes
Size information for the image.
.namespace.cloud.registry.v1beta.Image.Sizes sizes = 5;- Specified by:
getSizesin interfaceRegistry.ImageOrBuilder- Returns:
- The sizes.
-
setSizes
Size information for the image.
.namespace.cloud.registry.v1beta.Image.Sizes sizes = 5; -
setSizes
Size information for the image.
.namespace.cloud.registry.v1beta.Image.Sizes sizes = 5; -
mergeSizes
Size information for the image.
.namespace.cloud.registry.v1beta.Image.Sizes sizes = 5; -
clearSizes
Size information for the image.
.namespace.cloud.registry.v1beta.Image.Sizes sizes = 5; -
getSizesBuilder
Size information for the image.
.namespace.cloud.registry.v1beta.Image.Sizes sizes = 5; -
getSizesOrBuilder
Size information for the image.
.namespace.cloud.registry.v1beta.Image.Sizes sizes = 5;- Specified by:
getSizesOrBuilderin interfaceRegistry.ImageOrBuilder
-
hasDeletedAt
public boolean hasDeletedAt()If the image has been deleted, when it was deleted.
.google.protobuf.Timestamp deleted_at = 6;- Specified by:
hasDeletedAtin interfaceRegistry.ImageOrBuilder- Returns:
- Whether the deletedAt field is set.
-
getDeletedAt
public com.google.protobuf.Timestamp getDeletedAt()If the image has been deleted, when it was deleted.
.google.protobuf.Timestamp deleted_at = 6;- Specified by:
getDeletedAtin interfaceRegistry.ImageOrBuilder- Returns:
- The deletedAt.
-
setDeletedAt
If the image has been deleted, when it was deleted.
.google.protobuf.Timestamp deleted_at = 6; -
setDeletedAt
If the image has been deleted, when it was deleted.
.google.protobuf.Timestamp deleted_at = 6; -
mergeDeletedAt
If the image has been deleted, when it was deleted.
.google.protobuf.Timestamp deleted_at = 6; -
clearDeletedAt
If the image has been deleted, when it was deleted.
.google.protobuf.Timestamp deleted_at = 6; -
getDeletedAtBuilder
public com.google.protobuf.Timestamp.Builder getDeletedAtBuilder()If the image has been deleted, when it was deleted.
.google.protobuf.Timestamp deleted_at = 6; -
getDeletedAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeletedAtOrBuilder()If the image has been deleted, when it was deleted.
.google.protobuf.Timestamp deleted_at = 6;- Specified by:
getDeletedAtOrBuilderin interfaceRegistry.ImageOrBuilder
-
getLabelsList
Labels attached to this image.
repeated .namespace.stdlib.Label labels = 7;- Specified by:
getLabelsListin interfaceRegistry.ImageOrBuilder
-
getLabelsCount
public int getLabelsCount()Labels attached to this image.
repeated .namespace.stdlib.Label labels = 7;- Specified by:
getLabelsCountin interfaceRegistry.ImageOrBuilder
-
getLabels
Labels attached to this image.
repeated .namespace.stdlib.Label labels = 7;- Specified by:
getLabelsin interfaceRegistry.ImageOrBuilder
-
setLabels
Labels attached to this image.
repeated .namespace.stdlib.Label labels = 7; -
setLabels
Labels attached to this image.
repeated .namespace.stdlib.Label labels = 7; -
addLabels
Labels attached to this image.
repeated .namespace.stdlib.Label labels = 7; -
addLabels
Labels attached to this image.
repeated .namespace.stdlib.Label labels = 7; -
addLabels
Labels attached to this image.
repeated .namespace.stdlib.Label labels = 7; -
addLabels
Labels attached to this image.
repeated .namespace.stdlib.Label labels = 7; -
addAllLabels
Labels attached to this image.
repeated .namespace.stdlib.Label labels = 7; -
clearLabels
Labels attached to this image.
repeated .namespace.stdlib.Label labels = 7; -
removeLabels
Labels attached to this image.
repeated .namespace.stdlib.Label labels = 7; -
getLabelsBuilder
Labels attached to this image.
repeated .namespace.stdlib.Label labels = 7; -
getLabelsOrBuilder
Labels attached to this image.
repeated .namespace.stdlib.Label labels = 7;- Specified by:
getLabelsOrBuilderin interfaceRegistry.ImageOrBuilder
-
getLabelsOrBuilderList
Labels attached to this image.
repeated .namespace.stdlib.Label labels = 7;- Specified by:
getLabelsOrBuilderListin interfaceRegistry.ImageOrBuilder
-
addLabelsBuilder
Labels attached to this image.
repeated .namespace.stdlib.Label labels = 7; -
addLabelsBuilder
Labels attached to this image.
repeated .namespace.stdlib.Label labels = 7; -
getLabelsBuilderList
Labels attached to this image.
repeated .namespace.stdlib.Label labels = 7; -
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()Tags that reference this image.
repeated string tags = 8;- Specified by:
getTagsListin interfaceRegistry.ImageOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()Tags that reference this image.
repeated string tags = 8;- Specified by:
getTagsCountin interfaceRegistry.ImageOrBuilder- Returns:
- The count of tags.
-
getTags
Tags that reference this image.
repeated string tags = 8;- Specified by:
getTagsin interfaceRegistry.ImageOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index) Tags that reference this image.
repeated string tags = 8;- Specified by:
getTagsBytesin interfaceRegistry.ImageOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
setTags
Tags that reference this image.
repeated string tags = 8;- Parameters:
index- The index to set the value at.value- The tags to set.- Returns:
- This builder for chaining.
-
addTags
Tags that reference this image.
repeated string tags = 8;- Parameters:
value- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
Tags that reference this image.
repeated string tags = 8;- Parameters:
values- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
Tags that reference this image.
repeated string tags = 8;- Returns:
- This builder for chaining.
-
addTagsBytes
Tags that reference this image.
repeated string tags = 8;- Parameters:
value- The bytes of the tags to add.- Returns:
- This builder for chaining.
-