org.apache.hadoop.security.proto

## Class SecurityProtos.CredentialsKVProto.Builder

- java.lang.Object
- - com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
  - - com.google.protobuf.AbstractMessage.Builder<BuilderType>
    - - com.google.protobuf.GeneratedMessage.Builder<SecurityProtos.CredentialsKVProto.Builder>
      - - org.apache.hadoop.security.proto.SecurityProtos.CredentialsKVProto.Builder

- All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, SecurityProtos.CredentialsKVProtoOrBuilder
  Enclosing class:
    SecurityProtos.CredentialsKVProto

      public static final class SecurityProtos.CredentialsKVProto.Builder
      extends com.google.protobuf.GeneratedMessage.Builder<SecurityProtos.CredentialsKVProto.Builder>
      implements SecurityProtos.CredentialsKVProtoOrBuilder

  Protobuf type `hadoop.common.CredentialsKVProto`

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `SecurityProtos.CredentialsKVProto` | `build()`
    `SecurityProtos.CredentialsKVProto` | `buildPartial()`
    `SecurityProtos.CredentialsKVProto.Builder` | `clear()`
    `SecurityProtos.CredentialsKVProto.Builder` | `clearAlias()` `required string alias = 1;`
    `SecurityProtos.CredentialsKVProto.Builder` | `clearSecret()` `optional bytes secret = 3;`
    `SecurityProtos.CredentialsKVProto.Builder` | `clearToken()` `optional .hadoop.common.TokenProto token = 2;`
    `SecurityProtos.CredentialsKVProto.Builder` | `clone()`
    `String` | `getAlias()` `required string alias = 1;`
    `com.google.protobuf.ByteString` | `getAliasBytes()` `required string alias = 1;`
    `SecurityProtos.CredentialsKVProto` | `getDefaultInstanceForType()`
    `static com.google.protobuf.Descriptors.Descriptor` | `getDescriptor()`
    `com.google.protobuf.Descriptors.Descriptor` | `getDescriptorForType()`
    `com.google.protobuf.ByteString` | `getSecret()` `optional bytes secret = 3;`
    `SecurityProtos.TokenProto` | `getToken()` `optional .hadoop.common.TokenProto token = 2;`
    `SecurityProtos.TokenProto.Builder` | `getTokenBuilder()` `optional .hadoop.common.TokenProto token = 2;`
    `SecurityProtos.TokenProtoOrBuilder` | `getTokenOrBuilder()` `optional .hadoop.common.TokenProto token = 2;`
    `boolean` | `hasAlias()` `required string alias = 1;`
    `boolean` | `hasSecret()` `optional bytes secret = 3;`
    `boolean` | `hasToken()` `optional .hadoop.common.TokenProto token = 2;`
    `protected com.google.protobuf.GeneratedMessage.FieldAccessorTable` | `internalGetFieldAccessorTable()`
    `boolean` | `isInitialized()`
    `SecurityProtos.CredentialsKVProto.Builder` | `mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)`
    `SecurityProtos.CredentialsKVProto.Builder` | `mergeFrom(com.google.protobuf.Message other)`
    `SecurityProtos.CredentialsKVProto.Builder` | `mergeFrom(SecurityProtos.CredentialsKVProto other)`
    `SecurityProtos.CredentialsKVProto.Builder` | `mergeToken(SecurityProtos.TokenProto value)` `optional .hadoop.common.TokenProto token = 2;`
    `SecurityProtos.CredentialsKVProto.Builder` | `setAlias(String value)` `required string alias = 1;`
    `SecurityProtos.CredentialsKVProto.Builder` | `setAliasBytes(com.google.protobuf.ByteString value)` `required string alias = 1;`
    `SecurityProtos.CredentialsKVProto.Builder` | `setSecret(com.google.protobuf.ByteString value)` `optional bytes secret = 3;`
    `SecurityProtos.CredentialsKVProto.Builder` | `setToken(SecurityProtos.TokenProto.Builder builderForValue)` `optional .hadoop.common.TokenProto token = 2;`
    `SecurityProtos.CredentialsKVProto.Builder` | `setToken(SecurityProtos.TokenProto value)` `optional .hadoop.common.TokenProto token = 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<SecurityProtos.CredentialsKVProto.Builder>`

    - #### clear

          public SecurityProtos.CredentialsKVProto.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<SecurityProtos.CredentialsKVProto.Builder>`

    - #### clone

          public SecurityProtos.CredentialsKVProto.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<SecurityProtos.CredentialsKVProto.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<SecurityProtos.CredentialsKVProto.Builder>`

    - #### getDefaultInstanceForType

          public SecurityProtos.CredentialsKVProto getDefaultInstanceForType()

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

    - #### build

          public SecurityProtos.CredentialsKVProto build()

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

    - #### buildPartial

          public SecurityProtos.CredentialsKVProto buildPartial()

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

    - #### mergeFrom

          public SecurityProtos.CredentialsKVProto.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<SecurityProtos.CredentialsKVProto.Builder>`

    - #### mergeFrom

          public SecurityProtos.CredentialsKVProto.Builder mergeFrom(SecurityProtos.CredentialsKVProto other)

    - #### isInitialized

          public final boolean isInitialized()

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

    - #### mergeFrom

          public SecurityProtos.CredentialsKVProto.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<SecurityProtos.CredentialsKVProto.Builder>`
      Throws:
        `IOException`

    - #### hasAlias

          public boolean hasAlias()

      `required string alias = 1;`
      Specified by:
        `hasAlias` in interface `SecurityProtos.CredentialsKVProtoOrBuilder`

    - #### getAlias

          public String getAlias()

      `required string alias = 1;`
      Specified by:
        `getAlias` in interface `SecurityProtos.CredentialsKVProtoOrBuilder`

    - #### getAliasBytes

          public com.google.protobuf.ByteString getAliasBytes()

      `required string alias = 1;`
      Specified by:
        `getAliasBytes` in interface `SecurityProtos.CredentialsKVProtoOrBuilder`

    - #### setAlias

          public SecurityProtos.CredentialsKVProto.Builder setAlias(String value)

      `required string alias = 1;`

    - #### clearAlias

          public SecurityProtos.CredentialsKVProto.Builder clearAlias()

      `required string alias = 1;`

    - #### setAliasBytes

          public SecurityProtos.CredentialsKVProto.Builder setAliasBytes(com.google.protobuf.ByteString value)

      `required string alias = 1;`

    - #### hasToken

          public boolean hasToken()

      `optional .hadoop.common.TokenProto token = 2;`
      Specified by:
        `hasToken` in interface `SecurityProtos.CredentialsKVProtoOrBuilder`

    - #### getToken

          public SecurityProtos.TokenProto getToken()

      `optional .hadoop.common.TokenProto token = 2;`
      Specified by:
        `getToken` in interface `SecurityProtos.CredentialsKVProtoOrBuilder`

    - #### setToken

          public SecurityProtos.CredentialsKVProto.Builder setToken(SecurityProtos.TokenProto value)

      `optional .hadoop.common.TokenProto token = 2;`

    - #### setToken

          public SecurityProtos.CredentialsKVProto.Builder setToken(SecurityProtos.TokenProto.Builder builderForValue)

      `optional .hadoop.common.TokenProto token = 2;`

    - #### mergeToken

          public SecurityProtos.CredentialsKVProto.Builder mergeToken(SecurityProtos.TokenProto value)

      `optional .hadoop.common.TokenProto token = 2;`

    - #### clearToken

          public SecurityProtos.CredentialsKVProto.Builder clearToken()

      `optional .hadoop.common.TokenProto token = 2;`

    - #### getTokenBuilder

          public SecurityProtos.TokenProto.Builder getTokenBuilder()

      `optional .hadoop.common.TokenProto token = 2;`

    - #### getTokenOrBuilder

          public SecurityProtos.TokenProtoOrBuilder getTokenOrBuilder()

      `optional .hadoop.common.TokenProto token = 2;`
      Specified by:
        `getTokenOrBuilder` in interface `SecurityProtos.CredentialsKVProtoOrBuilder`

    - #### hasSecret

          public boolean hasSecret()

      `optional bytes secret = 3;`
      Specified by:
        `hasSecret` in interface `SecurityProtos.CredentialsKVProtoOrBuilder`

    - #### getSecret

          public com.google.protobuf.ByteString getSecret()

      `optional bytes secret = 3;`
      Specified by:
        `getSecret` in interface `SecurityProtos.CredentialsKVProtoOrBuilder`

    - #### setSecret

          public SecurityProtos.CredentialsKVProto.Builder setSecret(com.google.protobuf.ByteString value)

      `optional bytes secret = 3;`

    - #### clearSecret

          public SecurityProtos.CredentialsKVProto.Builder clearSecret()

      `optional bytes secret = 3;`

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