Class 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.GeneratedMessageV3.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 Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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

        public KeyRangeDataDiskAssignment 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • 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.
      • 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.
      • setEnd

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

        public final KeyRangeDataDiskAssignment.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<KeyRangeDataDiskAssignment.Builder>
      • mergeUnknownFields

        public final KeyRangeDataDiskAssignment.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<KeyRangeDataDiskAssignment.Builder>