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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountInfo.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountInfo.Builder>
    • getDefaultInstanceForType

      public ServiceAccountInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ServiceAccountInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ServiceAccountInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountInfo.Builder>
    • setField

      public ServiceAccountInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountInfo.Builder>
    • clearField

      public ServiceAccountInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountInfo.Builder>
    • clearOneof

      public ServiceAccountInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountInfo.Builder>
    • addRepeatedField

      public ServiceAccountInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountInfo.Builder>
    • mergeFrom

      public ServiceAccountInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServiceAccountInfo.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServiceAccountInfo.Builder>
      Throws:
      IOException
    • hasName

      public boolean hasName()
       Service account name
       
      optional string name = 1;
      Specified by:
      hasName in interface ServiceAccountInfoOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Service account name
       
      optional string name = 1;
      Specified by:
      getName in interface ServiceAccountInfoOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Service account name
       
      optional string name = 1;
      Specified by:
      getNameBytes in interface ServiceAccountInfoOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ServiceAccountInfo.Builder setName(String value)
       Service account name
       
      optional string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public ServiceAccountInfo.Builder clearName()
       Service account name
       
      optional string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public ServiceAccountInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
       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 interface ServiceAccountInfoOrBuilder
      Returns:
      Whether the displayName field is set.
    • getDisplayName

      public String getDisplayName()
       Displayed name
       
      optional string displayName = 2;
      Specified by:
      getDisplayName in interface ServiceAccountInfoOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Displayed name
       
      optional string displayName = 2;
      Specified by:
      getDisplayNameBytes in interface ServiceAccountInfoOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public ServiceAccountInfo.Builder setDisplayName(String value)
       Displayed name
       
      optional string displayName = 2;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public ServiceAccountInfo.Builder clearDisplayName()
       Displayed name
       
      optional string displayName = 2;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public ServiceAccountInfo.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       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 interface ServiceAccountInfoOrBuilder
      Returns:
      Whether the active field is set.
    • getActive

      public boolean getActive()
       Whether the account may login
       
      optional bool active = 3;
      Specified by:
      getActive in interface ServiceAccountInfoOrBuilder
      Returns:
      The active.
    • setActive

      public ServiceAccountInfo.Builder setActive(boolean value)
       Whether the account may login
       
      optional bool active = 3;
      Parameters:
      value - The active to set.
      Returns:
      This builder for chaining.
    • clearActive

      public ServiceAccountInfo.Builder 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 interface ServiceAccountInfoOrBuilder
      Returns:
      Whether the createdBy field is set.
    • getCreatedBy

      public UserInfo getCreatedBy()
       User that created this user account
       
      optional .yamcs.protobuf.iam.UserInfo createdBy = 4;
      Specified by:
      getCreatedBy in interface ServiceAccountInfoOrBuilder
      Returns:
      The createdBy.
    • setCreatedBy

      public ServiceAccountInfo.Builder setCreatedBy(UserInfo value)
       User that created this user account
       
      optional .yamcs.protobuf.iam.UserInfo createdBy = 4;
    • setCreatedBy

      public ServiceAccountInfo.Builder setCreatedBy(UserInfo.Builder builderForValue)
       User that created this user account
       
      optional .yamcs.protobuf.iam.UserInfo createdBy = 4;
    • mergeCreatedBy

      public ServiceAccountInfo.Builder mergeCreatedBy(UserInfo value)
       User that created this user account
       
      optional .yamcs.protobuf.iam.UserInfo createdBy = 4;
    • clearCreatedBy

      public ServiceAccountInfo.Builder clearCreatedBy()
       User that created this user account
       
      optional .yamcs.protobuf.iam.UserInfo createdBy = 4;
    • getCreatedByBuilder

      public UserInfo.Builder getCreatedByBuilder()
       User that created this user account
       
      optional .yamcs.protobuf.iam.UserInfo createdBy = 4;
    • getCreatedByOrBuilder

      public UserInfoOrBuilder getCreatedByOrBuilder()
       User that created this user account
       
      optional .yamcs.protobuf.iam.UserInfo createdBy = 4;
      Specified by:
      getCreatedByOrBuilder in interface ServiceAccountInfoOrBuilder
    • hasCreationTime

      public boolean hasCreationTime()
       When this user was created
       
      optional .google.protobuf.Timestamp creationTime = 5;
      Specified by:
      hasCreationTime in interface ServiceAccountInfoOrBuilder
      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 interface ServiceAccountInfoOrBuilder
      Returns:
      The creationTime.
    • setCreationTime

      public ServiceAccountInfo.Builder setCreationTime(com.google.protobuf.Timestamp value)
       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

      public ServiceAccountInfo.Builder mergeCreationTime(com.google.protobuf.Timestamp value)
       When this user was created
       
      optional .google.protobuf.Timestamp creationTime = 5;
    • clearCreationTime

      public ServiceAccountInfo.Builder 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 interface ServiceAccountInfoOrBuilder
    • hasConfirmationTime

      public boolean hasConfirmationTime()
       When this account was first activated
       
      optional .google.protobuf.Timestamp confirmationTime = 6;
      Specified by:
      hasConfirmationTime in interface ServiceAccountInfoOrBuilder
      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 interface ServiceAccountInfoOrBuilder
      Returns:
      The confirmationTime.
    • setConfirmationTime

      public ServiceAccountInfo.Builder setConfirmationTime(com.google.protobuf.Timestamp value)
       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

      public ServiceAccountInfo.Builder mergeConfirmationTime(com.google.protobuf.Timestamp value)
       When this account was first activated
       
      optional .google.protobuf.Timestamp confirmationTime = 6;
    • clearConfirmationTime

      public ServiceAccountInfo.Builder 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 interface ServiceAccountInfoOrBuilder
    • hasLastLoginTime

      public boolean hasLastLoginTime()
       When this account last logged in
       
      optional .google.protobuf.Timestamp lastLoginTime = 7;
      Specified by:
      hasLastLoginTime in interface ServiceAccountInfoOrBuilder
      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 interface ServiceAccountInfoOrBuilder
      Returns:
      The lastLoginTime.
    • setLastLoginTime

      public ServiceAccountInfo.Builder setLastLoginTime(com.google.protobuf.Timestamp value)
       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

      public ServiceAccountInfo.Builder mergeLastLoginTime(com.google.protobuf.Timestamp value)
       When this account last logged in
       
      optional .google.protobuf.Timestamp lastLoginTime = 7;
    • clearLastLoginTime

      public ServiceAccountInfo.Builder 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 interface ServiceAccountInfoOrBuilder
    • setUnknownFields

      public final ServiceAccountInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountInfo.Builder>
    • mergeUnknownFields

      public final ServiceAccountInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountInfo.Builder>