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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
KeyRangeLocation
build()
KeyRangeLocation
buildPartial()
KeyRangeLocation.Builder
clear()
KeyRangeLocation.Builder
clearDataDisk()
The name of the data disk where data for this range is stored.KeyRangeLocation.Builder
clearDeliveryEndpoint()
The physical location of this range assignment to be used for streaming computation cross-worker message delivery.KeyRangeLocation.Builder
clearDeprecatedPersistentDirectory()
Deprecated.google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated.KeyRangeLocation.Builder
clearEnd()
The end (exclusive) of the key range.KeyRangeLocation.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
KeyRangeLocation.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
KeyRangeLocation.Builder
clearStart()
The start (inclusive) of the key range.KeyRangeLocation.Builder
clone()
String
getDataDisk()
The name of the data disk where data for this range is stored.com.google.protobuf.ByteString
getDataDiskBytes()
The name of the data disk where data for this range is stored.KeyRangeLocation
getDefaultInstanceForType()
String
getDeliveryEndpoint()
The physical location of this range assignment to be used for streaming computation cross-worker message delivery.com.google.protobuf.ByteString
getDeliveryEndpointBytes()
The physical location of this range assignment to be used for streaming computation cross-worker message delivery.String
getDeprecatedPersistentDirectory()
Deprecated.google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated.com.google.protobuf.ByteString
getDeprecatedPersistentDirectoryBytes()
Deprecated.google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getEnd()
The end (exclusive) of the key range.com.google.protobuf.ByteString
getEndBytes()
The end (exclusive) of the key range.String
getStart()
The start (inclusive) of the key range.com.google.protobuf.ByteString
getStartBytes()
The start (inclusive) of the key range.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
KeyRangeLocation.Builder
mergeFrom(KeyRangeLocation other)
KeyRangeLocation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
KeyRangeLocation.Builder
mergeFrom(com.google.protobuf.Message other)
KeyRangeLocation.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
KeyRangeLocation.Builder
setDataDisk(String value)
The name of the data disk where data for this range is stored.KeyRangeLocation.Builder
setDataDiskBytes(com.google.protobuf.ByteString value)
The name of the data disk where data for this range is stored.KeyRangeLocation.Builder
setDeliveryEndpoint(String value)
The physical location of this range assignment to be used for streaming computation cross-worker message delivery.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.KeyRangeLocation.Builder
setDeprecatedPersistentDirectory(String value)
Deprecated.google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated.KeyRangeLocation.Builder
setDeprecatedPersistentDirectoryBytes(com.google.protobuf.ByteString value)
Deprecated.google.dataflow.v1beta3.KeyRangeLocation.deprecated_persistent_directory is deprecated.KeyRangeLocation.Builder
setEnd(String value)
The end (exclusive) of the key range.KeyRangeLocation.Builder
setEndBytes(com.google.protobuf.ByteString value)
The end (exclusive) of the key range.KeyRangeLocation.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
KeyRangeLocation.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
KeyRangeLocation.Builder
setStart(String value)
The start (inclusive) of the key range.KeyRangeLocation.Builder
setStartBytes(com.google.protobuf.ByteString value)
The start (inclusive) of the key range.KeyRangeLocation.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyRangeLocation.Builder>
-
clear
public KeyRangeLocation.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyRangeLocation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyRangeLocation.Builder>
-
getDefaultInstanceForType
public KeyRangeLocation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public KeyRangeLocation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public KeyRangeLocation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public KeyRangeLocation.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyRangeLocation.Builder>
-
setField
public KeyRangeLocation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyRangeLocation.Builder>
-
clearField
public KeyRangeLocation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyRangeLocation.Builder>
-
clearOneof
public KeyRangeLocation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyRangeLocation.Builder>
-
setRepeatedField
public KeyRangeLocation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyRangeLocation.Builder>
-
addRepeatedField
public KeyRangeLocation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyRangeLocation.Builder>
-
mergeFrom
public KeyRangeLocation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<KeyRangeLocation.Builder>
-
mergeFrom
public KeyRangeLocation.Builder mergeFrom(KeyRangeLocation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getStart
in interfaceKeyRangeLocationOrBuilder
- Returns:
- The start.
-
getStartBytes
public com.google.protobuf.ByteString getStartBytes()
The start (inclusive) of the key range.
string start = 1;
- Specified by:
getStartBytes
in 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:
getEnd
in interfaceKeyRangeLocationOrBuilder
- Returns:
- The end.
-
getEndBytes
public com.google.protobuf.ByteString getEndBytes()
The end (exclusive) of the key range.
string end = 2;
- Specified by:
getEndBytes
in 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:
getDeliveryEndpoint
in 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:
getDeliveryEndpointBytes
in 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:
getDataDisk
in 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:
getDataDiskBytes
in 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:
getDeprecatedPersistentDirectory
in 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:
getDeprecatedPersistentDirectoryBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyRangeLocation.Builder>
-
mergeUnknownFields
public final KeyRangeLocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyRangeLocation.Builder>
-
-