org.apache.hadoop.ipc.protobuf

## Class RpcHeaderProtos.RPCCallerContextProto.Builder

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

- All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, RpcHeaderProtos.RPCCallerContextProtoOrBuilder
  Enclosing class:
    RpcHeaderProtos.RPCCallerContextProto

      public static final class RpcHeaderProtos.RPCCallerContextProto.Builder
      extends com.google.protobuf.GeneratedMessage.Builder<RpcHeaderProtos.RPCCallerContextProto.Builder>
      implements RpcHeaderProtos.RPCCallerContextProtoOrBuilder

  Protobuf type `hadoop.common.RPCCallerContextProto`

       Used to pass through the call context entry after an RPC is made.

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `RpcHeaderProtos.RPCCallerContextProto` | `build()`
    `RpcHeaderProtos.RPCCallerContextProto` | `buildPartial()`
    `RpcHeaderProtos.RPCCallerContextProto.Builder` | `clear()`
    `RpcHeaderProtos.RPCCallerContextProto.Builder` | `clearContext()` `required string context = 1;`
    `RpcHeaderProtos.RPCCallerContextProto.Builder` | `clearSignature()` `optional bytes signature = 2;`
    `RpcHeaderProtos.RPCCallerContextProto.Builder` | `clone()`
    `String` | `getContext()` `required string context = 1;`
    `com.google.protobuf.ByteString` | `getContextBytes()` `required string context = 1;`
    `RpcHeaderProtos.RPCCallerContextProto` | `getDefaultInstanceForType()`
    `static com.google.protobuf.Descriptors.Descriptor` | `getDescriptor()`
    `com.google.protobuf.Descriptors.Descriptor` | `getDescriptorForType()`
    `com.google.protobuf.ByteString` | `getSignature()` `optional bytes signature = 2;`
    `boolean` | `hasContext()` `required string context = 1;`
    `boolean` | `hasSignature()` `optional bytes signature = 2;`
    `protected com.google.protobuf.GeneratedMessage.FieldAccessorTable` | `internalGetFieldAccessorTable()`
    `boolean` | `isInitialized()`
    `RpcHeaderProtos.RPCCallerContextProto.Builder` | `mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)`
    `RpcHeaderProtos.RPCCallerContextProto.Builder` | `mergeFrom(com.google.protobuf.Message other)`
    `RpcHeaderProtos.RPCCallerContextProto.Builder` | `mergeFrom(RpcHeaderProtos.RPCCallerContextProto other)`
    `RpcHeaderProtos.RPCCallerContextProto.Builder` | `setContext(String value)` `required string context = 1;`
    `RpcHeaderProtos.RPCCallerContextProto.Builder` | `setContextBytes(com.google.protobuf.ByteString value)` `required string context = 1;`
    `RpcHeaderProtos.RPCCallerContextProto.Builder` | `setSignature(com.google.protobuf.ByteString value)` `optional bytes signature = 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<RpcHeaderProtos.RPCCallerContextProto.Builder>`

    - #### clear

          public RpcHeaderProtos.RPCCallerContextProto.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<RpcHeaderProtos.RPCCallerContextProto.Builder>`

    - #### clone

          public RpcHeaderProtos.RPCCallerContextProto.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<RpcHeaderProtos.RPCCallerContextProto.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<RpcHeaderProtos.RPCCallerContextProto.Builder>`

    - #### getDefaultInstanceForType

          public RpcHeaderProtos.RPCCallerContextProto getDefaultInstanceForType()

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

    - #### build

          public RpcHeaderProtos.RPCCallerContextProto build()

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

    - #### buildPartial

          public RpcHeaderProtos.RPCCallerContextProto buildPartial()

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

    - #### mergeFrom

          public RpcHeaderProtos.RPCCallerContextProto.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<RpcHeaderProtos.RPCCallerContextProto.Builder>`

    - #### mergeFrom

          public RpcHeaderProtos.RPCCallerContextProto.Builder mergeFrom(RpcHeaderProtos.RPCCallerContextProto other)

    - #### isInitialized

          public final boolean isInitialized()

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

    - #### mergeFrom

          public RpcHeaderProtos.RPCCallerContextProto.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<RpcHeaderProtos.RPCCallerContextProto.Builder>`
      Throws:
        `IOException`

    - #### hasContext

          public boolean hasContext()

      `required string context = 1;`
      Specified by:
        `hasContext` in interface `RpcHeaderProtos.RPCCallerContextProtoOrBuilder`

    - #### getContext

          public String getContext()

      `required string context = 1;`
      Specified by:
        `getContext` in interface `RpcHeaderProtos.RPCCallerContextProtoOrBuilder`

    - #### getContextBytes

          public com.google.protobuf.ByteString getContextBytes()

      `required string context = 1;`
      Specified by:
        `getContextBytes` in interface `RpcHeaderProtos.RPCCallerContextProtoOrBuilder`

    - #### setContext

          public RpcHeaderProtos.RPCCallerContextProto.Builder setContext(String value)

      `required string context = 1;`

    - #### clearContext

          public RpcHeaderProtos.RPCCallerContextProto.Builder clearContext()

      `required string context = 1;`

    - #### setContextBytes

          public RpcHeaderProtos.RPCCallerContextProto.Builder setContextBytes(com.google.protobuf.ByteString value)

      `required string context = 1;`

    - #### hasSignature

          public boolean hasSignature()

      `optional bytes signature = 2;`
      Specified by:
        `hasSignature` in interface `RpcHeaderProtos.RPCCallerContextProtoOrBuilder`

    - #### getSignature

          public com.google.protobuf.ByteString getSignature()

      `optional bytes signature = 2;`
      Specified by:
        `getSignature` in interface `RpcHeaderProtos.RPCCallerContextProtoOrBuilder`

    - #### setSignature

          public RpcHeaderProtos.RPCCallerContextProto.Builder setSignature(com.google.protobuf.ByteString value)

      `optional bytes signature = 2;`

    - #### clearSignature

          public RpcHeaderProtos.RPCCallerContextProto.Builder clearSignature()

      `optional bytes signature = 2;`

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