Package org.yamcs.security.protobuf
Class UserAccountRecordDetail.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<UserAccountRecordDetail.Builder>
org.yamcs.security.protobuf.UserAccountRecordDetail.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,UserAccountRecordDetailOrBuilder
- Enclosing class:
- UserAccountRecordDetail
public static final class UserAccountRecordDetail.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UserAccountRecordDetail.Builder>
implements UserAccountRecordDetailOrBuilder
Protobuf type
UserAccountRecordDetail
-
Method Summary
Modifier and TypeMethodDescriptionaddAllIdentities
(Iterable<? extends ExternalIdentity> values) repeated .ExternalIdentity identities = 4;
addAllRoles
(Iterable<String> values) repeated string roles = 5;
addIdentities
(int index, ExternalIdentity value) repeated .ExternalIdentity identities = 4;
addIdentities
(int index, ExternalIdentity.Builder builderForValue) repeated .ExternalIdentity identities = 4;
addIdentities
(ExternalIdentity value) repeated .ExternalIdentity identities = 4;
addIdentities
(ExternalIdentity.Builder builderForValue) repeated .ExternalIdentity identities = 4;
repeated .ExternalIdentity identities = 4;
addIdentitiesBuilder
(int index) repeated .ExternalIdentity identities = 4;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) repeated string roles = 5;
addRolesBytes
(com.google.protobuf.ByteString value) repeated string roles = 5;
build()
clear()
optional .Clearance clearance = 6;
optional string email = 1;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) optional string hash = 2;
repeated .ExternalIdentity identities = 4;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) repeated string roles = 5;
optional bool superuser = 3;
clone()
optional .Clearance clearance = 6;
optional .Clearance clearance = 6;
optional .Clearance clearance = 6;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getEmail()
optional string email = 1;
com.google.protobuf.ByteString
optional string email = 1;
getHash()
optional string hash = 2;
com.google.protobuf.ByteString
optional string hash = 2;
getIdentities
(int index) repeated .ExternalIdentity identities = 4;
getIdentitiesBuilder
(int index) repeated .ExternalIdentity identities = 4;
repeated .ExternalIdentity identities = 4;
int
repeated .ExternalIdentity identities = 4;
repeated .ExternalIdentity identities = 4;
getIdentitiesOrBuilder
(int index) repeated .ExternalIdentity identities = 4;
List<? extends ExternalIdentityOrBuilder>
repeated .ExternalIdentity identities = 4;
getRoles
(int index) repeated string roles = 5;
com.google.protobuf.ByteString
getRolesBytes
(int index) repeated string roles = 5;
int
repeated string roles = 5;
com.google.protobuf.ProtocolStringList
repeated string roles = 5;
boolean
optional bool superuser = 3;
boolean
optional .Clearance clearance = 6;
boolean
hasEmail()
optional string email = 1;
boolean
hasHash()
optional string hash = 2;
boolean
optional bool superuser = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeClearance
(Clearance value) optional .Clearance clearance = 6;
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(UserAccountRecordDetail other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeIdentities
(int index) repeated .ExternalIdentity identities = 4;
setClearance
(Clearance value) optional .Clearance clearance = 6;
setClearance
(Clearance.Builder builderForValue) optional .Clearance clearance = 6;
optional string email = 1;
setEmailBytes
(com.google.protobuf.ByteString value) optional string email = 1;
optional string hash = 2;
setHashBytes
(com.google.protobuf.ByteString value) optional string hash = 2;
setIdentities
(int index, ExternalIdentity value) repeated .ExternalIdentity identities = 4;
setIdentities
(int index, ExternalIdentity.Builder builderForValue) repeated .ExternalIdentity identities = 4;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) repeated string roles = 5;
setSuperuser
(boolean value) optional bool superuser = 3;
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, 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.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<UserAccountRecordDetail.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<UserAccountRecordDetail.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<UserAccountRecordDetail.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<UserAccountRecordDetail.Builder>
-
setField
public UserAccountRecordDetail.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<UserAccountRecordDetail.Builder>
-
clearField
public UserAccountRecordDetail.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<UserAccountRecordDetail.Builder>
-
clearOneof
public UserAccountRecordDetail.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<UserAccountRecordDetail.Builder>
-
setRepeatedField
public UserAccountRecordDetail.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<UserAccountRecordDetail.Builder>
-
addRepeatedField
public UserAccountRecordDetail.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<UserAccountRecordDetail.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UserAccountRecordDetail.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserAccountRecordDetail.Builder>
-
mergeFrom
public UserAccountRecordDetail.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<UserAccountRecordDetail.Builder>
- Throws:
IOException
-
hasEmail
public boolean hasEmail()optional string email = 1;
- Specified by:
hasEmail
in interfaceUserAccountRecordDetailOrBuilder
- Returns:
- Whether the email field is set.
-
getEmail
optional string email = 1;
- Specified by:
getEmail
in interfaceUserAccountRecordDetailOrBuilder
- Returns:
- The email.
-
getEmailBytes
public com.google.protobuf.ByteString getEmailBytes()optional string email = 1;
- Specified by:
getEmailBytes
in interfaceUserAccountRecordDetailOrBuilder
- Returns:
- The bytes for email.
-
setEmail
optional string email = 1;
- Parameters:
value
- The email to set.- Returns:
- This builder for chaining.
-
clearEmail
optional string email = 1;
- Returns:
- This builder for chaining.
-
setEmailBytes
optional string email = 1;
- Parameters:
value
- The bytes for email to set.- Returns:
- This builder for chaining.
-
hasHash
public boolean hasHash()optional string hash = 2;
- Specified by:
hasHash
in interfaceUserAccountRecordDetailOrBuilder
- Returns:
- Whether the hash field is set.
-
getHash
optional string hash = 2;
- Specified by:
getHash
in interfaceUserAccountRecordDetailOrBuilder
- Returns:
- The hash.
-
getHashBytes
public com.google.protobuf.ByteString getHashBytes()optional string hash = 2;
- Specified by:
getHashBytes
in interfaceUserAccountRecordDetailOrBuilder
- Returns:
- The bytes for hash.
-
setHash
optional string hash = 2;
- Parameters:
value
- The hash to set.- Returns:
- This builder for chaining.
-
clearHash
optional string hash = 2;
- Returns:
- This builder for chaining.
-
setHashBytes
optional string hash = 2;
- Parameters:
value
- The bytes for hash to set.- Returns:
- This builder for chaining.
-
hasSuperuser
public boolean hasSuperuser()optional bool superuser = 3;
- Specified by:
hasSuperuser
in interfaceUserAccountRecordDetailOrBuilder
- Returns:
- Whether the superuser field is set.
-
getSuperuser
public boolean getSuperuser()optional bool superuser = 3;
- Specified by:
getSuperuser
in interfaceUserAccountRecordDetailOrBuilder
- Returns:
- The superuser.
-
setSuperuser
optional bool superuser = 3;
- Parameters:
value
- The superuser to set.- Returns:
- This builder for chaining.
-
clearSuperuser
optional bool superuser = 3;
- Returns:
- This builder for chaining.
-
getRolesList
public com.google.protobuf.ProtocolStringList getRolesList()repeated string roles = 5;
- Specified by:
getRolesList
in interfaceUserAccountRecordDetailOrBuilder
- Returns:
- A list containing the roles.
-
getRolesCount
public int getRolesCount()repeated string roles = 5;
- Specified by:
getRolesCount
in interfaceUserAccountRecordDetailOrBuilder
- Returns:
- The count of roles.
-
getRoles
repeated string roles = 5;
- Specified by:
getRoles
in interfaceUserAccountRecordDetailOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The roles at the given index.
-
getRolesBytes
public com.google.protobuf.ByteString getRolesBytes(int index) repeated string roles = 5;
- Specified by:
getRolesBytes
in interfaceUserAccountRecordDetailOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the roles at the given index.
-
setRoles
repeated string roles = 5;
- Parameters:
index
- The index to set the value at.value
- The roles to set.- Returns:
- This builder for chaining.
-
addRoles
repeated string roles = 5;
- Parameters:
value
- The roles to add.- Returns:
- This builder for chaining.
-
addAllRoles
repeated string roles = 5;
- Parameters:
values
- The roles to add.- Returns:
- This builder for chaining.
-
clearRoles
repeated string roles = 5;
- Returns:
- This builder for chaining.
-
addRolesBytes
repeated string roles = 5;
- Parameters:
value
- The bytes of the roles to add.- Returns:
- This builder for chaining.
-
getIdentitiesList
repeated .ExternalIdentity identities = 4;
- Specified by:
getIdentitiesList
in interfaceUserAccountRecordDetailOrBuilder
-
getIdentitiesCount
public int getIdentitiesCount()repeated .ExternalIdentity identities = 4;
- Specified by:
getIdentitiesCount
in interfaceUserAccountRecordDetailOrBuilder
-
getIdentities
repeated .ExternalIdentity identities = 4;
- Specified by:
getIdentities
in interfaceUserAccountRecordDetailOrBuilder
-
setIdentities
repeated .ExternalIdentity identities = 4;
-
setIdentities
public UserAccountRecordDetail.Builder setIdentities(int index, ExternalIdentity.Builder builderForValue) repeated .ExternalIdentity identities = 4;
-
addIdentities
repeated .ExternalIdentity identities = 4;
-
addIdentities
repeated .ExternalIdentity identities = 4;
-
addIdentities
repeated .ExternalIdentity identities = 4;
-
addIdentities
public UserAccountRecordDetail.Builder addIdentities(int index, ExternalIdentity.Builder builderForValue) repeated .ExternalIdentity identities = 4;
-
addAllIdentities
public UserAccountRecordDetail.Builder addAllIdentities(Iterable<? extends ExternalIdentity> values) repeated .ExternalIdentity identities = 4;
-
clearIdentities
repeated .ExternalIdentity identities = 4;
-
removeIdentities
repeated .ExternalIdentity identities = 4;
-
getIdentitiesBuilder
repeated .ExternalIdentity identities = 4;
-
getIdentitiesOrBuilder
repeated .ExternalIdentity identities = 4;
- Specified by:
getIdentitiesOrBuilder
in interfaceUserAccountRecordDetailOrBuilder
-
getIdentitiesOrBuilderList
repeated .ExternalIdentity identities = 4;
- Specified by:
getIdentitiesOrBuilderList
in interfaceUserAccountRecordDetailOrBuilder
-
addIdentitiesBuilder
repeated .ExternalIdentity identities = 4;
-
addIdentitiesBuilder
repeated .ExternalIdentity identities = 4;
-
getIdentitiesBuilderList
repeated .ExternalIdentity identities = 4;
-
hasClearance
public boolean hasClearance()optional .Clearance clearance = 6;
- Specified by:
hasClearance
in interfaceUserAccountRecordDetailOrBuilder
- Returns:
- Whether the clearance field is set.
-
getClearance
optional .Clearance clearance = 6;
- Specified by:
getClearance
in interfaceUserAccountRecordDetailOrBuilder
- Returns:
- The clearance.
-
setClearance
optional .Clearance clearance = 6;
-
setClearance
optional .Clearance clearance = 6;
-
mergeClearance
optional .Clearance clearance = 6;
-
clearClearance
optional .Clearance clearance = 6;
-
getClearanceBuilder
optional .Clearance clearance = 6;
-
getClearanceOrBuilder
optional .Clearance clearance = 6;
- Specified by:
getClearanceOrBuilder
in interfaceUserAccountRecordDetailOrBuilder
-
setUnknownFields
public final UserAccountRecordDetail.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserAccountRecordDetail.Builder>
-
mergeUnknownFields
public final UserAccountRecordDetail.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserAccountRecordDetail.Builder>
-