org.apache.hadoop.ipc.protobuf

## Class ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder

- java.lang.Object
- - com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
  - - com.google.protobuf.AbstractMessage.Builder<BuilderType>
    - - com.google.protobuf.GeneratedMessage.Builder<ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder>
      - - org.apache.hadoop.ipc.protobuf.ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder

- All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ProtocolInfoProtos.GetProtocolVersionsResponseProtoOrBuilder
  Enclosing class:
    ProtocolInfoProtos.GetProtocolVersionsResponseProto

      public static final class ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder
      extends com.google.protobuf.GeneratedMessage.Builder<ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder>
      implements ProtocolInfoProtos.GetProtocolVersionsResponseProtoOrBuilder

  Protobuf type `hadoop.common.GetProtocolVersionsResponseProto`

       Get protocol version response.

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder` | `addAllProtocolVersions(Iterable<? extends ProtocolInfoProtos.ProtocolVersionProto> values)` `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`
    `ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder` | `addProtocolVersions(int index, ProtocolInfoProtos.ProtocolVersionProto.Builder builderForValue)` `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`
    `ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder` | `addProtocolVersions(int index, ProtocolInfoProtos.ProtocolVersionProto value)` `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`
    `ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder` | `addProtocolVersions(ProtocolInfoProtos.ProtocolVersionProto.Builder builderForValue)` `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`
    `ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder` | `addProtocolVersions(ProtocolInfoProtos.ProtocolVersionProto value)` `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`
    `ProtocolInfoProtos.ProtocolVersionProto.Builder` | `addProtocolVersionsBuilder()` `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`
    `ProtocolInfoProtos.ProtocolVersionProto.Builder` | `addProtocolVersionsBuilder(int index)` `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`
    `ProtocolInfoProtos.GetProtocolVersionsResponseProto` | `build()`
    `ProtocolInfoProtos.GetProtocolVersionsResponseProto` | `buildPartial()`
    `ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder` | `clear()`
    `ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder` | `clearProtocolVersions()` `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`
    `ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder` | `clone()`
    `ProtocolInfoProtos.GetProtocolVersionsResponseProto` | `getDefaultInstanceForType()`
    `static com.google.protobuf.Descriptors.Descriptor` | `getDescriptor()`
    `com.google.protobuf.Descriptors.Descriptor` | `getDescriptorForType()`
    `ProtocolInfoProtos.ProtocolVersionProto` | `getProtocolVersions(int index)` `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`
    `ProtocolInfoProtos.ProtocolVersionProto.Builder` | `getProtocolVersionsBuilder(int index)` `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`
    `List<ProtocolInfoProtos.ProtocolVersionProto.Builder>` | `getProtocolVersionsBuilderList()` `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`
    `int` | `getProtocolVersionsCount()` `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`
    `List<ProtocolInfoProtos.ProtocolVersionProto>` | `getProtocolVersionsList()` `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`
    `ProtocolInfoProtos.ProtocolVersionProtoOrBuilder` | `getProtocolVersionsOrBuilder(int index)` `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`
    `List<? extends ProtocolInfoProtos.ProtocolVersionProtoOrBuilder>` | `getProtocolVersionsOrBuilderList()` `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`
    `protected com.google.protobuf.GeneratedMessage.FieldAccessorTable` | `internalGetFieldAccessorTable()`
    `boolean` | `isInitialized()`
    `ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder` | `mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)`
    `ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder` | `mergeFrom(com.google.protobuf.Message other)`
    `ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder` | `mergeFrom(ProtocolInfoProtos.GetProtocolVersionsResponseProto other)`
    `ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder` | `removeProtocolVersions(int index)` `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`
    `ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder` | `setProtocolVersions(int index, ProtocolInfoProtos.ProtocolVersionProto.Builder builderForValue)` `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`
    `ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder` | `setProtocolVersions(int index, ProtocolInfoProtos.ProtocolVersionProto value)` `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 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<ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder>`

    - #### clear

          public ProtocolInfoProtos.GetProtocolVersionsResponseProto.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<ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder>`

    - #### clone

          public ProtocolInfoProtos.GetProtocolVersionsResponseProto.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<ProtocolInfoProtos.GetProtocolVersionsResponseProto.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<ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder>`

    - #### getDefaultInstanceForType

          public ProtocolInfoProtos.GetProtocolVersionsResponseProto getDefaultInstanceForType()

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

    - #### build

          public ProtocolInfoProtos.GetProtocolVersionsResponseProto build()

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

    - #### buildPartial

          public ProtocolInfoProtos.GetProtocolVersionsResponseProto buildPartial()

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

    - #### mergeFrom

          public ProtocolInfoProtos.GetProtocolVersionsResponseProto.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<ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder>`

    - #### mergeFrom

          public ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder mergeFrom(ProtocolInfoProtos.GetProtocolVersionsResponseProto other)

    - #### isInitialized

          public final boolean isInitialized()

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

    - #### mergeFrom

          public ProtocolInfoProtos.GetProtocolVersionsResponseProto.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<ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder>`
      Throws:
        `IOException`

    - #### getProtocolVersionsList

          public List<ProtocolInfoProtos.ProtocolVersionProto> getProtocolVersionsList()

      `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`
      Specified by:
        `getProtocolVersionsList` in interface `ProtocolInfoProtos.GetProtocolVersionsResponseProtoOrBuilder`

    - #### getProtocolVersionsCount

          public int getProtocolVersionsCount()

      `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`
      Specified by:
        `getProtocolVersionsCount` in interface `ProtocolInfoProtos.GetProtocolVersionsResponseProtoOrBuilder`

    - #### getProtocolVersions

          public ProtocolInfoProtos.ProtocolVersionProto getProtocolVersions(int index)

      `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`
      Specified by:
        `getProtocolVersions` in interface `ProtocolInfoProtos.GetProtocolVersionsResponseProtoOrBuilder`

    - #### setProtocolVersions

          public ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder setProtocolVersions(int index,
                                                                                                 ProtocolInfoProtos.ProtocolVersionProto value)

      `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`

    - #### setProtocolVersions

          public ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder setProtocolVersions(int index,
                                                                                                 ProtocolInfoProtos.ProtocolVersionProto.Builder builderForValue)

      `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`

    - #### addProtocolVersions

          public ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder addProtocolVersions(ProtocolInfoProtos.ProtocolVersionProto value)

      `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`

    - #### addProtocolVersions

          public ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder addProtocolVersions(int index,
                                                                                                 ProtocolInfoProtos.ProtocolVersionProto value)

      `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`

    - #### addProtocolVersions

          public ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder addProtocolVersions(ProtocolInfoProtos.ProtocolVersionProto.Builder builderForValue)

      `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`

    - #### addProtocolVersions

          public ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder addProtocolVersions(int index,
                                                                                                 ProtocolInfoProtos.ProtocolVersionProto.Builder builderForValue)

      `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`

    - #### addAllProtocolVersions

          public ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder addAllProtocolVersions(Iterable<? extends ProtocolInfoProtos.ProtocolVersionProto> values)

      `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`

    - #### clearProtocolVersions

          public ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder clearProtocolVersions()

      `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`

    - #### removeProtocolVersions

          public ProtocolInfoProtos.GetProtocolVersionsResponseProto.Builder removeProtocolVersions(int index)

      `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`

    - #### getProtocolVersionsBuilder

          public ProtocolInfoProtos.ProtocolVersionProto.Builder getProtocolVersionsBuilder(int index)

      `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`

    - #### getProtocolVersionsOrBuilder

          public ProtocolInfoProtos.ProtocolVersionProtoOrBuilder getProtocolVersionsOrBuilder(int index)

      `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`
      Specified by:
        `getProtocolVersionsOrBuilder` in interface `ProtocolInfoProtos.GetProtocolVersionsResponseProtoOrBuilder`

    - #### getProtocolVersionsOrBuilderList

          public List<? extends ProtocolInfoProtos.ProtocolVersionProtoOrBuilder> getProtocolVersionsOrBuilderList()

      `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`
      Specified by:
        `getProtocolVersionsOrBuilderList` in interface `ProtocolInfoProtos.GetProtocolVersionsResponseProtoOrBuilder`

    - #### addProtocolVersionsBuilder

          public ProtocolInfoProtos.ProtocolVersionProto.Builder addProtocolVersionsBuilder()

      `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`

    - #### addProtocolVersionsBuilder

          public ProtocolInfoProtos.ProtocolVersionProto.Builder addProtocolVersionsBuilder(int index)

      `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`

    - #### getProtocolVersionsBuilderList

          public List<ProtocolInfoProtos.ProtocolVersionProto.Builder> getProtocolVersionsBuilderList()

      `repeated .hadoop.common.ProtocolVersionProto protocolVersions = 1;`

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