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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<KeyRangeLocation.Builder>
    • clear

      public KeyRangeLocation.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<KeyRangeLocation.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<KeyRangeLocation.Builder>
    • getDefaultInstanceForType

      public KeyRangeLocation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public KeyRangeLocation build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public KeyRangeLocation buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public KeyRangeLocation.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<KeyRangeLocation.Builder>
    • mergeFrom

      public KeyRangeLocation.Builder mergeFrom(KeyRangeLocation other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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 interface KeyRangeLocationOrBuilder
      Returns:
      The start.
    • getStartBytes

      public com.google.protobuf.ByteString getStartBytes()
       The start (inclusive) of the key range.
       
      string start = 1;
      Specified by:
      getStartBytes in interface KeyRangeLocationOrBuilder
      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 interface KeyRangeLocationOrBuilder
      Returns:
      The end.
    • getEndBytes

      public com.google.protobuf.ByteString getEndBytes()
       The end (exclusive) of the key range.
       
      string end = 2;
      Specified by:
      getEndBytes in interface KeyRangeLocationOrBuilder
      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 interface KeyRangeLocationOrBuilder
      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 interface KeyRangeLocationOrBuilder
      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 interface KeyRangeLocationOrBuilder
      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 interface KeyRangeLocationOrBuilder
      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=173
       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];
      Specified by:
      getDeprecatedPersistentDirectory in interface KeyRangeLocationOrBuilder
      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=173
       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];
      Specified by:
      getDeprecatedPersistentDirectoryBytes in interface KeyRangeLocationOrBuilder
      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=173
       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];
      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=173
       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:
      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=173
       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];
      Parameters:
      value - The bytes for deprecatedPersistentDirectory to set.
      Returns:
      This builder for chaining.