Class KeyRangeLocation.Builder (0.47.0)

public static final class KeyRangeLocation.Builder extends GeneratedMessageV3.Builder<KeyRangeLocation.Builder> implements KeyRangeLocationOrBuilder

Location information for a specific key-range of a sharded computation. Currently we only support UTF-8 character splits to simplify encoding into JSON.

Protobuf type google.dataflow.v1beta3.KeyRangeLocation

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public KeyRangeLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
KeyRangeLocation.Builder
Overrides

build()

public KeyRangeLocation build()
Returns
Type Description
KeyRangeLocation

buildPartial()

public KeyRangeLocation buildPartial()
Returns
Type Description
KeyRangeLocation

clear()

public KeyRangeLocation.Builder clear()
Returns
Type Description
KeyRangeLocation.Builder
Overrides

clearDataDisk()

public KeyRangeLocation.Builder clearDataDisk()

The name of the data disk where data for this range is stored. This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example "myproject-1014-104817-4c2-harness-0-disk-1".

string data_disk = 5;

Returns
Type Description
KeyRangeLocation.Builder

This builder for chaining.

clearDeliveryEndpoint()

public KeyRangeLocation.Builder clearDeliveryEndpoint()

The physical location of this range assignment to be used for streaming computation cross-worker message delivery.

string delivery_endpoint = 3;

Returns
Type Description
KeyRangeLocation.Builder

This builder for chaining.

clearDeprecatedPersistentDirectory() (deprecated)

public KeyRangeLocation.Builder clearDeprecatedPersistentDirectory()

Deprecated. google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated. See google/dataflow/v1beta3/streaming.proto;l=170

DEPRECATED. The location of the persistent state for this range, as a persistent directory in the worker local filesystem.

string deprecated_persistent_directory = 4 [deprecated = true];

Returns
Type Description
KeyRangeLocation.Builder

This builder for chaining.

clearEnd()

public KeyRangeLocation.Builder clearEnd()

The end (exclusive) of the key range.

string end = 2;

Returns
Type Description
KeyRangeLocation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public KeyRangeLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
KeyRangeLocation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public KeyRangeLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
KeyRangeLocation.Builder
Overrides

clearStart()

public KeyRangeLocation.Builder clearStart()

The start (inclusive) of the key range.

string start = 1;

Returns
Type Description
KeyRangeLocation.Builder

This builder for chaining.

clone()

public KeyRangeLocation.Builder clone()
Returns
Type Description
KeyRangeLocation.Builder
Overrides

getDataDisk()

public String getDataDisk()

The name of the data disk where data for this range is stored. This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example "myproject-1014-104817-4c2-harness-0-disk-1".

string data_disk = 5;

Returns
Type Description
String

The dataDisk.

getDataDiskBytes()

public ByteString getDataDiskBytes()

The name of the data disk where data for this range is stored. This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example "myproject-1014-104817-4c2-harness-0-disk-1".

string data_disk = 5;

Returns
Type Description
ByteString

The bytes for dataDisk.

getDefaultInstanceForType()

public KeyRangeLocation getDefaultInstanceForType()
Returns
Type Description
KeyRangeLocation

getDeliveryEndpoint()

public String getDeliveryEndpoint()

The physical location of this range assignment to be used for streaming computation cross-worker message delivery.

string delivery_endpoint = 3;

Returns
Type Description
String

The deliveryEndpoint.

getDeliveryEndpointBytes()

public ByteString getDeliveryEndpointBytes()

The physical location of this range assignment to be used for streaming computation cross-worker message delivery.

string delivery_endpoint = 3;

Returns
Type Description
ByteString

The bytes for deliveryEndpoint.

getDeprecatedPersistentDirectory() (deprecated)

public String getDeprecatedPersistentDirectory()

Deprecated. google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated. See google/dataflow/v1beta3/streaming.proto;l=170

DEPRECATED. The location of the persistent state for this range, as a persistent directory in the worker local filesystem.

string deprecated_persistent_directory = 4 [deprecated = true];

Returns
Type Description
String

The deprecatedPersistentDirectory.

getDeprecatedPersistentDirectoryBytes() (deprecated)

public ByteString getDeprecatedPersistentDirectoryBytes()

Deprecated. google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated. See google/dataflow/v1beta3/streaming.proto;l=170

DEPRECATED. The location of the persistent state for this range, as a persistent directory in the worker local filesystem.

string deprecated_persistent_directory = 4 [deprecated = true];

Returns
Type Description
ByteString

The bytes for deprecatedPersistentDirectory.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnd()

public String getEnd()

The end (exclusive) of the key range.

string end = 2;

Returns
Type Description
String

The end.

getEndBytes()

public ByteString getEndBytes()

The end (exclusive) of the key range.

string end = 2;

Returns
Type Description
ByteString

The bytes for end.

getStart()

public String getStart()

The start (inclusive) of the key range.

string start = 1;

Returns
Type Description
String

The start.

getStartBytes()

public ByteString getStartBytes()

The start (inclusive) of the key range.

string start = 1;

Returns
Type Description
ByteString

The bytes for start.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(KeyRangeLocation other)

public KeyRangeLocation.Builder mergeFrom(KeyRangeLocation other)
Parameter
Name Description
other KeyRangeLocation
Returns
Type Description
KeyRangeLocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public KeyRangeLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KeyRangeLocation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public KeyRangeLocation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
KeyRangeLocation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final KeyRangeLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
KeyRangeLocation.Builder
Overrides

setDataDisk(String value)

public KeyRangeLocation.Builder setDataDisk(String value)

The name of the data disk where data for this range is stored. This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example "myproject-1014-104817-4c2-harness-0-disk-1".

string data_disk = 5;

Parameter
Name Description
value String

The dataDisk to set.

Returns
Type Description
KeyRangeLocation.Builder

This builder for chaining.

setDataDiskBytes(ByteString value)

public KeyRangeLocation.Builder setDataDiskBytes(ByteString value)

The name of the data disk where data for this range is stored. This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example "myproject-1014-104817-4c2-harness-0-disk-1".

string data_disk = 5;

Parameter
Name Description
value ByteString

The bytes for dataDisk to set.

Returns
Type Description
KeyRangeLocation.Builder

This builder for chaining.

setDeliveryEndpoint(String value)

public KeyRangeLocation.Builder setDeliveryEndpoint(String value)

The physical location of this range assignment to be used for streaming computation cross-worker message delivery.

string delivery_endpoint = 3;

Parameter
Name Description
value String

The deliveryEndpoint to set.

Returns
Type Description
KeyRangeLocation.Builder

This builder for chaining.

setDeliveryEndpointBytes(ByteString value)

public KeyRangeLocation.Builder setDeliveryEndpointBytes(ByteString value)

The physical location of this range assignment to be used for streaming computation cross-worker message delivery.

string delivery_endpoint = 3;

Parameter
Name Description
value ByteString

The bytes for deliveryEndpoint to set.

Returns
Type Description
KeyRangeLocation.Builder

This builder for chaining.

setDeprecatedPersistentDirectory(String value) (deprecated)

public KeyRangeLocation.Builder setDeprecatedPersistentDirectory(String value)

Deprecated. google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated. See google/dataflow/v1beta3/streaming.proto;l=170

DEPRECATED. The location of the persistent state for this range, as a persistent directory in the worker local filesystem.

string deprecated_persistent_directory = 4 [deprecated = true];

Parameter
Name Description
value String

The deprecatedPersistentDirectory to set.

Returns
Type Description
KeyRangeLocation.Builder

This builder for chaining.

setDeprecatedPersistentDirectoryBytes(ByteString value) (deprecated)

public KeyRangeLocation.Builder setDeprecatedPersistentDirectoryBytes(ByteString value)

Deprecated. google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated. See google/dataflow/v1beta3/streaming.proto;l=170

DEPRECATED. The location of the persistent state for this range, as a persistent directory in the worker local filesystem.

string deprecated_persistent_directory = 4 [deprecated = true];

Parameter
Name Description
value ByteString

The bytes for deprecatedPersistentDirectory to set.

Returns
Type Description
KeyRangeLocation.Builder

This builder for chaining.

setEnd(String value)

public KeyRangeLocation.Builder setEnd(String value)

The end (exclusive) of the key range.

string end = 2;

Parameter
Name Description
value String

The end to set.

Returns
Type Description
KeyRangeLocation.Builder

This builder for chaining.

setEndBytes(ByteString value)

public KeyRangeLocation.Builder setEndBytes(ByteString value)

The end (exclusive) of the key range.

string end = 2;

Parameter
Name Description
value ByteString

The bytes for end to set.

Returns
Type Description
KeyRangeLocation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public KeyRangeLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
KeyRangeLocation.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public KeyRangeLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
KeyRangeLocation.Builder
Overrides

setStart(String value)

public KeyRangeLocation.Builder setStart(String value)

The start (inclusive) of the key range.

string start = 1;

Parameter
Name Description
value String

The start to set.

Returns
Type Description
KeyRangeLocation.Builder

This builder for chaining.

setStartBytes(ByteString value)

public KeyRangeLocation.Builder setStartBytes(ByteString value)

The start (inclusive) of the key range.

string start = 1;

Parameter
Name Description
value ByteString

The bytes for start to set.

Returns
Type Description
KeyRangeLocation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final KeyRangeLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
KeyRangeLocation.Builder
Overrides