Class KeyRangeLocation.Builder (0.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public KeyRangeLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
KeyRangeLocation.Builder
Overrides

build()

public KeyRangeLocation build()
Returns
TypeDescription
KeyRangeLocation

buildPartial()

public KeyRangeLocation buildPartial()
Returns
TypeDescription
KeyRangeLocation

clear()

public KeyRangeLocation.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
KeyRangeLocation.Builder

This builder for chaining.

clearEnd()

public KeyRangeLocation.Builder clearEnd()

The end (exclusive) of the key range.

string end = 2;

Returns
TypeDescription
KeyRangeLocation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public KeyRangeLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
KeyRangeLocation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public KeyRangeLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
KeyRangeLocation.Builder
Overrides

clearStart()

public KeyRangeLocation.Builder clearStart()

The start (inclusive) of the key range.

string start = 1;

Returns
TypeDescription
KeyRangeLocation.Builder

This builder for chaining.

clone()

public KeyRangeLocation.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for dataDisk.

getDefaultInstanceForType()

public KeyRangeLocation getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for deprecatedPersistentDirectory.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnd()

public String getEnd()

The end (exclusive) of the key range.

string end = 2;

Returns
TypeDescription
String

The end.

getEndBytes()

public ByteString getEndBytes()

The end (exclusive) of the key range.

string end = 2;

Returns
TypeDescription
ByteString

The bytes for end.

getStart()

public String getStart()

The start (inclusive) of the key range.

string start = 1;

Returns
TypeDescription
String

The start.

getStartBytes()

public ByteString getStartBytes()

The start (inclusive) of the key range.

string start = 1;

Returns
TypeDescription
ByteString

The bytes for start.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(KeyRangeLocation other)

public KeyRangeLocation.Builder mergeFrom(KeyRangeLocation other)
Parameter
NameDescription
otherKeyRangeLocation
Returns
TypeDescription
KeyRangeLocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public KeyRangeLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KeyRangeLocation.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public KeyRangeLocation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
KeyRangeLocation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final KeyRangeLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The dataDisk to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for dataDisk to set.

Returns
TypeDescription
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
NameDescription
valueString

The deliveryEndpoint to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for deliveryEndpoint to set.

Returns
TypeDescription
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
NameDescription
valueString

The deprecatedPersistentDirectory to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for deprecatedPersistentDirectory to set.

Returns
TypeDescription
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
NameDescription
valueString

The end to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for end to set.

Returns
TypeDescription
KeyRangeLocation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public KeyRangeLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
KeyRangeLocation.Builder
Overrides

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

public KeyRangeLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
KeyRangeLocation.Builder
Overrides

setStart(String value)

public KeyRangeLocation.Builder setStart(String value)

The start (inclusive) of the key range.

string start = 1;

Parameter
NameDescription
valueString

The start to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for start to set.

Returns
TypeDescription
KeyRangeLocation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final KeyRangeLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
KeyRangeLocation.Builder
Overrides