org.apache.hadoop.ipc.protobuf

## Class IpcConnectionContextProtos.IpcConnectionContextProto.Builder

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

- All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, IpcConnectionContextProtos.IpcConnectionContextProtoOrBuilder
  Enclosing class:
    IpcConnectionContextProtos.IpcConnectionContextProto

      public static final class IpcConnectionContextProtos.IpcConnectionContextProto.Builder
      extends com.google.protobuf.GeneratedMessage.Builder<IpcConnectionContextProtos.IpcConnectionContextProto.Builder>
      implements IpcConnectionContextProtos.IpcConnectionContextProtoOrBuilder

  Protobuf type `hadoop.common.IpcConnectionContextProto`

       The connection context is sent as part of the connection establishment.
       It establishes the context for ALL Rpc calls within the connection.

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `IpcConnectionContextProtos.IpcConnectionContextProto` | `build()`
    `IpcConnectionContextProtos.IpcConnectionContextProto` | `buildPartial()`
    `IpcConnectionContextProtos.IpcConnectionContextProto.Builder` | `clear()`
    `IpcConnectionContextProtos.IpcConnectionContextProto.Builder` | `clearProtocol()` `optional string protocol = 3;`
    `IpcConnectionContextProtos.IpcConnectionContextProto.Builder` | `clearUserInfo()` `optional .hadoop.common.UserInformationProto userInfo = 2;`
    `IpcConnectionContextProtos.IpcConnectionContextProto.Builder` | `clone()`
    `IpcConnectionContextProtos.IpcConnectionContextProto` | `getDefaultInstanceForType()`
    `static com.google.protobuf.Descriptors.Descriptor` | `getDescriptor()`
    `com.google.protobuf.Descriptors.Descriptor` | `getDescriptorForType()`
    `String` | `getProtocol()` `optional string protocol = 3;`
    `com.google.protobuf.ByteString` | `getProtocolBytes()` `optional string protocol = 3;`
    `IpcConnectionContextProtos.UserInformationProto` | `getUserInfo()` `optional .hadoop.common.UserInformationProto userInfo = 2;`
    `IpcConnectionContextProtos.UserInformationProto.Builder` | `getUserInfoBuilder()` `optional .hadoop.common.UserInformationProto userInfo = 2;`
    `IpcConnectionContextProtos.UserInformationProtoOrBuilder` | `getUserInfoOrBuilder()` `optional .hadoop.common.UserInformationProto userInfo = 2;`
    `boolean` | `hasProtocol()` `optional string protocol = 3;`
    `boolean` | `hasUserInfo()` `optional .hadoop.common.UserInformationProto userInfo = 2;`
    `protected com.google.protobuf.GeneratedMessage.FieldAccessorTable` | `internalGetFieldAccessorTable()`
    `boolean` | `isInitialized()`
    `IpcConnectionContextProtos.IpcConnectionContextProto.Builder` | `mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)`
    `IpcConnectionContextProtos.IpcConnectionContextProto.Builder` | `mergeFrom(IpcConnectionContextProtos.IpcConnectionContextProto other)`
    `IpcConnectionContextProtos.IpcConnectionContextProto.Builder` | `mergeFrom(com.google.protobuf.Message other)`
    `IpcConnectionContextProtos.IpcConnectionContextProto.Builder` | `mergeUserInfo(IpcConnectionContextProtos.UserInformationProto value)` `optional .hadoop.common.UserInformationProto userInfo = 2;`
    `IpcConnectionContextProtos.IpcConnectionContextProto.Builder` | `setProtocol(String value)` `optional string protocol = 3;`
    `IpcConnectionContextProtos.IpcConnectionContextProto.Builder` | `setProtocolBytes(com.google.protobuf.ByteString value)` `optional string protocol = 3;`
    `IpcConnectionContextProtos.IpcConnectionContextProto.Builder` | `setUserInfo(IpcConnectionContextProtos.UserInformationProto.Builder builderForValue)` `optional .hadoop.common.UserInformationProto userInfo = 2;`
    `IpcConnectionContextProtos.IpcConnectionContextProto.Builder` | `setUserInfo(IpcConnectionContextProtos.UserInformationProto value)` `optional .hadoop.common.UserInformationProto userInfo = 2;`

    - ### 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<IpcConnectionContextProtos.IpcConnectionContextProto.Builder>`

    - #### clear

          public IpcConnectionContextProtos.IpcConnectionContextProto.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<IpcConnectionContextProtos.IpcConnectionContextProto.Builder>`

    - #### clone

          public IpcConnectionContextProtos.IpcConnectionContextProto.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<IpcConnectionContextProtos.IpcConnectionContextProto.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<IpcConnectionContextProtos.IpcConnectionContextProto.Builder>`

    - #### getDefaultInstanceForType

          public IpcConnectionContextProtos.IpcConnectionContextProto getDefaultInstanceForType()

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

    - #### build

          public IpcConnectionContextProtos.IpcConnectionContextProto build()

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

    - #### buildPartial

          public IpcConnectionContextProtos.IpcConnectionContextProto buildPartial()

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

    - #### mergeFrom

          public IpcConnectionContextProtos.IpcConnectionContextProto.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<IpcConnectionContextProtos.IpcConnectionContextProto.Builder>`

    - #### mergeFrom

          public IpcConnectionContextProtos.IpcConnectionContextProto.Builder mergeFrom(IpcConnectionContextProtos.IpcConnectionContextProto other)

    - #### isInitialized

          public final boolean isInitialized()

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

    - #### mergeFrom

          public IpcConnectionContextProtos.IpcConnectionContextProto.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<IpcConnectionContextProtos.IpcConnectionContextProto.Builder>`
      Throws:
        `IOException`

    - #### hasUserInfo

          public boolean hasUserInfo()

      `optional .hadoop.common.UserInformationProto userInfo = 2;`

           UserInfo beyond what is determined as part of security handshake
           at connection time (kerberos, tokens etc).

      Specified by:
        `hasUserInfo` in interface `IpcConnectionContextProtos.IpcConnectionContextProtoOrBuilder`

    - #### getUserInfo

          public IpcConnectionContextProtos.UserInformationProto getUserInfo()

      `optional .hadoop.common.UserInformationProto userInfo = 2;`

           UserInfo beyond what is determined as part of security handshake
           at connection time (kerberos, tokens etc).

      Specified by:
        `getUserInfo` in interface `IpcConnectionContextProtos.IpcConnectionContextProtoOrBuilder`

    - #### setUserInfo

          public IpcConnectionContextProtos.IpcConnectionContextProto.Builder setUserInfo(IpcConnectionContextProtos.UserInformationProto value)

      `optional .hadoop.common.UserInformationProto userInfo = 2;`

           UserInfo beyond what is determined as part of security handshake
           at connection time (kerberos, tokens etc).

    - #### setUserInfo

          public IpcConnectionContextProtos.IpcConnectionContextProto.Builder setUserInfo(IpcConnectionContextProtos.UserInformationProto.Builder builderForValue)

      `optional .hadoop.common.UserInformationProto userInfo = 2;`

           UserInfo beyond what is determined as part of security handshake
           at connection time (kerberos, tokens etc).

    - #### mergeUserInfo

          public IpcConnectionContextProtos.IpcConnectionContextProto.Builder mergeUserInfo(IpcConnectionContextProtos.UserInformationProto value)

      `optional .hadoop.common.UserInformationProto userInfo = 2;`

           UserInfo beyond what is determined as part of security handshake
           at connection time (kerberos, tokens etc).

    - #### clearUserInfo

          public IpcConnectionContextProtos.IpcConnectionContextProto.Builder clearUserInfo()

      `optional .hadoop.common.UserInformationProto userInfo = 2;`

           UserInfo beyond what is determined as part of security handshake
           at connection time (kerberos, tokens etc).

    - #### getUserInfoBuilder

          public IpcConnectionContextProtos.UserInformationProto.Builder getUserInfoBuilder()

      `optional .hadoop.common.UserInformationProto userInfo = 2;`

           UserInfo beyond what is determined as part of security handshake
           at connection time (kerberos, tokens etc).

    - #### getUserInfoOrBuilder

          public IpcConnectionContextProtos.UserInformationProtoOrBuilder getUserInfoOrBuilder()

      `optional .hadoop.common.UserInformationProto userInfo = 2;`

           UserInfo beyond what is determined as part of security handshake
           at connection time (kerberos, tokens etc).

      Specified by:
        `getUserInfoOrBuilder` in interface `IpcConnectionContextProtos.IpcConnectionContextProtoOrBuilder`

    - #### hasProtocol

          public boolean hasProtocol()

      `optional string protocol = 3;`

           Protocol name for next rpc layer.
           The client created a proxy with this protocol name

      Specified by:
        `hasProtocol` in interface `IpcConnectionContextProtos.IpcConnectionContextProtoOrBuilder`

    - #### getProtocol

          public String getProtocol()

      `optional string protocol = 3;`

           Protocol name for next rpc layer.
           The client created a proxy with this protocol name

      Specified by:
        `getProtocol` in interface `IpcConnectionContextProtos.IpcConnectionContextProtoOrBuilder`

    - #### getProtocolBytes

          public com.google.protobuf.ByteString getProtocolBytes()

      `optional string protocol = 3;`

           Protocol name for next rpc layer.
           The client created a proxy with this protocol name

      Specified by:
        `getProtocolBytes` in interface `IpcConnectionContextProtos.IpcConnectionContextProtoOrBuilder`

    - #### setProtocol

          public IpcConnectionContextProtos.IpcConnectionContextProto.Builder setProtocol(String value)

      `optional string protocol = 3;`

           Protocol name for next rpc layer.
           The client created a proxy with this protocol name

    - #### clearProtocol

          public IpcConnectionContextProtos.IpcConnectionContextProto.Builder clearProtocol()

      `optional string protocol = 3;`

           Protocol name for next rpc layer.
           The client created a proxy with this protocol name

    - #### setProtocolBytes

          public IpcConnectionContextProtos.IpcConnectionContextProto.Builder setProtocolBytes(com.google.protobuf.ByteString value)

      `optional string protocol = 3;`

           Protocol name for next rpc layer.
           The client created a proxy with this protocol name

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