Package org.yamcs.protobuf
Class ServiceAccountInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountInfo.Builder>
org.yamcs.protobuf.ServiceAccountInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,ServiceAccountInfoOrBuilder
- Enclosing class:
- ServiceAccountInfo
public static final class ServiceAccountInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountInfo.Builder>
implements ServiceAccountInfoOrBuilder
Protobuf type
yamcs.protobuf.iam.ServiceAccountInfo
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Whether the account may loginWhen this account was first activatedUser that created this user accountWhen this user was createdDisplayed nameclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) When this account last logged inService account nameclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
boolean
Whether the account may logincom.google.protobuf.Timestamp
When this account was first activatedcom.google.protobuf.Timestamp.Builder
When this account was first activatedcom.google.protobuf.TimestampOrBuilder
When this account was first activatedUser that created this user accountUser that created this user accountUser that created this user accountcom.google.protobuf.Timestamp
When this user was createdcom.google.protobuf.Timestamp.Builder
When this user was createdcom.google.protobuf.TimestampOrBuilder
When this user was createdstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Displayed namecom.google.protobuf.ByteString
Displayed namecom.google.protobuf.Timestamp
When this account last logged incom.google.protobuf.Timestamp.Builder
When this account last logged incom.google.protobuf.TimestampOrBuilder
When this account last logged ingetName()
Service account namecom.google.protobuf.ByteString
Service account nameboolean
Whether the account may loginboolean
When this account was first activatedboolean
User that created this user accountboolean
When this user was createdboolean
Displayed nameboolean
When this account last logged inboolean
hasName()
Service account nameprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeConfirmationTime
(com.google.protobuf.Timestamp value) When this account was first activatedmergeCreatedBy
(UserInfo value) User that created this user accountmergeCreationTime
(com.google.protobuf.Timestamp value) When this user was createdmergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(ServiceAccountInfo other) mergeLastLoginTime
(com.google.protobuf.Timestamp value) When this account last logged inmergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setActive
(boolean value) Whether the account may loginsetConfirmationTime
(com.google.protobuf.Timestamp value) When this account was first activatedsetConfirmationTime
(com.google.protobuf.Timestamp.Builder builderForValue) When this account was first activatedsetCreatedBy
(UserInfo value) User that created this user accountsetCreatedBy
(UserInfo.Builder builderForValue) User that created this user accountsetCreationTime
(com.google.protobuf.Timestamp value) When this user was createdsetCreationTime
(com.google.protobuf.Timestamp.Builder builderForValue) When this user was createdsetDisplayName
(String value) Displayed namesetDisplayNameBytes
(com.google.protobuf.ByteString value) Displayed namesetLastLoginTime
(com.google.protobuf.Timestamp value) When this account last logged insetLastLoginTime
(com.google.protobuf.Timestamp.Builder builderForValue) When this account last logged inService account namesetNameBytes
(com.google.protobuf.ByteString value) Service account namesetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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<ServiceAccountInfo.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<ServiceAccountInfo.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<ServiceAccountInfo.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<ServiceAccountInfo.Builder>
-
setField
public ServiceAccountInfo.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<ServiceAccountInfo.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountInfo.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountInfo.Builder>
-
setRepeatedField
public ServiceAccountInfo.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<ServiceAccountInfo.Builder>
-
addRepeatedField
public ServiceAccountInfo.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<ServiceAccountInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ServiceAccountInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountInfo.Builder>
-
mergeFrom
public ServiceAccountInfo.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<ServiceAccountInfo.Builder>
- Throws:
IOException
-
hasName
public boolean hasName()Service account name
optional string name = 1;
- Specified by:
hasName
in interfaceServiceAccountInfoOrBuilder
- Returns:
- Whether the name field is set.
-
getName
Service account name
optional string name = 1;
- Specified by:
getName
in interfaceServiceAccountInfoOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Service account name
optional string name = 1;
- Specified by:
getNameBytes
in interfaceServiceAccountInfoOrBuilder
- Returns:
- The bytes for name.
-
setName
Service account name
optional string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
Service account name
optional string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
Service account name
optional string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasDisplayName
public boolean hasDisplayName()Displayed name
optional string displayName = 2;
- Specified by:
hasDisplayName
in interfaceServiceAccountInfoOrBuilder
- Returns:
- Whether the displayName field is set.
-
getDisplayName
Displayed name
optional string displayName = 2;
- Specified by:
getDisplayName
in interfaceServiceAccountInfoOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Displayed name
optional string displayName = 2;
- Specified by:
getDisplayNameBytes
in interfaceServiceAccountInfoOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
Displayed name
optional string displayName = 2;
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Displayed name
optional string displayName = 2;
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Displayed name
optional string displayName = 2;
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasActive
public boolean hasActive()Whether the account may login
optional bool active = 3;
- Specified by:
hasActive
in interfaceServiceAccountInfoOrBuilder
- Returns:
- Whether the active field is set.
-
getActive
public boolean getActive()Whether the account may login
optional bool active = 3;
- Specified by:
getActive
in interfaceServiceAccountInfoOrBuilder
- Returns:
- The active.
-
setActive
Whether the account may login
optional bool active = 3;
- Parameters:
value
- The active to set.- Returns:
- This builder for chaining.
-
clearActive
Whether the account may login
optional bool active = 3;
- Returns:
- This builder for chaining.
-
hasCreatedBy
public boolean hasCreatedBy()User that created this user account
optional .yamcs.protobuf.iam.UserInfo createdBy = 4;
- Specified by:
hasCreatedBy
in interfaceServiceAccountInfoOrBuilder
- Returns:
- Whether the createdBy field is set.
-
getCreatedBy
User that created this user account
optional .yamcs.protobuf.iam.UserInfo createdBy = 4;
- Specified by:
getCreatedBy
in interfaceServiceAccountInfoOrBuilder
- Returns:
- The createdBy.
-
setCreatedBy
User that created this user account
optional .yamcs.protobuf.iam.UserInfo createdBy = 4;
-
setCreatedBy
User that created this user account
optional .yamcs.protobuf.iam.UserInfo createdBy = 4;
-
mergeCreatedBy
User that created this user account
optional .yamcs.protobuf.iam.UserInfo createdBy = 4;
-
clearCreatedBy
User that created this user account
optional .yamcs.protobuf.iam.UserInfo createdBy = 4;
-
getCreatedByBuilder
User that created this user account
optional .yamcs.protobuf.iam.UserInfo createdBy = 4;
-
getCreatedByOrBuilder
User that created this user account
optional .yamcs.protobuf.iam.UserInfo createdBy = 4;
- Specified by:
getCreatedByOrBuilder
in interfaceServiceAccountInfoOrBuilder
-
hasCreationTime
public boolean hasCreationTime()When this user was created
optional .google.protobuf.Timestamp creationTime = 5;
- Specified by:
hasCreationTime
in interfaceServiceAccountInfoOrBuilder
- Returns:
- Whether the creationTime field is set.
-
getCreationTime
public com.google.protobuf.Timestamp getCreationTime()When this user was created
optional .google.protobuf.Timestamp creationTime = 5;
- Specified by:
getCreationTime
in interfaceServiceAccountInfoOrBuilder
- Returns:
- The creationTime.
-
setCreationTime
When this user was created
optional .google.protobuf.Timestamp creationTime = 5;
-
setCreationTime
public ServiceAccountInfo.Builder setCreationTime(com.google.protobuf.Timestamp.Builder builderForValue) When this user was created
optional .google.protobuf.Timestamp creationTime = 5;
-
mergeCreationTime
When this user was created
optional .google.protobuf.Timestamp creationTime = 5;
-
clearCreationTime
When this user was created
optional .google.protobuf.Timestamp creationTime = 5;
-
getCreationTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreationTimeBuilder()When this user was created
optional .google.protobuf.Timestamp creationTime = 5;
-
getCreationTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder()When this user was created
optional .google.protobuf.Timestamp creationTime = 5;
- Specified by:
getCreationTimeOrBuilder
in interfaceServiceAccountInfoOrBuilder
-
hasConfirmationTime
public boolean hasConfirmationTime()When this account was first activated
optional .google.protobuf.Timestamp confirmationTime = 6;
- Specified by:
hasConfirmationTime
in interfaceServiceAccountInfoOrBuilder
- Returns:
- Whether the confirmationTime field is set.
-
getConfirmationTime
public com.google.protobuf.Timestamp getConfirmationTime()When this account was first activated
optional .google.protobuf.Timestamp confirmationTime = 6;
- Specified by:
getConfirmationTime
in interfaceServiceAccountInfoOrBuilder
- Returns:
- The confirmationTime.
-
setConfirmationTime
When this account was first activated
optional .google.protobuf.Timestamp confirmationTime = 6;
-
setConfirmationTime
public ServiceAccountInfo.Builder setConfirmationTime(com.google.protobuf.Timestamp.Builder builderForValue) When this account was first activated
optional .google.protobuf.Timestamp confirmationTime = 6;
-
mergeConfirmationTime
When this account was first activated
optional .google.protobuf.Timestamp confirmationTime = 6;
-
clearConfirmationTime
When this account was first activated
optional .google.protobuf.Timestamp confirmationTime = 6;
-
getConfirmationTimeBuilder
public com.google.protobuf.Timestamp.Builder getConfirmationTimeBuilder()When this account was first activated
optional .google.protobuf.Timestamp confirmationTime = 6;
-
getConfirmationTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getConfirmationTimeOrBuilder()When this account was first activated
optional .google.protobuf.Timestamp confirmationTime = 6;
- Specified by:
getConfirmationTimeOrBuilder
in interfaceServiceAccountInfoOrBuilder
-
hasLastLoginTime
public boolean hasLastLoginTime()When this account last logged in
optional .google.protobuf.Timestamp lastLoginTime = 7;
- Specified by:
hasLastLoginTime
in interfaceServiceAccountInfoOrBuilder
- Returns:
- Whether the lastLoginTime field is set.
-
getLastLoginTime
public com.google.protobuf.Timestamp getLastLoginTime()When this account last logged in
optional .google.protobuf.Timestamp lastLoginTime = 7;
- Specified by:
getLastLoginTime
in interfaceServiceAccountInfoOrBuilder
- Returns:
- The lastLoginTime.
-
setLastLoginTime
When this account last logged in
optional .google.protobuf.Timestamp lastLoginTime = 7;
-
setLastLoginTime
public ServiceAccountInfo.Builder setLastLoginTime(com.google.protobuf.Timestamp.Builder builderForValue) When this account last logged in
optional .google.protobuf.Timestamp lastLoginTime = 7;
-
mergeLastLoginTime
When this account last logged in
optional .google.protobuf.Timestamp lastLoginTime = 7;
-
clearLastLoginTime
When this account last logged in
optional .google.protobuf.Timestamp lastLoginTime = 7;
-
getLastLoginTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastLoginTimeBuilder()When this account last logged in
optional .google.protobuf.Timestamp lastLoginTime = 7;
-
getLastLoginTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastLoginTimeOrBuilder()When this account last logged in
optional .google.protobuf.Timestamp lastLoginTime = 7;
- Specified by:
getLastLoginTimeOrBuilder
in interfaceServiceAccountInfoOrBuilder
-
setUnknownFields
public final ServiceAccountInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountInfo.Builder>
-
mergeUnknownFields
public final ServiceAccountInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountInfo.Builder>
-