Package com.google.cloud.compute.v1
Class DiskType.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DiskType.Builder>
-
- com.google.cloud.compute.v1.DiskType.Builder
-
- All Implemented Interfaces:
DiskTypeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DiskType
public static final class DiskType.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DiskType.Builder> implements DiskTypeOrBuilder
Represents a Disk Type resource. Google Compute Engine has two Disk Type resources: * [Regional](/compute/docs/reference/rest/v1/regionDiskTypes) * [Zonal](/compute/docs/reference/rest/v1/diskTypes) You can choose from a variety of disk types based on your needs. For more information, read Storage options. The diskTypes resource represents disk types for a zonal persistent disk. For more information, read Zonal persistent disks. The regionDiskTypes resource represents disk types for a regional persistent disk. For more information, read Regional persistent disks.
Protobuf typegoogle.cloud.compute.v1.DiskType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DiskType.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DiskTypebuild()DiskTypebuildPartial()DiskType.Builderclear()DiskType.BuilderclearCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.DiskType.BuilderclearDefaultDiskSizeGb()[Output Only] Server-defined default disk size in GB.DiskType.BuilderclearDeprecated()[Output Only] The deprecation status associated with this disk type.DiskType.BuilderclearDescription()[Output Only] An optional description of this resource.DiskType.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DiskType.BuilderclearId()[Output Only] The unique identifier for the resource.DiskType.BuilderclearKind()[Output Only] Type of the resource.DiskType.BuilderclearName()[Output Only] Name of the resource.DiskType.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DiskType.BuilderclearRegion()[Output Only] URL of the region where the disk type resides.DiskType.BuilderclearSelfLink()[Output Only] Server-defined URL for the resource.DiskType.BuilderclearValidDiskSize()[Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".DiskType.BuilderclearZone()[Output Only] URL of the zone where the disk type resides.DiskType.Builderclone()StringgetCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.longgetDefaultDiskSizeGb()[Output Only] Server-defined default disk size in GB.DiskTypegetDefaultInstanceForType()DeprecationStatusgetDeprecated()[Output Only] The deprecation status associated with this disk type.DeprecationStatus.BuildergetDeprecatedBuilder()[Output Only] The deprecation status associated with this disk type.DeprecationStatusOrBuildergetDeprecatedOrBuilder()[Output Only] The deprecation status associated with this disk type.StringgetDescription()[Output Only] An optional description of this resource.com.google.protobuf.ByteStringgetDescriptionBytes()[Output Only] An optional description of this resource.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()longgetId()[Output Only] The unique identifier for the resource.StringgetKind()[Output Only] Type of the resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] Type of the resource.StringgetName()[Output Only] Name of the resource.com.google.protobuf.ByteStringgetNameBytes()[Output Only] Name of the resource.StringgetRegion()[Output Only] URL of the region where the disk type resides.com.google.protobuf.ByteStringgetRegionBytes()[Output Only] URL of the region where the disk type resides.StringgetSelfLink()[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined URL for the resource.StringgetValidDiskSize()[Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".com.google.protobuf.ByteStringgetValidDiskSizeBytes()[Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".StringgetZone()[Output Only] URL of the zone where the disk type resides.com.google.protobuf.ByteStringgetZoneBytes()[Output Only] URL of the zone where the disk type resides.booleanhasCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.booleanhasDefaultDiskSizeGb()[Output Only] Server-defined default disk size in GB.booleanhasDeprecated()[Output Only] The deprecation status associated with this disk type.booleanhasDescription()[Output Only] An optional description of this resource.booleanhasId()[Output Only] The unique identifier for the resource.booleanhasKind()[Output Only] Type of the resource.booleanhasName()[Output Only] Name of the resource.booleanhasRegion()[Output Only] URL of the region where the disk type resides.booleanhasSelfLink()[Output Only] Server-defined URL for the resource.booleanhasValidDiskSize()[Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".booleanhasZone()[Output Only] URL of the zone where the disk type resides.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DiskType.BuildermergeDeprecated(DeprecationStatus value)[Output Only] The deprecation status associated with this disk type.DiskType.BuildermergeFrom(DiskType other)DiskType.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DiskType.BuildermergeFrom(com.google.protobuf.Message other)DiskType.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DiskType.BuildersetCreationTimestamp(String value)[Output Only] Creation timestamp in RFC3339 text format.DiskType.BuildersetCreationTimestampBytes(com.google.protobuf.ByteString value)[Output Only] Creation timestamp in RFC3339 text format.DiskType.BuildersetDefaultDiskSizeGb(long value)[Output Only] Server-defined default disk size in GB.DiskType.BuildersetDeprecated(DeprecationStatus value)[Output Only] The deprecation status associated with this disk type.DiskType.BuildersetDeprecated(DeprecationStatus.Builder builderForValue)[Output Only] The deprecation status associated with this disk type.DiskType.BuildersetDescription(String value)[Output Only] An optional description of this resource.DiskType.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)[Output Only] An optional description of this resource.DiskType.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DiskType.BuildersetId(long value)[Output Only] The unique identifier for the resource.DiskType.BuildersetKind(String value)[Output Only] Type of the resource.DiskType.BuildersetKindBytes(com.google.protobuf.ByteString value)[Output Only] Type of the resource.DiskType.BuildersetName(String value)[Output Only] Name of the resource.DiskType.BuildersetNameBytes(com.google.protobuf.ByteString value)[Output Only] Name of the resource.DiskType.BuildersetRegion(String value)[Output Only] URL of the region where the disk type resides.DiskType.BuildersetRegionBytes(com.google.protobuf.ByteString value)[Output Only] URL of the region where the disk type resides.DiskType.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)DiskType.BuildersetSelfLink(String value)[Output Only] Server-defined URL for the resource.DiskType.BuildersetSelfLinkBytes(com.google.protobuf.ByteString value)[Output Only] Server-defined URL for the resource.DiskType.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DiskType.BuildersetValidDiskSize(String value)[Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".DiskType.BuildersetValidDiskSizeBytes(com.google.protobuf.ByteString value)[Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".DiskType.BuildersetZone(String value)[Output Only] URL of the zone where the disk type resides.DiskType.BuildersetZoneBytes(com.google.protobuf.ByteString value)[Output Only] URL of the zone where the disk type resides.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DiskType.Builder>
-
clear
public DiskType.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DiskType.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.GeneratedMessageV3.Builder<DiskType.Builder>
-
getDefaultInstanceForType
public DiskType getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DiskType build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DiskType buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DiskType.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DiskType.Builder>
-
setField
public DiskType.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DiskType.Builder>
-
clearField
public DiskType.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DiskType.Builder>
-
clearOneof
public DiskType.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DiskType.Builder>
-
setRepeatedField
public DiskType.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DiskType.Builder>
-
addRepeatedField
public DiskType.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DiskType.Builder>
-
mergeFrom
public DiskType.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DiskType.Builder>
-
mergeFrom
public DiskType.Builder mergeFrom(DiskType other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DiskType.Builder>
-
mergeFrom
public DiskType.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<DiskType.Builder>- Throws:
IOException
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceDiskTypeOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceDiskTypeOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceDiskTypeOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
public DiskType.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
public DiskType.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
public DiskType.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
hasDefaultDiskSizeGb
public boolean hasDefaultDiskSizeGb()
[Output Only] Server-defined default disk size in GB.
optional int64 default_disk_size_gb = 270619253;- Specified by:
hasDefaultDiskSizeGbin interfaceDiskTypeOrBuilder- Returns:
- Whether the defaultDiskSizeGb field is set.
-
getDefaultDiskSizeGb
public long getDefaultDiskSizeGb()
[Output Only] Server-defined default disk size in GB.
optional int64 default_disk_size_gb = 270619253;- Specified by:
getDefaultDiskSizeGbin interfaceDiskTypeOrBuilder- Returns:
- The defaultDiskSizeGb.
-
setDefaultDiskSizeGb
public DiskType.Builder setDefaultDiskSizeGb(long value)
[Output Only] Server-defined default disk size in GB.
optional int64 default_disk_size_gb = 270619253;- Parameters:
value- The defaultDiskSizeGb to set.- Returns:
- This builder for chaining.
-
clearDefaultDiskSizeGb
public DiskType.Builder clearDefaultDiskSizeGb()
[Output Only] Server-defined default disk size in GB.
optional int64 default_disk_size_gb = 270619253;- Returns:
- This builder for chaining.
-
hasDeprecated
public boolean hasDeprecated()
[Output Only] The deprecation status associated with this disk type.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;- Specified by:
hasDeprecatedin interfaceDiskTypeOrBuilder- Returns:
- Whether the deprecated field is set.
-
getDeprecated
public DeprecationStatus getDeprecated()
[Output Only] The deprecation status associated with this disk type.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;- Specified by:
getDeprecatedin interfaceDiskTypeOrBuilder- Returns:
- The deprecated.
-
setDeprecated
public DiskType.Builder setDeprecated(DeprecationStatus value)
[Output Only] The deprecation status associated with this disk type.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
-
setDeprecated
public DiskType.Builder setDeprecated(DeprecationStatus.Builder builderForValue)
[Output Only] The deprecation status associated with this disk type.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
-
mergeDeprecated
public DiskType.Builder mergeDeprecated(DeprecationStatus value)
[Output Only] The deprecation status associated with this disk type.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
-
clearDeprecated
public DiskType.Builder clearDeprecated()
[Output Only] The deprecation status associated with this disk type.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
-
getDeprecatedBuilder
public DeprecationStatus.Builder getDeprecatedBuilder()
[Output Only] The deprecation status associated with this disk type.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
-
getDeprecatedOrBuilder
public DeprecationStatusOrBuilder getDeprecatedOrBuilder()
[Output Only] The deprecation status associated with this disk type.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;- Specified by:
getDeprecatedOrBuilderin interfaceDiskTypeOrBuilder
-
hasDescription
public boolean hasDescription()
[Output Only] An optional description of this resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceDiskTypeOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
[Output Only] An optional description of this resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceDiskTypeOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
[Output Only] An optional description of this resource.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceDiskTypeOrBuilder- Returns:
- The bytes for description.
-
setDescription
public DiskType.Builder setDescription(String value)
[Output Only] An optional description of this resource.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public DiskType.Builder clearDescription()
[Output Only] An optional description of this resource.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public DiskType.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
[Output Only] An optional description of this resource.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceDiskTypeOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
getIdin interfaceDiskTypeOrBuilder- Returns:
- The id.
-
setId
public DiskType.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public DiskType.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()
[Output Only] Type of the resource. Always compute#diskType for disk types.
optional string kind = 3292052;- Specified by:
hasKindin interfaceDiskTypeOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] Type of the resource. Always compute#diskType for disk types.
optional string kind = 3292052;- Specified by:
getKindin interfaceDiskTypeOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#diskType for disk types.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceDiskTypeOrBuilder- Returns:
- The bytes for kind.
-
setKind
public DiskType.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#diskType for disk types.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
public DiskType.Builder clearKind()
[Output Only] Type of the resource. Always compute#diskType for disk types.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
public DiskType.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource. Always compute#diskType for disk types.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()
[Output Only] Name of the resource.
optional string name = 3373707;- Specified by:
hasNamein interfaceDiskTypeOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
[Output Only] Name of the resource.
optional string name = 3373707;- Specified by:
getNamein interfaceDiskTypeOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
[Output Only] Name of the resource.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceDiskTypeOrBuilder- Returns:
- The bytes for name.
-
setName
public DiskType.Builder setName(String value)
[Output Only] Name of the resource.
optional string name = 3373707;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public DiskType.Builder clearName()
[Output Only] Name of the resource.
optional string name = 3373707;- Returns:
- This builder for chaining.
-
setNameBytes
public DiskType.Builder setNameBytes(com.google.protobuf.ByteString value)
[Output Only] Name of the resource.
optional string name = 3373707;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasRegion
public boolean hasRegion()
[Output Only] URL of the region where the disk type resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Specified by:
hasRegionin interfaceDiskTypeOrBuilder- Returns:
- Whether the region field is set.
-
getRegion
public String getRegion()
[Output Only] URL of the region where the disk type resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Specified by:
getRegionin interfaceDiskTypeOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()
[Output Only] URL of the region where the disk type resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Specified by:
getRegionBytesin interfaceDiskTypeOrBuilder- Returns:
- The bytes for region.
-
setRegion
public DiskType.Builder setRegion(String value)
[Output Only] URL of the region where the disk type resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
public DiskType.Builder clearRegion()
[Output Only] URL of the region where the disk type resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Returns:
- This builder for chaining.
-
setRegionBytes
public DiskType.Builder setRegionBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the region where the disk type resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceDiskTypeOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceDiskTypeOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceDiskTypeOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
public DiskType.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
public DiskType.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
public DiskType.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
hasValidDiskSize
public boolean hasValidDiskSize()
[Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".
optional string valid_disk_size = 493962464;- Specified by:
hasValidDiskSizein interfaceDiskTypeOrBuilder- Returns:
- Whether the validDiskSize field is set.
-
getValidDiskSize
public String getValidDiskSize()
[Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".
optional string valid_disk_size = 493962464;- Specified by:
getValidDiskSizein interfaceDiskTypeOrBuilder- Returns:
- The validDiskSize.
-
getValidDiskSizeBytes
public com.google.protobuf.ByteString getValidDiskSizeBytes()
[Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".
optional string valid_disk_size = 493962464;- Specified by:
getValidDiskSizeBytesin interfaceDiskTypeOrBuilder- Returns:
- The bytes for validDiskSize.
-
setValidDiskSize
public DiskType.Builder setValidDiskSize(String value)
[Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".
optional string valid_disk_size = 493962464;- Parameters:
value- The validDiskSize to set.- Returns:
- This builder for chaining.
-
clearValidDiskSize
public DiskType.Builder clearValidDiskSize()
[Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".
optional string valid_disk_size = 493962464;- Returns:
- This builder for chaining.
-
setValidDiskSizeBytes
public DiskType.Builder setValidDiskSizeBytes(com.google.protobuf.ByteString value)
[Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".
optional string valid_disk_size = 493962464;- Parameters:
value- The bytes for validDiskSize to set.- Returns:
- This builder for chaining.
-
hasZone
public boolean hasZone()
[Output Only] URL of the zone where the disk type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;- Specified by:
hasZonein interfaceDiskTypeOrBuilder- Returns:
- Whether the zone field is set.
-
getZone
public String getZone()
[Output Only] URL of the zone where the disk type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;- Specified by:
getZonein interfaceDiskTypeOrBuilder- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.ByteString getZoneBytes()
[Output Only] URL of the zone where the disk type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;- Specified by:
getZoneBytesin interfaceDiskTypeOrBuilder- Returns:
- The bytes for zone.
-
setZone
public DiskType.Builder setZone(String value)
[Output Only] URL of the zone where the disk type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;- Parameters:
value- The zone to set.- Returns:
- This builder for chaining.
-
clearZone
public DiskType.Builder clearZone()
[Output Only] URL of the zone where the disk type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;- Returns:
- This builder for chaining.
-
setZoneBytes
public DiskType.Builder setZoneBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the zone where the disk type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;- Parameters:
value- The bytes for zone to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final DiskType.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DiskType.Builder>
-
mergeUnknownFields
public final DiskType.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DiskType.Builder>
-
-