public static final class SecurityProtos.TokenProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<SecurityProtos.TokenProto.Builder> implements SecurityProtos.TokenProtoOrBuilder
hadoop.common.TokenProto
Security token identifier
Modifier and Type | Method and Description |
---|---|
SecurityProtos.TokenProto |
build() |
SecurityProtos.TokenProto |
buildPartial() |
SecurityProtos.TokenProto.Builder |
clear() |
SecurityProtos.TokenProto.Builder |
clearIdentifier()
required bytes identifier = 1; |
SecurityProtos.TokenProto.Builder |
clearKind()
required string kind = 3; |
SecurityProtos.TokenProto.Builder |
clearPassword()
required bytes password = 2; |
SecurityProtos.TokenProto.Builder |
clearService()
required string service = 4; |
SecurityProtos.TokenProto.Builder |
clone() |
SecurityProtos.TokenProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getIdentifier()
required bytes identifier = 1; |
String |
getKind()
required string kind = 3; |
com.google.protobuf.ByteString |
getKindBytes()
required string kind = 3; |
com.google.protobuf.ByteString |
getPassword()
required bytes password = 2; |
String |
getService()
required string service = 4; |
com.google.protobuf.ByteString |
getServiceBytes()
required string service = 4; |
boolean |
hasIdentifier()
required bytes identifier = 1; |
boolean |
hasKind()
required string kind = 3; |
boolean |
hasPassword()
required bytes password = 2; |
boolean |
hasService()
required string service = 4; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SecurityProtos.TokenProto.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SecurityProtos.TokenProto.Builder |
mergeFrom(com.google.protobuf.Message other) |
SecurityProtos.TokenProto.Builder |
mergeFrom(SecurityProtos.TokenProto other) |
SecurityProtos.TokenProto.Builder |
setIdentifier(com.google.protobuf.ByteString value)
required bytes identifier = 1; |
SecurityProtos.TokenProto.Builder |
setKind(String value)
required string kind = 3; |
SecurityProtos.TokenProto.Builder |
setKindBytes(com.google.protobuf.ByteString value)
required string kind = 3; |
SecurityProtos.TokenProto.Builder |
setPassword(com.google.protobuf.ByteString value)
required bytes password = 2; |
SecurityProtos.TokenProto.Builder |
setService(String value)
required string service = 4; |
SecurityProtos.TokenProto.Builder |
setServiceBytes(com.google.protobuf.ByteString value)
required string service = 4; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<SecurityProtos.TokenProto.Builder>
public SecurityProtos.TokenProto.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<SecurityProtos.TokenProto.Builder>
public SecurityProtos.TokenProto.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<SecurityProtos.TokenProto.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<SecurityProtos.TokenProto.Builder>
public SecurityProtos.TokenProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public SecurityProtos.TokenProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public SecurityProtos.TokenProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public SecurityProtos.TokenProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SecurityProtos.TokenProto.Builder>
public SecurityProtos.TokenProto.Builder mergeFrom(SecurityProtos.TokenProto other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<SecurityProtos.TokenProto.Builder>
public SecurityProtos.TokenProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SecurityProtos.TokenProto.Builder>
IOException
public boolean hasIdentifier()
required bytes identifier = 1;
hasIdentifier
in interface SecurityProtos.TokenProtoOrBuilder
public com.google.protobuf.ByteString getIdentifier()
required bytes identifier = 1;
getIdentifier
in interface SecurityProtos.TokenProtoOrBuilder
public SecurityProtos.TokenProto.Builder setIdentifier(com.google.protobuf.ByteString value)
required bytes identifier = 1;
public SecurityProtos.TokenProto.Builder clearIdentifier()
required bytes identifier = 1;
public boolean hasPassword()
required bytes password = 2;
hasPassword
in interface SecurityProtos.TokenProtoOrBuilder
public com.google.protobuf.ByteString getPassword()
required bytes password = 2;
getPassword
in interface SecurityProtos.TokenProtoOrBuilder
public SecurityProtos.TokenProto.Builder setPassword(com.google.protobuf.ByteString value)
required bytes password = 2;
public SecurityProtos.TokenProto.Builder clearPassword()
required bytes password = 2;
public boolean hasKind()
required string kind = 3;
hasKind
in interface SecurityProtos.TokenProtoOrBuilder
public String getKind()
required string kind = 3;
getKind
in interface SecurityProtos.TokenProtoOrBuilder
public com.google.protobuf.ByteString getKindBytes()
required string kind = 3;
getKindBytes
in interface SecurityProtos.TokenProtoOrBuilder
public SecurityProtos.TokenProto.Builder setKind(String value)
required string kind = 3;
public SecurityProtos.TokenProto.Builder clearKind()
required string kind = 3;
public SecurityProtos.TokenProto.Builder setKindBytes(com.google.protobuf.ByteString value)
required string kind = 3;
public boolean hasService()
required string service = 4;
hasService
in interface SecurityProtos.TokenProtoOrBuilder
public String getService()
required string service = 4;
getService
in interface SecurityProtos.TokenProtoOrBuilder
public com.google.protobuf.ByteString getServiceBytes()
required string service = 4;
getServiceBytes
in interface SecurityProtos.TokenProtoOrBuilder
public SecurityProtos.TokenProto.Builder setService(String value)
required string service = 4;
public SecurityProtos.TokenProto.Builder clearService()
required string service = 4;
public SecurityProtos.TokenProto.Builder setServiceBytes(com.google.protobuf.ByteString value)
required string service = 4;
Copyright © 2018 Apache Software Foundation. All Rights Reserved.