Package com.coreos.dex.api
Class DexOuterClass.Password.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DexOuterClass.Password.Builder>
com.coreos.dex.api.DexOuterClass.Password.Builder
- All Implemented Interfaces:
DexOuterClass.PasswordOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- DexOuterClass.Password
public static final class DexOuterClass.Password.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DexOuterClass.Password.Builder>
implements DexOuterClass.PasswordOrBuilder
Password is an email for password mapping managed by the storage.Protobuf type
api.Password
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
string email = 1;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Currently we do not accept plain text passwords.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) string user_id = 4;
string username = 3;
clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getEmail()
string email = 1;
com.google.protobuf.ByteString
string email = 1;
com.google.protobuf.ByteString
getHash()
Currently we do not accept plain text passwords.string user_id = 4;
com.google.protobuf.ByteString
string user_id = 4;
string username = 3;
com.google.protobuf.ByteString
string username = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(DexOuterClass.Password other) mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) string email = 1;
setEmailBytes
(com.google.protobuf.ByteString value) string email = 1;
setHash
(com.google.protobuf.ByteString value) Currently we do not accept plain text passwords.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) string user_id = 4;
setUserIdBytes
(com.google.protobuf.ByteString value) string user_id = 4;
setUsername
(String value) string username = 3;
setUsernameBytes
(com.google.protobuf.ByteString value) string username = 3;
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DexOuterClass.Password.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DexOuterClass.Password.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DexOuterClass.Password.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DexOuterClass.Password.Builder>
-
setField
public DexOuterClass.Password.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DexOuterClass.Password.Builder>
-
clearField
public DexOuterClass.Password.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DexOuterClass.Password.Builder>
-
clearOneof
public DexOuterClass.Password.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<DexOuterClass.Password.Builder>
-
setRepeatedField
public DexOuterClass.Password.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DexOuterClass.Password.Builder>
-
addRepeatedField
public DexOuterClass.Password.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DexOuterClass.Password.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DexOuterClass.Password.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DexOuterClass.Password.Builder>
-
mergeFrom
public DexOuterClass.Password.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DexOuterClass.Password.Builder>
- Throws:
IOException
-
getEmail
string email = 1;
- Specified by:
getEmail
in interfaceDexOuterClass.PasswordOrBuilder
- Returns:
- The email.
-
getEmailBytes
public com.google.protobuf.ByteString getEmailBytes()string email = 1;
- Specified by:
getEmailBytes
in interfaceDexOuterClass.PasswordOrBuilder
- Returns:
- The bytes for email.
-
setEmail
string email = 1;
- Parameters:
value
- The email to set.- Returns:
- This builder for chaining.
-
clearEmail
string email = 1;
- Returns:
- This builder for chaining.
-
setEmailBytes
string email = 1;
- Parameters:
value
- The bytes for email to set.- Returns:
- This builder for chaining.
-
getHash
public com.google.protobuf.ByteString getHash()Currently we do not accept plain text passwords. Could be an option in the future.
bytes hash = 2;
- Specified by:
getHash
in interfaceDexOuterClass.PasswordOrBuilder
- Returns:
- The hash.
-
setHash
Currently we do not accept plain text passwords. Could be an option in the future.
bytes hash = 2;
- Parameters:
value
- The hash to set.- Returns:
- This builder for chaining.
-
clearHash
Currently we do not accept plain text passwords. Could be an option in the future.
bytes hash = 2;
- Returns:
- This builder for chaining.
-
getUsername
string username = 3;
- Specified by:
getUsername
in interfaceDexOuterClass.PasswordOrBuilder
- Returns:
- The username.
-
getUsernameBytes
public com.google.protobuf.ByteString getUsernameBytes()string username = 3;
- Specified by:
getUsernameBytes
in interfaceDexOuterClass.PasswordOrBuilder
- Returns:
- The bytes for username.
-
setUsername
string username = 3;
- Parameters:
value
- The username to set.- Returns:
- This builder for chaining.
-
clearUsername
string username = 3;
- Returns:
- This builder for chaining.
-
setUsernameBytes
string username = 3;
- Parameters:
value
- The bytes for username to set.- Returns:
- This builder for chaining.
-
getUserId
string user_id = 4;
- Specified by:
getUserId
in interfaceDexOuterClass.PasswordOrBuilder
- Returns:
- The userId.
-
getUserIdBytes
public com.google.protobuf.ByteString getUserIdBytes()string user_id = 4;
- Specified by:
getUserIdBytes
in interfaceDexOuterClass.PasswordOrBuilder
- Returns:
- The bytes for userId.
-
setUserId
string user_id = 4;
- Parameters:
value
- The userId to set.- Returns:
- This builder for chaining.
-
clearUserId
string user_id = 4;
- Returns:
- This builder for chaining.
-
setUserIdBytes
string user_id = 4;
- Parameters:
value
- The bytes for userId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final DexOuterClass.Password.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DexOuterClass.Password.Builder>
-
mergeUnknownFields
public final DexOuterClass.Password.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DexOuterClass.Password.Builder>
-