org.apache.hadoop.mapreduce.v2.proto

## Class MRProtos.CounterGroupProto.Builder

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

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

      public static final class MRProtos.CounterGroupProto.Builder
      extends com.google.protobuf.GeneratedMessage.Builder<MRProtos.CounterGroupProto.Builder>
      implements MRProtos.CounterGroupProtoOrBuilder

  Protobuf type `hadoop.mapreduce.CounterGroupProto`

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `MRProtos.CounterGroupProto.Builder` | `addAllCounters(Iterable<? extends MRProtos.StringCounterMapProto> values)` `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`
    `MRProtos.CounterGroupProto.Builder` | `addCounters(int index, MRProtos.StringCounterMapProto.Builder builderForValue)` `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`
    `MRProtos.CounterGroupProto.Builder` | `addCounters(int index, MRProtos.StringCounterMapProto value)` `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`
    `MRProtos.CounterGroupProto.Builder` | `addCounters(MRProtos.StringCounterMapProto.Builder builderForValue)` `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`
    `MRProtos.CounterGroupProto.Builder` | `addCounters(MRProtos.StringCounterMapProto value)` `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`
    `MRProtos.StringCounterMapProto.Builder` | `addCountersBuilder()` `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`
    `MRProtos.StringCounterMapProto.Builder` | `addCountersBuilder(int index)` `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`
    `MRProtos.CounterGroupProto` | `build()`
    `MRProtos.CounterGroupProto` | `buildPartial()`
    `MRProtos.CounterGroupProto.Builder` | `clear()`
    `MRProtos.CounterGroupProto.Builder` | `clearCounters()` `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`
    `MRProtos.CounterGroupProto.Builder` | `clearDisplayName()` `optional string display_name = 2;`
    `MRProtos.CounterGroupProto.Builder` | `clearName()` `optional string name = 1;`
    `MRProtos.CounterGroupProto.Builder` | `clone()`
    `MRProtos.StringCounterMapProto` | `getCounters(int index)` `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`
    `MRProtos.StringCounterMapProto.Builder` | `getCountersBuilder(int index)` `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`
    `List<MRProtos.StringCounterMapProto.Builder>` | `getCountersBuilderList()` `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`
    `int` | `getCountersCount()` `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`
    `List<MRProtos.StringCounterMapProto>` | `getCountersList()` `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`
    `MRProtos.StringCounterMapProtoOrBuilder` | `getCountersOrBuilder(int index)` `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`
    `List<? extends MRProtos.StringCounterMapProtoOrBuilder>` | `getCountersOrBuilderList()` `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`
    `MRProtos.CounterGroupProto` | `getDefaultInstanceForType()`
    `static com.google.protobuf.Descriptors.Descriptor` | `getDescriptor()`
    `com.google.protobuf.Descriptors.Descriptor` | `getDescriptorForType()`
    `String` | `getDisplayName()` `optional string display_name = 2;`
    `com.google.protobuf.ByteString` | `getDisplayNameBytes()` `optional string display_name = 2;`
    `String` | `getName()` `optional string name = 1;`
    `com.google.protobuf.ByteString` | `getNameBytes()` `optional string name = 1;`
    `boolean` | `hasDisplayName()` `optional string display_name = 2;`
    `boolean` | `hasName()` `optional string name = 1;`
    `protected com.google.protobuf.GeneratedMessage.FieldAccessorTable` | `internalGetFieldAccessorTable()`
    `boolean` | `isInitialized()`
    `MRProtos.CounterGroupProto.Builder` | `mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)`
    `MRProtos.CounterGroupProto.Builder` | `mergeFrom(com.google.protobuf.Message other)`
    `MRProtos.CounterGroupProto.Builder` | `mergeFrom(MRProtos.CounterGroupProto other)`
    `MRProtos.CounterGroupProto.Builder` | `removeCounters(int index)` `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`
    `MRProtos.CounterGroupProto.Builder` | `setCounters(int index, MRProtos.StringCounterMapProto.Builder builderForValue)` `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`
    `MRProtos.CounterGroupProto.Builder` | `setCounters(int index, MRProtos.StringCounterMapProto value)` `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`
    `MRProtos.CounterGroupProto.Builder` | `setDisplayName(String value)` `optional string display_name = 2;`
    `MRProtos.CounterGroupProto.Builder` | `setDisplayNameBytes(com.google.protobuf.ByteString value)` `optional string display_name = 2;`
    `MRProtos.CounterGroupProto.Builder` | `setName(String value)` `optional string name = 1;`
    `MRProtos.CounterGroupProto.Builder` | `setNameBytes(com.google.protobuf.ByteString value)` `optional string name = 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.CounterGroupProto.Builder>`

    - #### clear

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

    - #### clone

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

    - #### getDefaultInstanceForType

          public MRProtos.CounterGroupProto getDefaultInstanceForType()

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

    - #### build

          public MRProtos.CounterGroupProto build()

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

    - #### buildPartial

          public MRProtos.CounterGroupProto buildPartial()

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

    - #### mergeFrom

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

    - #### mergeFrom

          public MRProtos.CounterGroupProto.Builder mergeFrom(MRProtos.CounterGroupProto 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.CounterGroupProto.Builder>`

    - #### mergeFrom

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

    - #### hasName

          public boolean hasName()

      `optional string name = 1;`
      Specified by:
        `hasName` in interface `MRProtos.CounterGroupProtoOrBuilder`

    - #### getName

          public String getName()

      `optional string name = 1;`
      Specified by:
        `getName` in interface `MRProtos.CounterGroupProtoOrBuilder`

    - #### getNameBytes

          public com.google.protobuf.ByteString getNameBytes()

      `optional string name = 1;`
      Specified by:
        `getNameBytes` in interface `MRProtos.CounterGroupProtoOrBuilder`

    - #### setName

          public MRProtos.CounterGroupProto.Builder setName(String value)

      `optional string name = 1;`

    - #### clearName

          public MRProtos.CounterGroupProto.Builder clearName()

      `optional string name = 1;`

    - #### setNameBytes

          public MRProtos.CounterGroupProto.Builder setNameBytes(com.google.protobuf.ByteString value)

      `optional string name = 1;`

    - #### hasDisplayName

          public boolean hasDisplayName()

      `optional string display_name = 2;`
      Specified by:
        `hasDisplayName` in interface `MRProtos.CounterGroupProtoOrBuilder`

    - #### getDisplayName

          public String getDisplayName()

      `optional string display_name = 2;`
      Specified by:
        `getDisplayName` in interface `MRProtos.CounterGroupProtoOrBuilder`

    - #### getDisplayNameBytes

          public com.google.protobuf.ByteString getDisplayNameBytes()

      `optional string display_name = 2;`
      Specified by:
        `getDisplayNameBytes` in interface `MRProtos.CounterGroupProtoOrBuilder`

    - #### setDisplayName

          public MRProtos.CounterGroupProto.Builder setDisplayName(String value)

      `optional string display_name = 2;`

    - #### clearDisplayName

          public MRProtos.CounterGroupProto.Builder clearDisplayName()

      `optional string display_name = 2;`

    - #### setDisplayNameBytes

          public MRProtos.CounterGroupProto.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)

      `optional string display_name = 2;`

    - #### getCountersList

          public List<MRProtos.StringCounterMapProto> getCountersList()

      `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`
      Specified by:
        `getCountersList` in interface `MRProtos.CounterGroupProtoOrBuilder`

    - #### getCountersCount

          public int getCountersCount()

      `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`
      Specified by:
        `getCountersCount` in interface `MRProtos.CounterGroupProtoOrBuilder`

    - #### getCounters

          public MRProtos.StringCounterMapProto getCounters(int index)

      `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`
      Specified by:
        `getCounters` in interface `MRProtos.CounterGroupProtoOrBuilder`

    - #### setCounters

          public MRProtos.CounterGroupProto.Builder setCounters(int index,
                                                                MRProtos.StringCounterMapProto value)

      `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`

    - #### setCounters

          public MRProtos.CounterGroupProto.Builder setCounters(int index,
                                                                MRProtos.StringCounterMapProto.Builder builderForValue)

      `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`

    - #### addCounters

          public MRProtos.CounterGroupProto.Builder addCounters(MRProtos.StringCounterMapProto value)

      `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`

    - #### addCounters

          public MRProtos.CounterGroupProto.Builder addCounters(int index,
                                                                MRProtos.StringCounterMapProto value)

      `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`

    - #### addCounters

          public MRProtos.CounterGroupProto.Builder addCounters(MRProtos.StringCounterMapProto.Builder builderForValue)

      `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`

    - #### addCounters

          public MRProtos.CounterGroupProto.Builder addCounters(int index,
                                                                MRProtos.StringCounterMapProto.Builder builderForValue)

      `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`

    - #### addAllCounters

          public MRProtos.CounterGroupProto.Builder addAllCounters(Iterable<? extends MRProtos.StringCounterMapProto> values)

      `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`

    - #### clearCounters

          public MRProtos.CounterGroupProto.Builder clearCounters()

      `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`

    - #### removeCounters

          public MRProtos.CounterGroupProto.Builder removeCounters(int index)

      `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`

    - #### getCountersBuilder

          public MRProtos.StringCounterMapProto.Builder getCountersBuilder(int index)

      `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`

    - #### getCountersOrBuilder

          public MRProtos.StringCounterMapProtoOrBuilder getCountersOrBuilder(int index)

      `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`
      Specified by:
        `getCountersOrBuilder` in interface `MRProtos.CounterGroupProtoOrBuilder`

    - #### getCountersOrBuilderList

          public List<? extends MRProtos.StringCounterMapProtoOrBuilder> getCountersOrBuilderList()

      `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`
      Specified by:
        `getCountersOrBuilderList` in interface `MRProtos.CounterGroupProtoOrBuilder`

    - #### addCountersBuilder

          public MRProtos.StringCounterMapProto.Builder addCountersBuilder()

      `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`

    - #### addCountersBuilder

          public MRProtos.StringCounterMapProto.Builder addCountersBuilder(int index)

      `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`

    - #### getCountersBuilderList

          public List<MRProtos.StringCounterMapProto.Builder> getCountersBuilderList()

      `repeated .hadoop.mapreduce.StringCounterMapProto counters = 3;`

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