- 0.58.0 (latest)
- 0.57.0
- 0.56.0
- 0.55.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.5.0
public static final class Disk.Builder extends GeneratedMessageV3.Builder<Disk.Builder> implements DiskOrBuilder
Describes the data disk used by a workflow job.
Protobuf type google.dataflow.v1beta3.Disk
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Disk.BuilderImplements
DiskOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Disk.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Disk.Builder |
build()
public Disk build()
Returns | |
---|---|
Type | Description |
Disk |
buildPartial()
public Disk buildPartial()
Returns | |
---|---|
Type | Description |
Disk |
clear()
public Disk.Builder clear()
Returns | |
---|---|
Type | Description |
Disk.Builder |
clearDiskType()
public Disk.Builder clearDiskType()
Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default.
For example, the standard persistent disk type is a resource name typically ending in "pd-standard". If SSD persistent disks are available, the resource name typically ends with "pd-ssd". The actual valid values are defined the Google Compute Engine API, not by the Cloud Dataflow API; consult the Google Compute Engine documentation for more information about determining the set of available disk types for a particular project and zone.
Google Compute Engine Disk types are local to a particular project in a particular zone, and so the resource name will typically look something like this:
compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard
string disk_type = 2;
Returns | |
---|---|
Type | Description |
Disk.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Disk.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Disk.Builder |
clearMountPoint()
public Disk.Builder clearMountPoint()
Directory in a VM where disk is mounted.
string mount_point = 3;
Returns | |
---|---|
Type | Description |
Disk.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Disk.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Disk.Builder |
clearSizeGb()
public Disk.Builder clearSizeGb()
Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
int32 size_gb = 1;
Returns | |
---|---|
Type | Description |
Disk.Builder |
This builder for chaining. |
clone()
public Disk.Builder clone()
Returns | |
---|---|
Type | Description |
Disk.Builder |
getDefaultInstanceForType()
public Disk getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Disk |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDiskType()
public String getDiskType()
Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default.
For example, the standard persistent disk type is a resource name typically ending in "pd-standard". If SSD persistent disks are available, the resource name typically ends with "pd-ssd". The actual valid values are defined the Google Compute Engine API, not by the Cloud Dataflow API; consult the Google Compute Engine documentation for more information about determining the set of available disk types for a particular project and zone.
Google Compute Engine Disk types are local to a particular project in a particular zone, and so the resource name will typically look something like this:
compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard
string disk_type = 2;
Returns | |
---|---|
Type | Description |
String |
The diskType. |
getDiskTypeBytes()
public ByteString getDiskTypeBytes()
Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default.
For example, the standard persistent disk type is a resource name typically ending in "pd-standard". If SSD persistent disks are available, the resource name typically ends with "pd-ssd". The actual valid values are defined the Google Compute Engine API, not by the Cloud Dataflow API; consult the Google Compute Engine documentation for more information about determining the set of available disk types for a particular project and zone.
Google Compute Engine Disk types are local to a particular project in a particular zone, and so the resource name will typically look something like this:
compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard
string disk_type = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for diskType. |
getMountPoint()
public String getMountPoint()
Directory in a VM where disk is mounted.
string mount_point = 3;
Returns | |
---|---|
Type | Description |
String |
The mountPoint. |
getMountPointBytes()
public ByteString getMountPointBytes()
Directory in a VM where disk is mounted.
string mount_point = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for mountPoint. |
getSizeGb()
public int getSizeGb()
Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
int32 size_gb = 1;
Returns | |
---|---|
Type | Description |
int |
The sizeGb. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Disk other)
public Disk.Builder mergeFrom(Disk other)
Parameter | |
---|---|
Name | Description |
other |
Disk |
Returns | |
---|---|
Type | Description |
Disk.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Disk.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Disk.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Disk.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Disk.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Disk.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Disk.Builder |
setDiskType(String value)
public Disk.Builder setDiskType(String value)
Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default.
For example, the standard persistent disk type is a resource name typically ending in "pd-standard". If SSD persistent disks are available, the resource name typically ends with "pd-ssd". The actual valid values are defined the Google Compute Engine API, not by the Cloud Dataflow API; consult the Google Compute Engine documentation for more information about determining the set of available disk types for a particular project and zone.
Google Compute Engine Disk types are local to a particular project in a particular zone, and so the resource name will typically look something like this:
compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard
string disk_type = 2;
Parameter | |
---|---|
Name | Description |
value |
String The diskType to set. |
Returns | |
---|---|
Type | Description |
Disk.Builder |
This builder for chaining. |
setDiskTypeBytes(ByteString value)
public Disk.Builder setDiskTypeBytes(ByteString value)
Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default.
For example, the standard persistent disk type is a resource name typically ending in "pd-standard". If SSD persistent disks are available, the resource name typically ends with "pd-ssd". The actual valid values are defined the Google Compute Engine API, not by the Cloud Dataflow API; consult the Google Compute Engine documentation for more information about determining the set of available disk types for a particular project and zone.
Google Compute Engine Disk types are local to a particular project in a particular zone, and so the resource name will typically look something like this:
compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard
string disk_type = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for diskType to set. |
Returns | |
---|---|
Type | Description |
Disk.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Disk.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Disk.Builder |
setMountPoint(String value)
public Disk.Builder setMountPoint(String value)
Directory in a VM where disk is mounted.
string mount_point = 3;
Parameter | |
---|---|
Name | Description |
value |
String The mountPoint to set. |
Returns | |
---|---|
Type | Description |
Disk.Builder |
This builder for chaining. |
setMountPointBytes(ByteString value)
public Disk.Builder setMountPointBytes(ByteString value)
Directory in a VM where disk is mounted.
string mount_point = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for mountPoint to set. |
Returns | |
---|---|
Type | Description |
Disk.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Disk.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Disk.Builder |
setSizeGb(int value)
public Disk.Builder setSizeGb(int value)
Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
int32 size_gb = 1;
Parameter | |
---|---|
Name | Description |
value |
int The sizeGb to set. |
Returns | |
---|---|
Type | Description |
Disk.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Disk.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Disk.Builder |