Package namespace.cloud.compute.v1beta
Class Compute.CreateInstanceRequest.ExperimentalFeatures.ContainerCache.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Compute.CreateInstanceRequest.ExperimentalFeatures.ContainerCache.Builder>
com.google.protobuf.GeneratedMessage.Builder<Compute.CreateInstanceRequest.ExperimentalFeatures.ContainerCache.Builder>
namespace.cloud.compute.v1beta.Compute.CreateInstanceRequest.ExperimentalFeatures.ContainerCache.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Compute.CreateInstanceRequest.ExperimentalFeatures.ContainerCacheOrBuilder
- Enclosing class:
Compute.CreateInstanceRequest.ExperimentalFeatures.ContainerCache
public static final class Compute.CreateInstanceRequest.ExperimentalFeatures.ContainerCache.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Compute.CreateInstanceRequest.ExperimentalFeatures.ContainerCache.Builder>
implements Compute.CreateInstanceRequest.ExperimentalFeatures.ContainerCacheOrBuilder
Deprecated: use the top-most message.Protobuf type
namespace.cloud.compute.v1beta.CreateInstanceRequest.ExperimentalFeatures.ContainerCache-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Which cache volume to use to store container images.If this is an existing volume (i.e.If this is a separate volume, the size of the volume is required.Which cache volume to use to store container images.com.google.protobuf.ByteStringWhich cache volume to use to store container images.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIf this is an existing volume (i.e.com.google.protobuf.ByteStringIf this is an existing volume (i.e.longIf this is a separate volume, the size of the volume is required.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCacheVolumeTag(String value) Which cache volume to use to store container images.setCacheVolumeTagBytes(com.google.protobuf.ByteString value) Which cache volume to use to store container images.setRelativePath(String value) If this is an existing volume (i.e.setRelativePathBytes(com.google.protobuf.ByteString value) If this is an existing volume (i.e.setSizeMb(long value) If this is a separate volume, the size of the volume is required.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<Compute.CreateInstanceRequest.ExperimentalFeatures.ContainerCache.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<Compute.CreateInstanceRequest.ExperimentalFeatures.ContainerCache.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<Compute.CreateInstanceRequest.ExperimentalFeatures.ContainerCache.Builder>
-
getDefaultInstanceForType
public Compute.CreateInstanceRequest.ExperimentalFeatures.ContainerCache 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
public Compute.CreateInstanceRequest.ExperimentalFeatures.ContainerCache.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Compute.CreateInstanceRequest.ExperimentalFeatures.ContainerCache.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Compute.CreateInstanceRequest.ExperimentalFeatures.ContainerCache.Builder>
-
mergeFrom
public Compute.CreateInstanceRequest.ExperimentalFeatures.ContainerCache.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<Compute.CreateInstanceRequest.ExperimentalFeatures.ContainerCache.Builder>- Throws:
IOException
-
getCacheVolumeTag
Which cache volume to use to store container images.
string cache_volume_tag = 1;- Specified by:
getCacheVolumeTagin interfaceCompute.CreateInstanceRequest.ExperimentalFeatures.ContainerCacheOrBuilder- Returns:
- The cacheVolumeTag.
-
getCacheVolumeTagBytes
public com.google.protobuf.ByteString getCacheVolumeTagBytes()Which cache volume to use to store container images.
string cache_volume_tag = 1;- Specified by:
getCacheVolumeTagBytesin interfaceCompute.CreateInstanceRequest.ExperimentalFeatures.ContainerCacheOrBuilder- Returns:
- The bytes for cacheVolumeTag.
-
setCacheVolumeTag
public Compute.CreateInstanceRequest.ExperimentalFeatures.ContainerCache.Builder setCacheVolumeTag(String value) Which cache volume to use to store container images.
string cache_volume_tag = 1;- Parameters:
value- The cacheVolumeTag to set.- Returns:
- This builder for chaining.
-
clearCacheVolumeTag
public Compute.CreateInstanceRequest.ExperimentalFeatures.ContainerCache.Builder clearCacheVolumeTag()Which cache volume to use to store container images.
string cache_volume_tag = 1;- Returns:
- This builder for chaining.
-
setCacheVolumeTagBytes
public Compute.CreateInstanceRequest.ExperimentalFeatures.ContainerCache.Builder setCacheVolumeTagBytes(com.google.protobuf.ByteString value) Which cache volume to use to store container images.
string cache_volume_tag = 1;- Parameters:
value- The bytes for cacheVolumeTag to set.- Returns:
- This builder for chaining.
-
getSizeMb
public long getSizeMb()If this is a separate volume, the size of the volume is required. Must not be set if this is an existing tag.
int64 size_mb = 2;- Specified by:
getSizeMbin interfaceCompute.CreateInstanceRequest.ExperimentalFeatures.ContainerCacheOrBuilder- Returns:
- The sizeMb.
-
setSizeMb
public Compute.CreateInstanceRequest.ExperimentalFeatures.ContainerCache.Builder setSizeMb(long value) If this is a separate volume, the size of the volume is required. Must not be set if this is an existing tag.
int64 size_mb = 2;- Parameters:
value- The sizeMb to set.- Returns:
- This builder for chaining.
-
clearSizeMb
If this is a separate volume, the size of the volume is required. Must not be set if this is an existing tag.
int64 size_mb = 2;- Returns:
- This builder for chaining.
-
getRelativePath
If this is an existing volume (i.e. for which a volume request exists), the relative path within that volume to use. Optional.
string relative_path = 3;- Specified by:
getRelativePathin interfaceCompute.CreateInstanceRequest.ExperimentalFeatures.ContainerCacheOrBuilder- Returns:
- The relativePath.
-
getRelativePathBytes
public com.google.protobuf.ByteString getRelativePathBytes()If this is an existing volume (i.e. for which a volume request exists), the relative path within that volume to use. Optional.
string relative_path = 3;- Specified by:
getRelativePathBytesin interfaceCompute.CreateInstanceRequest.ExperimentalFeatures.ContainerCacheOrBuilder- Returns:
- The bytes for relativePath.
-
setRelativePath
public Compute.CreateInstanceRequest.ExperimentalFeatures.ContainerCache.Builder setRelativePath(String value) If this is an existing volume (i.e. for which a volume request exists), the relative path within that volume to use. Optional.
string relative_path = 3;- Parameters:
value- The relativePath to set.- Returns:
- This builder for chaining.
-
clearRelativePath
public Compute.CreateInstanceRequest.ExperimentalFeatures.ContainerCache.Builder clearRelativePath()If this is an existing volume (i.e. for which a volume request exists), the relative path within that volume to use. Optional.
string relative_path = 3;- Returns:
- This builder for chaining.
-
setRelativePathBytes
public Compute.CreateInstanceRequest.ExperimentalFeatures.ContainerCache.Builder setRelativePathBytes(com.google.protobuf.ByteString value) If this is an existing volume (i.e. for which a volume request exists), the relative path within that volume to use. Optional.
string relative_path = 3;- Parameters:
value- The bytes for relativePath to set.- Returns:
- This builder for chaining.
-