public static final class SecurityProtos.CredentialsKVProto.Builder extends <any> implements SecurityProtos.CredentialsKVProtoOrBuilder
hadoop.common.CredentialsKVProto
Modifier and Type | Method and Description |
---|---|
SecurityProtos.CredentialsKVProto.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SecurityProtos.CredentialsKVProto |
build() |
SecurityProtos.CredentialsKVProto |
buildPartial() |
SecurityProtos.CredentialsKVProto.Builder |
clear() |
SecurityProtos.CredentialsKVProto.Builder |
clearAlias()
required string alias = 1; |
SecurityProtos.CredentialsKVProto.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SecurityProtos.CredentialsKVProto.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
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.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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 |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SecurityProtos.CredentialsKVProto.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
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; |
SecurityProtos.CredentialsKVProto.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public SecurityProtos.CredentialsKVProto.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
public SecurityProtos.CredentialsKVProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public SecurityProtos.CredentialsKVProto build()
public SecurityProtos.CredentialsKVProto buildPartial()
public SecurityProtos.CredentialsKVProto.Builder clone()
public SecurityProtos.CredentialsKVProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public SecurityProtos.CredentialsKVProto.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public SecurityProtos.CredentialsKVProto.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public SecurityProtos.CredentialsKVProto.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
public SecurityProtos.CredentialsKVProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public SecurityProtos.CredentialsKVProto.Builder mergeFrom(com.google.protobuf.Message other)
public SecurityProtos.CredentialsKVProto.Builder mergeFrom(SecurityProtos.CredentialsKVProto other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public SecurityProtos.CredentialsKVProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public boolean hasAlias()
required string alias = 1;
hasAlias
in interface SecurityProtos.CredentialsKVProtoOrBuilder
public String getAlias()
required string alias = 1;
getAlias
in interface SecurityProtos.CredentialsKVProtoOrBuilder
public com.google.protobuf.ByteString getAliasBytes()
required string alias = 1;
getAliasBytes
in interface SecurityProtos.CredentialsKVProtoOrBuilder
public SecurityProtos.CredentialsKVProto.Builder setAlias(String value)
required string alias = 1;
public SecurityProtos.CredentialsKVProto.Builder clearAlias()
required string alias = 1;
public SecurityProtos.CredentialsKVProto.Builder setAliasBytes(com.google.protobuf.ByteString value)
required string alias = 1;
public boolean hasToken()
optional .hadoop.common.TokenProto token = 2;
hasToken
in interface SecurityProtos.CredentialsKVProtoOrBuilder
public SecurityProtos.TokenProto getToken()
optional .hadoop.common.TokenProto token = 2;
getToken
in interface SecurityProtos.CredentialsKVProtoOrBuilder
public SecurityProtos.CredentialsKVProto.Builder setToken(SecurityProtos.TokenProto value)
optional .hadoop.common.TokenProto token = 2;
public SecurityProtos.CredentialsKVProto.Builder setToken(SecurityProtos.TokenProto.Builder builderForValue)
optional .hadoop.common.TokenProto token = 2;
public SecurityProtos.CredentialsKVProto.Builder mergeToken(SecurityProtos.TokenProto value)
optional .hadoop.common.TokenProto token = 2;
public SecurityProtos.CredentialsKVProto.Builder clearToken()
optional .hadoop.common.TokenProto token = 2;
public SecurityProtos.TokenProto.Builder getTokenBuilder()
optional .hadoop.common.TokenProto token = 2;
public SecurityProtos.TokenProtoOrBuilder getTokenOrBuilder()
optional .hadoop.common.TokenProto token = 2;
getTokenOrBuilder
in interface SecurityProtos.CredentialsKVProtoOrBuilder
public boolean hasSecret()
optional bytes secret = 3;
hasSecret
in interface SecurityProtos.CredentialsKVProtoOrBuilder
public com.google.protobuf.ByteString getSecret()
optional bytes secret = 3;
getSecret
in interface SecurityProtos.CredentialsKVProtoOrBuilder
public SecurityProtos.CredentialsKVProto.Builder setSecret(com.google.protobuf.ByteString value)
optional bytes secret = 3;
public SecurityProtos.CredentialsKVProto.Builder clearSecret()
optional bytes secret = 3;
public final SecurityProtos.CredentialsKVProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final SecurityProtos.CredentialsKVProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.