Class KeyRangeDataDiskAssignment.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<KeyRangeDataDiskAssignment.Builder>
com.google.dataflow.v1beta3.KeyRangeDataDiskAssignment.Builder
All Implemented Interfaces:
KeyRangeDataDiskAssignmentOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
KeyRangeDataDiskAssignment

public static final class KeyRangeDataDiskAssignment.Builder extends com.google.protobuf.GeneratedMessage.Builder<KeyRangeDataDiskAssignment.Builder> implements KeyRangeDataDiskAssignmentOrBuilder
 Data disk assignment 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.KeyRangeDataDiskAssignment
  • 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<KeyRangeDataDiskAssignment.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<KeyRangeDataDiskAssignment.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<KeyRangeDataDiskAssignment.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public KeyRangeDataDiskAssignment.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<KeyRangeDataDiskAssignment.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<KeyRangeDataDiskAssignment.Builder>
    • mergeFrom

      public KeyRangeDataDiskAssignment.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<KeyRangeDataDiskAssignment.Builder>
      Throws:
      IOException
    • getStart

      public String getStart()
       The start (inclusive) of the key range.
       
      string start = 1;
      Specified by:
      getStart in interface KeyRangeDataDiskAssignmentOrBuilder
      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 KeyRangeDataDiskAssignmentOrBuilder
      Returns:
      The bytes for start.
    • setStart

      public KeyRangeDataDiskAssignment.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

       The start (inclusive) of the key range.
       
      string start = 1;
      Returns:
      This builder for chaining.
    • setStartBytes

      public KeyRangeDataDiskAssignment.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 KeyRangeDataDiskAssignmentOrBuilder
      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 KeyRangeDataDiskAssignmentOrBuilder
      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

      public KeyRangeDataDiskAssignment.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.
    • 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 = 3;
      Specified by:
      getDataDisk in interface KeyRangeDataDiskAssignmentOrBuilder
      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 = 3;
      Specified by:
      getDataDiskBytes in interface KeyRangeDataDiskAssignmentOrBuilder
      Returns:
      The bytes for dataDisk.
    • setDataDisk

      public KeyRangeDataDiskAssignment.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 = 3;
      Parameters:
      value - The dataDisk to set.
      Returns:
      This builder for chaining.
    • clearDataDisk

      public KeyRangeDataDiskAssignment.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 = 3;
      Returns:
      This builder for chaining.
    • setDataDiskBytes

      public KeyRangeDataDiskAssignment.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 = 3;
      Parameters:
      value - The bytes for dataDisk to set.
      Returns:
      This builder for chaining.