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.GeneratedMessageV3.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.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 typegoogle.dataflow.v1beta3.KeyRangeLocation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description KeyRangeLocation.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)KeyRangeLocationbuild()KeyRangeLocationbuildPartial()KeyRangeLocation.Builderclear()KeyRangeLocation.BuilderclearDataDisk()The name of the data disk where data for this range is stored.KeyRangeLocation.BuilderclearDeliveryEndpoint()The physical location of this range assignment to be used for streaming computation cross-worker message delivery.KeyRangeLocation.BuilderclearDeprecatedPersistentDirectory()Deprecated.google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated.KeyRangeLocation.BuilderclearEnd()The end (exclusive) of the key range.KeyRangeLocation.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)KeyRangeLocation.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)KeyRangeLocation.BuilderclearStart()The start (inclusive) of the key range.KeyRangeLocation.Builderclone()StringgetDataDisk()The name of the data disk where data for this range is stored.com.google.protobuf.ByteStringgetDataDiskBytes()The name of the data disk where data for this range is stored.KeyRangeLocationgetDefaultInstanceForType()StringgetDeliveryEndpoint()The physical location of this range assignment to be used for streaming computation cross-worker message delivery.com.google.protobuf.ByteStringgetDeliveryEndpointBytes()The physical location of this range assignment to be used for streaming computation cross-worker message delivery.StringgetDeprecatedPersistentDirectory()Deprecated.google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated.com.google.protobuf.ByteStringgetDeprecatedPersistentDirectoryBytes()Deprecated.google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetEnd()The end (exclusive) of the key range.com.google.protobuf.ByteStringgetEndBytes()The end (exclusive) of the key range.StringgetStart()The start (inclusive) of the key range.com.google.protobuf.ByteStringgetStartBytes()The start (inclusive) of the key range.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()KeyRangeLocation.BuildermergeFrom(KeyRangeLocation other)KeyRangeLocation.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)KeyRangeLocation.BuildermergeFrom(com.google.protobuf.Message other)KeyRangeLocation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)KeyRangeLocation.BuildersetDataDisk(String value)The name of the data disk where data for this range is stored.KeyRangeLocation.BuildersetDataDiskBytes(com.google.protobuf.ByteString value)The name of the data disk where data for this range is stored.KeyRangeLocation.BuildersetDeliveryEndpoint(String value)The physical location of this range assignment to be used for streaming computation cross-worker message delivery.KeyRangeLocation.BuildersetDeliveryEndpointBytes(com.google.protobuf.ByteString value)The physical location of this range assignment to be used for streaming computation cross-worker message delivery.KeyRangeLocation.BuildersetDeprecatedPersistentDirectory(String value)Deprecated.google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated.KeyRangeLocation.BuildersetDeprecatedPersistentDirectoryBytes(com.google.protobuf.ByteString value)Deprecated.google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated.KeyRangeLocation.BuildersetEnd(String value)The end (exclusive) of the key range.KeyRangeLocation.BuildersetEndBytes(com.google.protobuf.ByteString value)The end (exclusive) of the key range.KeyRangeLocation.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)KeyRangeLocation.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)KeyRangeLocation.BuildersetStart(String value)The start (inclusive) of the key range.KeyRangeLocation.BuildersetStartBytes(com.google.protobuf.ByteString value)The start (inclusive) of the key range.KeyRangeLocation.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
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<KeyRangeLocation.Builder>
-
clear
public KeyRangeLocation.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<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.GeneratedMessageV3.Builder<KeyRangeLocation.Builder>
-
getDefaultInstanceForType
public KeyRangeLocation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public KeyRangeLocation build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public KeyRangeLocation buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public KeyRangeLocation.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<KeyRangeLocation.Builder>
-
setField
public KeyRangeLocation.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<KeyRangeLocation.Builder>
-
clearField
public KeyRangeLocation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<KeyRangeLocation.Builder>
-
clearOneof
public KeyRangeLocation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<KeyRangeLocation.Builder>
-
setRepeatedField
public KeyRangeLocation.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<KeyRangeLocation.Builder>
-
addRepeatedField
public KeyRangeLocation.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<KeyRangeLocation.Builder>
-
mergeFrom
public KeyRangeLocation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<KeyRangeLocation.Builder>
-
mergeFrom
public KeyRangeLocation.Builder mergeFrom(KeyRangeLocation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public String 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
public KeyRangeLocation.Builder setStart(String value)
The start (inclusive) of the key range.
string start = 1;- Parameters:
value- The start to set.- Returns:
- This builder for chaining.
-
clearStart
public KeyRangeLocation.Builder clearStart()
The start (inclusive) of the key range.
string start = 1;- Returns:
- This builder for chaining.
-
setStartBytes
public KeyRangeLocation.Builder setStartBytes(com.google.protobuf.ByteString value)
The start (inclusive) of the key range.
string start = 1;- Parameters:
value- The bytes for start to set.- Returns:
- This builder for chaining.
-
getEnd
public String 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
public KeyRangeLocation.Builder setEnd(String value)
The end (exclusive) of the key range.
string end = 2;- Parameters:
value- The end to set.- Returns:
- This builder for chaining.
-
clearEnd
public KeyRangeLocation.Builder clearEnd()
The end (exclusive) of the key range.
string end = 2;- Returns:
- This builder for chaining.
-
setEndBytes
public KeyRangeLocation.Builder setEndBytes(com.google.protobuf.ByteString value)
The end (exclusive) of the key range.
string end = 2;- Parameters:
value- The bytes for end to set.- Returns:
- This builder for chaining.
-
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;- 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
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;- Parameters:
value- The deliveryEndpoint to set.- Returns:
- 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:
- This builder for chaining.
-
setDeliveryEndpointBytes
public KeyRangeLocation.Builder setDeliveryEndpointBytes(com.google.protobuf.ByteString value)
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
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;- 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
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;- Parameters:
value- The dataDisk to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setDataDiskBytes
public KeyRangeLocation.Builder setDataDiskBytes(com.google.protobuf.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;- Parameters:
value- The bytes for dataDisk to set.- Returns:
- This builder for chaining.
-
getDeprecatedPersistentDirectory
@Deprecated public String getDeprecatedPersistentDirectory()
Deprecated.google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated. See google/dataflow/v1beta3/streaming.proto;l=170DEPRECATED. 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 public com.google.protobuf.ByteString getDeprecatedPersistentDirectoryBytes()
Deprecated.google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated. See google/dataflow/v1beta3/streaming.proto;l=170DEPRECATED. 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 public KeyRangeLocation.Builder setDeprecatedPersistentDirectory(String value)
Deprecated.google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated. See google/dataflow/v1beta3/streaming.proto;l=170DEPRECATED. 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 public KeyRangeLocation.Builder clearDeprecatedPersistentDirectory()
Deprecated.google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated. See google/dataflow/v1beta3/streaming.proto;l=170DEPRECATED. 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=170DEPRECATED. 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.
-
setUnknownFields
public final KeyRangeLocation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<KeyRangeLocation.Builder>
-
mergeUnknownFields
public final KeyRangeLocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<KeyRangeLocation.Builder>
-
-