Package namespace.cloud.compute.v1beta
Class Compute.ContainerCache.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Compute.ContainerCache.Builder>
com.google.protobuf.GeneratedMessage.Builder<Compute.ContainerCache.Builder>
namespace.cloud.compute.v1beta.Compute.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.ContainerCacheOrBuilder
- Enclosing class:
Compute.ContainerCache
public static final class Compute.ContainerCache.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Compute.ContainerCache.Builder>
implements Compute.ContainerCacheOrBuilder
Protobuf type
namespace.cloud.compute.v1beta.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) mergeFrom(Compute.ContainerCache 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.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.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.ContainerCache.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<Compute.ContainerCache.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Compute.ContainerCache.Builder>
-
mergeFrom
public Compute.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.ContainerCache.Builder>- Throws:
IOException
-
getCacheVolumeTag
Which cache volume to use to store container images.
string cache_volume_tag = 1;- Specified by:
getCacheVolumeTagin interfaceCompute.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.ContainerCacheOrBuilder- Returns:
- The bytes for cacheVolumeTag.
-
setCacheVolumeTag
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
Which cache volume to use to store container images.
string cache_volume_tag = 1;- Returns:
- This builder for chaining.
-
setCacheVolumeTagBytes
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.ContainerCacheOrBuilder- Returns:
- The sizeMb.
-
setSizeMb
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.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.ContainerCacheOrBuilder- Returns:
- The bytes for relativePath.
-
setRelativePath
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
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
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.
-