Package namespace.cloud.registry.v1beta
Class Registry.ShareImageRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Registry.ShareImageRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<Registry.ShareImageRequest.Builder>
namespace.cloud.registry.v1beta.Registry.ShareImageRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Registry.ShareImageRequestOrBuilder
- Enclosing class:
Registry.ShareImageRequest
public static final class Registry.ShareImageRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Registry.ShareImageRequest.Builder>
implements Registry.ShareImageRequestOrBuilder
Protobuf type
namespace.cloud.registry.v1beta.ShareImageRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The digest of the image to be shared.When the shared image should expire.The repository that contains the image to be shared.The optional suffix does not have a practical purpose apart from making the image more operationally distinct.Defines who can access this shared image.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe digest of the image to be shared.com.google.protobuf.ByteStringThe digest of the image to be shared.com.google.protobuf.TimestampWhen the shared image should expire.com.google.protobuf.Timestamp.BuilderWhen the shared image should expire.com.google.protobuf.TimestampOrBuilderWhen the shared image should expire.The repository that contains the image to be shared.com.google.protobuf.ByteStringThe repository that contains the image to be shared.The optional suffix does not have a practical purpose apart from making the image more operationally distinct.com.google.protobuf.ByteStringThe optional suffix does not have a practical purpose apart from making the image more operationally distinct.Defines who can access this shared image.intDefines who can access this shared image.booleanWhen the shared image should expire.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeExpiresAt(com.google.protobuf.Timestamp value) When the shared image should expire.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The digest of the image to be shared.setDigestBytes(com.google.protobuf.ByteString value) The digest of the image to be shared.setExpiresAt(com.google.protobuf.Timestamp value) When the shared image should expire.setExpiresAt(com.google.protobuf.Timestamp.Builder builderForValue) When the shared image should expire.setRepository(String value) The repository that contains the image to be shared.setRepositoryBytes(com.google.protobuf.ByteString value) The repository that contains the image to be shared.The optional suffix does not have a practical purpose apart from making the image more operationally distinct.setSuffixBytes(com.google.protobuf.ByteString value) The optional suffix does not have a practical purpose apart from making the image more operationally distinct.setVisibility(Registry.Visibility value) Defines who can access this shared image.setVisibilityValue(int value) Defines who can access this shared 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.ShareImageRequest.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.ShareImageRequest.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.ShareImageRequest.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.ShareImageRequest.Builder>
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Registry.ShareImageRequest.Builder>
-
mergeFrom
public Registry.ShareImageRequest.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.ShareImageRequest.Builder>- Throws:
IOException
-
getRepository
The repository that contains the image to be shared.
string repository = 1;- Specified by:
getRepositoryin interfaceRegistry.ShareImageRequestOrBuilder- Returns:
- The repository.
-
getRepositoryBytes
public com.google.protobuf.ByteString getRepositoryBytes()The repository that contains the image to be shared.
string repository = 1;- Specified by:
getRepositoryBytesin interfaceRegistry.ShareImageRequestOrBuilder- Returns:
- The bytes for repository.
-
setRepository
The repository that contains the image to be shared.
string repository = 1;- Parameters:
value- The repository to set.- Returns:
- This builder for chaining.
-
clearRepository
The repository that contains the image to be shared.
string repository = 1;- Returns:
- This builder for chaining.
-
setRepositoryBytes
The repository that contains the image to be shared.
string repository = 1;- Parameters:
value- The bytes for repository to set.- Returns:
- This builder for chaining.
-
getDigest
The digest of the image to be shared.
string digest = 2;- Specified by:
getDigestin interfaceRegistry.ShareImageRequestOrBuilder- Returns:
- The digest.
-
getDigestBytes
public com.google.protobuf.ByteString getDigestBytes()The digest of the image to be shared.
string digest = 2;- Specified by:
getDigestBytesin interfaceRegistry.ShareImageRequestOrBuilder- Returns:
- The bytes for digest.
-
setDigest
The digest of the image to be shared.
string digest = 2;- Parameters:
value- The digest to set.- Returns:
- This builder for chaining.
-
clearDigest
The digest of the image to be shared.
string digest = 2;- Returns:
- This builder for chaining.
-
setDigestBytes
The digest of the image to be shared.
string digest = 2;- Parameters:
value- The bytes for digest to set.- Returns:
- This builder for chaining.
-
hasExpiresAt
public boolean hasExpiresAt()When the shared image should expire. Not setting this results in indefinitely shared images.
.google.protobuf.Timestamp expires_at = 3;- Specified by:
hasExpiresAtin interfaceRegistry.ShareImageRequestOrBuilder- Returns:
- Whether the expiresAt field is set.
-
getExpiresAt
public com.google.protobuf.Timestamp getExpiresAt()When the shared image should expire. Not setting this results in indefinitely shared images.
.google.protobuf.Timestamp expires_at = 3;- Specified by:
getExpiresAtin interfaceRegistry.ShareImageRequestOrBuilder- Returns:
- The expiresAt.
-
setExpiresAt
When the shared image should expire. Not setting this results in indefinitely shared images.
.google.protobuf.Timestamp expires_at = 3; -
setExpiresAt
public Registry.ShareImageRequest.Builder setExpiresAt(com.google.protobuf.Timestamp.Builder builderForValue) When the shared image should expire. Not setting this results in indefinitely shared images.
.google.protobuf.Timestamp expires_at = 3; -
mergeExpiresAt
When the shared image should expire. Not setting this results in indefinitely shared images.
.google.protobuf.Timestamp expires_at = 3; -
clearExpiresAt
When the shared image should expire. Not setting this results in indefinitely shared images.
.google.protobuf.Timestamp expires_at = 3; -
getExpiresAtBuilder
public com.google.protobuf.Timestamp.Builder getExpiresAtBuilder()When the shared image should expire. Not setting this results in indefinitely shared images.
.google.protobuf.Timestamp expires_at = 3; -
getExpiresAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder()When the shared image should expire. Not setting this results in indefinitely shared images.
.google.protobuf.Timestamp expires_at = 3;- Specified by:
getExpiresAtOrBuilderin interfaceRegistry.ShareImageRequestOrBuilder
-
getVisibilityValue
public int getVisibilityValue()Defines who can access this shared image.
.namespace.cloud.registry.v1beta.Visibility visibility = 4;- Specified by:
getVisibilityValuein interfaceRegistry.ShareImageRequestOrBuilder- Returns:
- The enum numeric value on the wire for visibility.
-
setVisibilityValue
Defines who can access this shared image.
.namespace.cloud.registry.v1beta.Visibility visibility = 4;- Parameters:
value- The enum numeric value on the wire for visibility to set.- Returns:
- This builder for chaining.
-
getVisibility
Defines who can access this shared image.
.namespace.cloud.registry.v1beta.Visibility visibility = 4;- Specified by:
getVisibilityin interfaceRegistry.ShareImageRequestOrBuilder- Returns:
- The visibility.
-
setVisibility
Defines who can access this shared image.
.namespace.cloud.registry.v1beta.Visibility visibility = 4;- Parameters:
value- The visibility to set.- Returns:
- This builder for chaining.
-
clearVisibility
Defines who can access this shared image.
.namespace.cloud.registry.v1beta.Visibility visibility = 4;- Returns:
- This builder for chaining.
-
getSuffix
The optional suffix does not have a practical purpose apart from making the image more operationally distinct. The resulting image reference will, for example, be: public.nscr.io/{meaningful_id}/{suffix}string suffix = 5;- Specified by:
getSuffixin interfaceRegistry.ShareImageRequestOrBuilder- Returns:
- The suffix.
-
getSuffixBytes
public com.google.protobuf.ByteString getSuffixBytes()The optional suffix does not have a practical purpose apart from making the image more operationally distinct. The resulting image reference will, for example, be: public.nscr.io/{meaningful_id}/{suffix}string suffix = 5;- Specified by:
getSuffixBytesin interfaceRegistry.ShareImageRequestOrBuilder- Returns:
- The bytes for suffix.
-
setSuffix
The optional suffix does not have a practical purpose apart from making the image more operationally distinct. The resulting image reference will, for example, be: public.nscr.io/{meaningful_id}/{suffix}string suffix = 5;- Parameters:
value- The suffix to set.- Returns:
- This builder for chaining.
-
clearSuffix
The optional suffix does not have a practical purpose apart from making the image more operationally distinct. The resulting image reference will, for example, be: public.nscr.io/{meaningful_id}/{suffix}string suffix = 5;- Returns:
- This builder for chaining.
-
setSuffixBytes
The optional suffix does not have a practical purpose apart from making the image more operationally distinct. The resulting image reference will, for example, be: public.nscr.io/{meaningful_id}/{suffix}string suffix = 5;- Parameters:
value- The bytes for suffix to set.- Returns:
- This builder for chaining.
-