org.apache.hadoop.mapreduce.v2.proto

## Class MRProtos.TaskAttemptIdProto.Builder

- java.lang.Object
- - com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
  - - com.google.protobuf.AbstractMessage.Builder<BuilderType>
    - - com.google.protobuf.GeneratedMessage.Builder<MRProtos.TaskAttemptIdProto.Builder>
      - - org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptIdProto.Builder

- All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, MRProtos.TaskAttemptIdProtoOrBuilder
  Enclosing class:
    MRProtos.TaskAttemptIdProto

      public static final class MRProtos.TaskAttemptIdProto.Builder
      extends com.google.protobuf.GeneratedMessage.Builder<MRProtos.TaskAttemptIdProto.Builder>
      implements MRProtos.TaskAttemptIdProtoOrBuilder

  Protobuf type `hadoop.mapreduce.TaskAttemptIdProto`

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `MRProtos.TaskAttemptIdProto` | `build()`
    `MRProtos.TaskAttemptIdProto` | `buildPartial()`
    `MRProtos.TaskAttemptIdProto.Builder` | `clear()`
    `MRProtos.TaskAttemptIdProto.Builder` | `clearId()` `optional int32 id = 2;`
    `MRProtos.TaskAttemptIdProto.Builder` | `clearTaskId()` `optional .hadoop.mapreduce.TaskIdProto task_id = 1;`
    `MRProtos.TaskAttemptIdProto.Builder` | `clone()`
    `MRProtos.TaskAttemptIdProto` | `getDefaultInstanceForType()`
    `static com.google.protobuf.Descriptors.Descriptor` | `getDescriptor()`
    `com.google.protobuf.Descriptors.Descriptor` | `getDescriptorForType()`
    `int` | `getId()` `optional int32 id = 2;`
    `MRProtos.TaskIdProto` | `getTaskId()` `optional .hadoop.mapreduce.TaskIdProto task_id = 1;`
    `MRProtos.TaskIdProto.Builder` | `getTaskIdBuilder()` `optional .hadoop.mapreduce.TaskIdProto task_id = 1;`
    `MRProtos.TaskIdProtoOrBuilder` | `getTaskIdOrBuilder()` `optional .hadoop.mapreduce.TaskIdProto task_id = 1;`
    `boolean` | `hasId()` `optional int32 id = 2;`
    `boolean` | `hasTaskId()` `optional .hadoop.mapreduce.TaskIdProto task_id = 1;`
    `protected com.google.protobuf.GeneratedMessage.FieldAccessorTable` | `internalGetFieldAccessorTable()`
    `boolean` | `isInitialized()`
    `MRProtos.TaskAttemptIdProto.Builder` | `mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)`
    `MRProtos.TaskAttemptIdProto.Builder` | `mergeFrom(com.google.protobuf.Message other)`
    `MRProtos.TaskAttemptIdProto.Builder` | `mergeFrom(MRProtos.TaskAttemptIdProto other)`
    `MRProtos.TaskAttemptIdProto.Builder` | `mergeTaskId(MRProtos.TaskIdProto value)` `optional .hadoop.mapreduce.TaskIdProto task_id = 1;`
    `MRProtos.TaskAttemptIdProto.Builder` | `setId(int value)` `optional int32 id = 2;`
    `MRProtos.TaskAttemptIdProto.Builder` | `setTaskId(MRProtos.TaskIdProto.Builder builderForValue)` `optional .hadoop.mapreduce.TaskIdProto task_id = 1;`
    `MRProtos.TaskAttemptIdProto.Builder` | `setTaskId(MRProtos.TaskIdProto value)` `optional .hadoop.mapreduce.TaskIdProto task_id = 1;`

    - ### Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

      `addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields`

    - ### Methods inherited from class com.google.protobuf.AbstractMessage.Builder

      `findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException`

    - ### Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

      `addAll, newUninitializedMessageException`

    - ### Methods inherited from class java.lang.Object

      `equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface com.google.protobuf.MessageOrBuilder

      `findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField`

- - ### Method Detail

    - #### 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<MRProtos.TaskAttemptIdProto.Builder>`

    - #### clear

          public MRProtos.TaskAttemptIdProto.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<MRProtos.TaskAttemptIdProto.Builder>`

    - #### clone

          public MRProtos.TaskAttemptIdProto.Builder clone()

      Specified by:
        `clone` in interface `com.google.protobuf.Message.Builder`
      Specified by:
        `clone` in interface `com.google.protobuf.MessageLite.Builder`
      Overrides:
        `clone` in class `com.google.protobuf.GeneratedMessage.Builder<MRProtos.TaskAttemptIdProto.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<MRProtos.TaskAttemptIdProto.Builder>`

    - #### getDefaultInstanceForType

          public MRProtos.TaskAttemptIdProto getDefaultInstanceForType()

      Specified by:
        `getDefaultInstanceForType` in interface `com.google.protobuf.MessageLiteOrBuilder`
      Specified by:
        `getDefaultInstanceForType` in interface `com.google.protobuf.MessageOrBuilder`

    - #### build

          public MRProtos.TaskAttemptIdProto build()

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

    - #### buildPartial

          public MRProtos.TaskAttemptIdProto buildPartial()

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

    - #### mergeFrom

          public MRProtos.TaskAttemptIdProto.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<MRProtos.TaskAttemptIdProto.Builder>`

    - #### mergeFrom

          public MRProtos.TaskAttemptIdProto.Builder mergeFrom(MRProtos.TaskAttemptIdProto other)

    - #### isInitialized

          public final boolean isInitialized()

      Specified by:
        `isInitialized` in interface `com.google.protobuf.MessageLiteOrBuilder`
      Overrides:
        `isInitialized` in class `com.google.protobuf.GeneratedMessage.Builder<MRProtos.TaskAttemptIdProto.Builder>`

    - #### mergeFrom

          public MRProtos.TaskAttemptIdProto.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<MRProtos.TaskAttemptIdProto.Builder>`
      Throws:
        `IOException`

    - #### hasTaskId

          public boolean hasTaskId()

      `optional .hadoop.mapreduce.TaskIdProto task_id = 1;`
      Specified by:
        `hasTaskId` in interface `MRProtos.TaskAttemptIdProtoOrBuilder`

    - #### getTaskId

          public MRProtos.TaskIdProto getTaskId()

      `optional .hadoop.mapreduce.TaskIdProto task_id = 1;`
      Specified by:
        `getTaskId` in interface `MRProtos.TaskAttemptIdProtoOrBuilder`

    - #### setTaskId

          public MRProtos.TaskAttemptIdProto.Builder setTaskId(MRProtos.TaskIdProto value)

      `optional .hadoop.mapreduce.TaskIdProto task_id = 1;`

    - #### setTaskId

          public MRProtos.TaskAttemptIdProto.Builder setTaskId(MRProtos.TaskIdProto.Builder builderForValue)

      `optional .hadoop.mapreduce.TaskIdProto task_id = 1;`

    - #### mergeTaskId

          public MRProtos.TaskAttemptIdProto.Builder mergeTaskId(MRProtos.TaskIdProto value)

      `optional .hadoop.mapreduce.TaskIdProto task_id = 1;`

    - #### clearTaskId

          public MRProtos.TaskAttemptIdProto.Builder clearTaskId()

      `optional .hadoop.mapreduce.TaskIdProto task_id = 1;`

    - #### getTaskIdBuilder

          public MRProtos.TaskIdProto.Builder getTaskIdBuilder()

      `optional .hadoop.mapreduce.TaskIdProto task_id = 1;`

    - #### getTaskIdOrBuilder

          public MRProtos.TaskIdProtoOrBuilder getTaskIdOrBuilder()

      `optional .hadoop.mapreduce.TaskIdProto task_id = 1;`
      Specified by:
        `getTaskIdOrBuilder` in interface `MRProtos.TaskAttemptIdProtoOrBuilder`

    - #### hasId

          public boolean hasId()

      `optional int32 id = 2;`
      Specified by:
        `hasId` in interface `MRProtos.TaskAttemptIdProtoOrBuilder`

    - #### getId

          public int getId()

      `optional int32 id = 2;`
      Specified by:
        `getId` in interface `MRProtos.TaskAttemptIdProtoOrBuilder`

    - #### setId

          public MRProtos.TaskAttemptIdProto.Builder setId(int value)

      `optional int32 id = 2;`

    - #### clearId

          public MRProtos.TaskAttemptIdProto.Builder clearId()

      `optional int32 id = 2;`

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.