org.apache.hadoop.security.proto

## Class SecurityProtos.CredentialsProto.Builder

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

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

      public static final class SecurityProtos.CredentialsProto.Builder
      extends com.google.protobuf.GeneratedMessage.Builder<SecurityProtos.CredentialsProto.Builder>
      implements SecurityProtos.CredentialsProtoOrBuilder

  Protobuf type `hadoop.common.CredentialsProto`

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `SecurityProtos.CredentialsProto.Builder` | `addAllSecrets(Iterable<? extends SecurityProtos.CredentialsKVProto> values)` `repeated .hadoop.common.CredentialsKVProto secrets = 2;`
    `SecurityProtos.CredentialsProto.Builder` | `addAllTokens(Iterable<? extends SecurityProtos.CredentialsKVProto> values)` `repeated .hadoop.common.CredentialsKVProto tokens = 1;`
    `SecurityProtos.CredentialsProto.Builder` | `addSecrets(int index, SecurityProtos.CredentialsKVProto.Builder builderForValue)` `repeated .hadoop.common.CredentialsKVProto secrets = 2;`
    `SecurityProtos.CredentialsProto.Builder` | `addSecrets(int index, SecurityProtos.CredentialsKVProto value)` `repeated .hadoop.common.CredentialsKVProto secrets = 2;`
    `SecurityProtos.CredentialsProto.Builder` | `addSecrets(SecurityProtos.CredentialsKVProto.Builder builderForValue)` `repeated .hadoop.common.CredentialsKVProto secrets = 2;`
    `SecurityProtos.CredentialsProto.Builder` | `addSecrets(SecurityProtos.CredentialsKVProto value)` `repeated .hadoop.common.CredentialsKVProto secrets = 2;`
    `SecurityProtos.CredentialsKVProto.Builder` | `addSecretsBuilder()` `repeated .hadoop.common.CredentialsKVProto secrets = 2;`
    `SecurityProtos.CredentialsKVProto.Builder` | `addSecretsBuilder(int index)` `repeated .hadoop.common.CredentialsKVProto secrets = 2;`
    `SecurityProtos.CredentialsProto.Builder` | `addTokens(int index, SecurityProtos.CredentialsKVProto.Builder builderForValue)` `repeated .hadoop.common.CredentialsKVProto tokens = 1;`
    `SecurityProtos.CredentialsProto.Builder` | `addTokens(int index, SecurityProtos.CredentialsKVProto value)` `repeated .hadoop.common.CredentialsKVProto tokens = 1;`
    `SecurityProtos.CredentialsProto.Builder` | `addTokens(SecurityProtos.CredentialsKVProto.Builder builderForValue)` `repeated .hadoop.common.CredentialsKVProto tokens = 1;`
    `SecurityProtos.CredentialsProto.Builder` | `addTokens(SecurityProtos.CredentialsKVProto value)` `repeated .hadoop.common.CredentialsKVProto tokens = 1;`
    `SecurityProtos.CredentialsKVProto.Builder` | `addTokensBuilder()` `repeated .hadoop.common.CredentialsKVProto tokens = 1;`
    `SecurityProtos.CredentialsKVProto.Builder` | `addTokensBuilder(int index)` `repeated .hadoop.common.CredentialsKVProto tokens = 1;`
    `SecurityProtos.CredentialsProto` | `build()`
    `SecurityProtos.CredentialsProto` | `buildPartial()`
    `SecurityProtos.CredentialsProto.Builder` | `clear()`
    `SecurityProtos.CredentialsProto.Builder` | `clearSecrets()` `repeated .hadoop.common.CredentialsKVProto secrets = 2;`
    `SecurityProtos.CredentialsProto.Builder` | `clearTokens()` `repeated .hadoop.common.CredentialsKVProto tokens = 1;`
    `SecurityProtos.CredentialsProto.Builder` | `clone()`
    `SecurityProtos.CredentialsProto` | `getDefaultInstanceForType()`
    `static com.google.protobuf.Descriptors.Descriptor` | `getDescriptor()`
    `com.google.protobuf.Descriptors.Descriptor` | `getDescriptorForType()`
    `SecurityProtos.CredentialsKVProto` | `getSecrets(int index)` `repeated .hadoop.common.CredentialsKVProto secrets = 2;`
    `SecurityProtos.CredentialsKVProto.Builder` | `getSecretsBuilder(int index)` `repeated .hadoop.common.CredentialsKVProto secrets = 2;`
    `List<SecurityProtos.CredentialsKVProto.Builder>` | `getSecretsBuilderList()` `repeated .hadoop.common.CredentialsKVProto secrets = 2;`
    `int` | `getSecretsCount()` `repeated .hadoop.common.CredentialsKVProto secrets = 2;`
    `List<SecurityProtos.CredentialsKVProto>` | `getSecretsList()` `repeated .hadoop.common.CredentialsKVProto secrets = 2;`
    `SecurityProtos.CredentialsKVProtoOrBuilder` | `getSecretsOrBuilder(int index)` `repeated .hadoop.common.CredentialsKVProto secrets = 2;`
    `List<? extends SecurityProtos.CredentialsKVProtoOrBuilder>` | `getSecretsOrBuilderList()` `repeated .hadoop.common.CredentialsKVProto secrets = 2;`
    `SecurityProtos.CredentialsKVProto` | `getTokens(int index)` `repeated .hadoop.common.CredentialsKVProto tokens = 1;`
    `SecurityProtos.CredentialsKVProto.Builder` | `getTokensBuilder(int index)` `repeated .hadoop.common.CredentialsKVProto tokens = 1;`
    `List<SecurityProtos.CredentialsKVProto.Builder>` | `getTokensBuilderList()` `repeated .hadoop.common.CredentialsKVProto tokens = 1;`
    `int` | `getTokensCount()` `repeated .hadoop.common.CredentialsKVProto tokens = 1;`
    `List<SecurityProtos.CredentialsKVProto>` | `getTokensList()` `repeated .hadoop.common.CredentialsKVProto tokens = 1;`
    `SecurityProtos.CredentialsKVProtoOrBuilder` | `getTokensOrBuilder(int index)` `repeated .hadoop.common.CredentialsKVProto tokens = 1;`
    `List<? extends SecurityProtos.CredentialsKVProtoOrBuilder>` | `getTokensOrBuilderList()` `repeated .hadoop.common.CredentialsKVProto tokens = 1;`
    `protected com.google.protobuf.GeneratedMessage.FieldAccessorTable` | `internalGetFieldAccessorTable()`
    `boolean` | `isInitialized()`
    `SecurityProtos.CredentialsProto.Builder` | `mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)`
    `SecurityProtos.CredentialsProto.Builder` | `mergeFrom(com.google.protobuf.Message other)`
    `SecurityProtos.CredentialsProto.Builder` | `mergeFrom(SecurityProtos.CredentialsProto other)`
    `SecurityProtos.CredentialsProto.Builder` | `removeSecrets(int index)` `repeated .hadoop.common.CredentialsKVProto secrets = 2;`
    `SecurityProtos.CredentialsProto.Builder` | `removeTokens(int index)` `repeated .hadoop.common.CredentialsKVProto tokens = 1;`
    `SecurityProtos.CredentialsProto.Builder` | `setSecrets(int index, SecurityProtos.CredentialsKVProto.Builder builderForValue)` `repeated .hadoop.common.CredentialsKVProto secrets = 2;`
    `SecurityProtos.CredentialsProto.Builder` | `setSecrets(int index, SecurityProtos.CredentialsKVProto value)` `repeated .hadoop.common.CredentialsKVProto secrets = 2;`
    `SecurityProtos.CredentialsProto.Builder` | `setTokens(int index, SecurityProtos.CredentialsKVProto.Builder builderForValue)` `repeated .hadoop.common.CredentialsKVProto tokens = 1;`
    `SecurityProtos.CredentialsProto.Builder` | `setTokens(int index, SecurityProtos.CredentialsKVProto value)` `repeated .hadoop.common.CredentialsKVProto tokens = 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<SecurityProtos.CredentialsProto.Builder>`

    - #### clear

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

    - #### clone

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

    - #### getDefaultInstanceForType

          public SecurityProtos.CredentialsProto getDefaultInstanceForType()

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

    - #### build

          public SecurityProtos.CredentialsProto build()

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

    - #### buildPartial

          public SecurityProtos.CredentialsProto buildPartial()

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

    - #### mergeFrom

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

    - #### mergeFrom

          public SecurityProtos.CredentialsProto.Builder mergeFrom(SecurityProtos.CredentialsProto 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.CredentialsProto.Builder>`

    - #### mergeFrom

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

    - #### getTokensList

          public List<SecurityProtos.CredentialsKVProto> getTokensList()

      `repeated .hadoop.common.CredentialsKVProto tokens = 1;`
      Specified by:
        `getTokensList` in interface `SecurityProtos.CredentialsProtoOrBuilder`

    - #### getTokensCount

          public int getTokensCount()

      `repeated .hadoop.common.CredentialsKVProto tokens = 1;`
      Specified by:
        `getTokensCount` in interface `SecurityProtos.CredentialsProtoOrBuilder`

    - #### getTokens

          public SecurityProtos.CredentialsKVProto getTokens(int index)

      `repeated .hadoop.common.CredentialsKVProto tokens = 1;`
      Specified by:
        `getTokens` in interface `SecurityProtos.CredentialsProtoOrBuilder`

    - #### setTokens

          public SecurityProtos.CredentialsProto.Builder setTokens(int index,
                                                                   SecurityProtos.CredentialsKVProto value)

      `repeated .hadoop.common.CredentialsKVProto tokens = 1;`

    - #### setTokens

          public SecurityProtos.CredentialsProto.Builder setTokens(int index,
                                                                   SecurityProtos.CredentialsKVProto.Builder builderForValue)

      `repeated .hadoop.common.CredentialsKVProto tokens = 1;`

    - #### addTokens

          public SecurityProtos.CredentialsProto.Builder addTokens(SecurityProtos.CredentialsKVProto value)

      `repeated .hadoop.common.CredentialsKVProto tokens = 1;`

    - #### addTokens

          public SecurityProtos.CredentialsProto.Builder addTokens(int index,
                                                                   SecurityProtos.CredentialsKVProto value)

      `repeated .hadoop.common.CredentialsKVProto tokens = 1;`

    - #### addTokens

          public SecurityProtos.CredentialsProto.Builder addTokens(SecurityProtos.CredentialsKVProto.Builder builderForValue)

      `repeated .hadoop.common.CredentialsKVProto tokens = 1;`

    - #### addTokens

          public SecurityProtos.CredentialsProto.Builder addTokens(int index,
                                                                   SecurityProtos.CredentialsKVProto.Builder builderForValue)

      `repeated .hadoop.common.CredentialsKVProto tokens = 1;`

    - #### addAllTokens

          public SecurityProtos.CredentialsProto.Builder addAllTokens(Iterable<? extends SecurityProtos.CredentialsKVProto> values)

      `repeated .hadoop.common.CredentialsKVProto tokens = 1;`

    - #### clearTokens

          public SecurityProtos.CredentialsProto.Builder clearTokens()

      `repeated .hadoop.common.CredentialsKVProto tokens = 1;`

    - #### removeTokens

          public SecurityProtos.CredentialsProto.Builder removeTokens(int index)

      `repeated .hadoop.common.CredentialsKVProto tokens = 1;`

    - #### getTokensBuilder

          public SecurityProtos.CredentialsKVProto.Builder getTokensBuilder(int index)

      `repeated .hadoop.common.CredentialsKVProto tokens = 1;`

    - #### getTokensOrBuilder

          public SecurityProtos.CredentialsKVProtoOrBuilder getTokensOrBuilder(int index)

      `repeated .hadoop.common.CredentialsKVProto tokens = 1;`
      Specified by:
        `getTokensOrBuilder` in interface `SecurityProtos.CredentialsProtoOrBuilder`

    - #### getTokensOrBuilderList

          public List<? extends SecurityProtos.CredentialsKVProtoOrBuilder> getTokensOrBuilderList()

      `repeated .hadoop.common.CredentialsKVProto tokens = 1;`
      Specified by:
        `getTokensOrBuilderList` in interface `SecurityProtos.CredentialsProtoOrBuilder`

    - #### addTokensBuilder

          public SecurityProtos.CredentialsKVProto.Builder addTokensBuilder()

      `repeated .hadoop.common.CredentialsKVProto tokens = 1;`

    - #### addTokensBuilder

          public SecurityProtos.CredentialsKVProto.Builder addTokensBuilder(int index)

      `repeated .hadoop.common.CredentialsKVProto tokens = 1;`

    - #### getTokensBuilderList

          public List<SecurityProtos.CredentialsKVProto.Builder> getTokensBuilderList()

      `repeated .hadoop.common.CredentialsKVProto tokens = 1;`

    - #### getSecretsList

          public List<SecurityProtos.CredentialsKVProto> getSecretsList()

      `repeated .hadoop.common.CredentialsKVProto secrets = 2;`
      Specified by:
        `getSecretsList` in interface `SecurityProtos.CredentialsProtoOrBuilder`

    - #### getSecretsCount

          public int getSecretsCount()

      `repeated .hadoop.common.CredentialsKVProto secrets = 2;`
      Specified by:
        `getSecretsCount` in interface `SecurityProtos.CredentialsProtoOrBuilder`

    - #### getSecrets

          public SecurityProtos.CredentialsKVProto getSecrets(int index)

      `repeated .hadoop.common.CredentialsKVProto secrets = 2;`
      Specified by:
        `getSecrets` in interface `SecurityProtos.CredentialsProtoOrBuilder`

    - #### setSecrets

          public SecurityProtos.CredentialsProto.Builder setSecrets(int index,
                                                                    SecurityProtos.CredentialsKVProto value)

      `repeated .hadoop.common.CredentialsKVProto secrets = 2;`

    - #### setSecrets

          public SecurityProtos.CredentialsProto.Builder setSecrets(int index,
                                                                    SecurityProtos.CredentialsKVProto.Builder builderForValue)

      `repeated .hadoop.common.CredentialsKVProto secrets = 2;`

    - #### addSecrets

          public SecurityProtos.CredentialsProto.Builder addSecrets(SecurityProtos.CredentialsKVProto value)

      `repeated .hadoop.common.CredentialsKVProto secrets = 2;`

    - #### addSecrets

          public SecurityProtos.CredentialsProto.Builder addSecrets(int index,
                                                                    SecurityProtos.CredentialsKVProto value)

      `repeated .hadoop.common.CredentialsKVProto secrets = 2;`

    - #### addSecrets

          public SecurityProtos.CredentialsProto.Builder addSecrets(SecurityProtos.CredentialsKVProto.Builder builderForValue)

      `repeated .hadoop.common.CredentialsKVProto secrets = 2;`

    - #### addSecrets

          public SecurityProtos.CredentialsProto.Builder addSecrets(int index,
                                                                    SecurityProtos.CredentialsKVProto.Builder builderForValue)

      `repeated .hadoop.common.CredentialsKVProto secrets = 2;`

    - #### addAllSecrets

          public SecurityProtos.CredentialsProto.Builder addAllSecrets(Iterable<? extends SecurityProtos.CredentialsKVProto> values)

      `repeated .hadoop.common.CredentialsKVProto secrets = 2;`

    - #### clearSecrets

          public SecurityProtos.CredentialsProto.Builder clearSecrets()

      `repeated .hadoop.common.CredentialsKVProto secrets = 2;`

    - #### removeSecrets

          public SecurityProtos.CredentialsProto.Builder removeSecrets(int index)

      `repeated .hadoop.common.CredentialsKVProto secrets = 2;`

    - #### getSecretsBuilder

          public SecurityProtos.CredentialsKVProto.Builder getSecretsBuilder(int index)

      `repeated .hadoop.common.CredentialsKVProto secrets = 2;`

    - #### getSecretsOrBuilder

          public SecurityProtos.CredentialsKVProtoOrBuilder getSecretsOrBuilder(int index)

      `repeated .hadoop.common.CredentialsKVProto secrets = 2;`
      Specified by:
        `getSecretsOrBuilder` in interface `SecurityProtos.CredentialsProtoOrBuilder`

    - #### getSecretsOrBuilderList

          public List<? extends SecurityProtos.CredentialsKVProtoOrBuilder> getSecretsOrBuilderList()

      `repeated .hadoop.common.CredentialsKVProto secrets = 2;`
      Specified by:
        `getSecretsOrBuilderList` in interface `SecurityProtos.CredentialsProtoOrBuilder`

    - #### addSecretsBuilder

          public SecurityProtos.CredentialsKVProto.Builder addSecretsBuilder()

      `repeated .hadoop.common.CredentialsKVProto secrets = 2;`

    - #### addSecretsBuilder

          public SecurityProtos.CredentialsKVProto.Builder addSecretsBuilder(int index)

      `repeated .hadoop.common.CredentialsKVProto secrets = 2;`

    - #### getSecretsBuilderList

          public List<SecurityProtos.CredentialsKVProto.Builder> getSecretsBuilderList()

      `repeated .hadoop.common.CredentialsKVProto secrets = 2;`

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