Package com.google.dataflow.v1beta3
Class KeyRangeLocation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<KeyRangeLocation.Builder>
com.google.dataflow.v1beta3.KeyRangeLocation.Builder
- All Implemented Interfaces:
KeyRangeLocationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- KeyRangeLocation
public static final class KeyRangeLocation.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The name of the data disk where data for this range is stored.The physical location of this range assignment to be used for streaming computation cross-worker message delivery.Deprecated.google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated.clearEnd()The end (exclusive) of the key range.The start (inclusive) of the key range.The name of the data disk where data for this range is stored.com.google.protobuf.ByteStringThe name of the data disk where data for this range is stored.The physical location of this range assignment to be used for streaming computation cross-worker message delivery.com.google.protobuf.ByteStringThe physical location of this range assignment to be used for streaming computation cross-worker message delivery.Deprecated.google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated.com.google.protobuf.ByteStringDeprecated.google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEnd()The end (exclusive) of the key range.com.google.protobuf.ByteStringThe end (exclusive) of the key range.getStart()The start (inclusive) of the key range.com.google.protobuf.ByteStringThe start (inclusive) of the key range.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(KeyRangeLocation other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDataDisk(String value) The name of the data disk where data for this range is stored.setDataDiskBytes(com.google.protobuf.ByteString value) The name of the data disk where data for this range is stored.setDeliveryEndpoint(String value) The physical location of this range assignment to be used for streaming computation cross-worker message delivery.setDeliveryEndpointBytes(com.google.protobuf.ByteString value) The physical location of this range assignment to be used for streaming computation cross-worker message delivery.Deprecated.google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated.setDeprecatedPersistentDirectoryBytes(com.google.protobuf.ByteString value) Deprecated.google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated.The end (exclusive) of the key range.setEndBytes(com.google.protobuf.ByteString value) The end (exclusive) of the key range.The start (inclusive) of the key range.setStartBytes(com.google.protobuf.ByteString value) The start (inclusive) of the key range.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<KeyRangeLocation.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<KeyRangeLocation.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<KeyRangeLocation.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<KeyRangeLocation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<KeyRangeLocation.Builder>
-
mergeFrom
public KeyRangeLocation.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<KeyRangeLocation.Builder>- Throws:
IOException
-
getStart
The start (inclusive) of the key range.
string start = 1;- Specified by:
getStartin interfaceKeyRangeLocationOrBuilder- Returns:
- The start.
-
getStartBytes
public com.google.protobuf.ByteString getStartBytes()The start (inclusive) of the key range.
string start = 1;- Specified by:
getStartBytesin interfaceKeyRangeLocationOrBuilder- Returns:
- The bytes for start.
-
setStart
The start (inclusive) of the key range.
string start = 1;- Parameters:
value- The start to set.- Returns:
- This builder for chaining.
-
clearStart
The start (inclusive) of the key range.
string start = 1;- Returns:
- This builder for chaining.
-
setStartBytes
The start (inclusive) of the key range.
string start = 1;- Parameters:
value- The bytes for start to set.- Returns:
- This builder for chaining.
-
getEnd
The end (exclusive) of the key range.
string end = 2;- Specified by:
getEndin interfaceKeyRangeLocationOrBuilder- Returns:
- The end.
-
getEndBytes
public com.google.protobuf.ByteString getEndBytes()The end (exclusive) of the key range.
string end = 2;- Specified by:
getEndBytesin interfaceKeyRangeLocationOrBuilder- Returns:
- The bytes for end.
-
setEnd
The end (exclusive) of the key range.
string end = 2;- Parameters:
value- The end to set.- Returns:
- This builder for chaining.
-
clearEnd
The end (exclusive) of the key range.
string end = 2;- Returns:
- This builder for chaining.
-
setEndBytes
The end (exclusive) of the key range.
string end = 2;- Parameters:
value- The bytes for end to set.- Returns:
- This builder for chaining.
-
getDeliveryEndpoint
The physical location of this range assignment to be used for streaming computation cross-worker message delivery.
string delivery_endpoint = 3;- Specified by:
getDeliveryEndpointin interfaceKeyRangeLocationOrBuilder- Returns:
- The deliveryEndpoint.
-
getDeliveryEndpointBytes
public com.google.protobuf.ByteString getDeliveryEndpointBytes()The physical location of this range assignment to be used for streaming computation cross-worker message delivery.
string delivery_endpoint = 3;- Specified by:
getDeliveryEndpointBytesin interfaceKeyRangeLocationOrBuilder- Returns:
- The bytes for deliveryEndpoint.
-
setDeliveryEndpoint
The physical location of this range assignment to be used for streaming computation cross-worker message delivery.
string delivery_endpoint = 3;- Parameters:
value- The deliveryEndpoint to set.- Returns:
- This builder for chaining.
-
clearDeliveryEndpoint
The physical location of this range assignment to be used for streaming computation cross-worker message delivery.
string delivery_endpoint = 3;- Returns:
- This builder for chaining.
-
setDeliveryEndpointBytes
The physical location of this range assignment to be used for streaming computation cross-worker message delivery.
string delivery_endpoint = 3;- Parameters:
value- The bytes for deliveryEndpoint to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getDataDiskin interfaceKeyRangeLocationOrBuilder- Returns:
- The dataDisk.
-
getDataDiskBytes
public com.google.protobuf.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;- Specified by:
getDataDiskBytesin interfaceKeyRangeLocationOrBuilder- Returns:
- The bytes for dataDisk.
-
setDataDisk
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;- Parameters:
value- The dataDisk to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setDataDiskBytes
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;- Parameters:
value- The bytes for dataDisk to set.- Returns:
- This builder for chaining.
-
getDeprecatedPersistentDirectory
Deprecated.google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated. See google/dataflow/v1beta3/streaming.proto;l=173DEPRECATED. 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];- Specified by:
getDeprecatedPersistentDirectoryin interfaceKeyRangeLocationOrBuilder- Returns:
- The deprecatedPersistentDirectory.
-
getDeprecatedPersistentDirectoryBytes
Deprecated.google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated. See google/dataflow/v1beta3/streaming.proto;l=173DEPRECATED. 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];- Specified by:
getDeprecatedPersistentDirectoryBytesin interfaceKeyRangeLocationOrBuilder- Returns:
- The bytes for deprecatedPersistentDirectory.
-
setDeprecatedPersistentDirectory
Deprecated.google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated. See google/dataflow/v1beta3/streaming.proto;l=173DEPRECATED. 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];- Parameters:
value- The deprecatedPersistentDirectory to set.- Returns:
- This builder for chaining.
-
clearDeprecatedPersistentDirectory
Deprecated.google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated. See google/dataflow/v1beta3/streaming.proto;l=173DEPRECATED. 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:
- This builder for chaining.
-
setDeprecatedPersistentDirectoryBytes
@Deprecated public KeyRangeLocation.Builder setDeprecatedPersistentDirectoryBytes(com.google.protobuf.ByteString value) Deprecated.google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated. See google/dataflow/v1beta3/streaming.proto;l=173DEPRECATED. 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];- Parameters:
value- The bytes for deprecatedPersistentDirectory to set.- Returns:
- This builder for chaining.
-