Package com.buildless

Class Account.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Account.Builder>
com.buildless.Account.Builder
All Implemented Interfaces:
AccountOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Account

public static final class Account.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Account.Builder> implements AccountOrBuilder
 ## Account

 Specifies the abstract notion of an account record within Buildless. Accounts are generic records which encompass the
 dual concepts of a `User` and a `Tenant`. `User` accounts are accounts for individual human beings, whereas `Tenant`
 accounts are accounts for companies, teams, or other groups of human beings.

 Because a `Tenant` or `User` may need to be referenced in generic terms, an account record exists to represent either
 as a value in a broader object.
 
Protobuf type buildless.Account
  • 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<Account.Builder>
    • clear

      public Account.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<Account.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<Account.Builder>
    • getDefaultInstanceForType

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

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

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

      public Account.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<Account.Builder>
    • setField

      public Account.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<Account.Builder>
    • clearField

      public Account.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<Account.Builder>
    • clearOneof

      public Account.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<Account.Builder>
    • setRepeatedField

      public Account.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<Account.Builder>
    • addRepeatedField

      public Account.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<Account.Builder>
    • mergeFrom

      public Account.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<Account.Builder>
    • mergeFrom

      public Account.Builder mergeFrom(Account other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Account.Builder>
    • mergeFrom

      public Account.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<Account.Builder>
      Throws:
      IOException
    • getAccountCase

      public Account.AccountCase getAccountCase()
      Specified by:
      getAccountCase in interface AccountOrBuilder
    • clearAccount

      public Account.Builder clearAccount()
    • hasUser

      public boolean hasUser()
       Specifies a user account, potentially with a `Tenant` account in which the user is operating.
       
      .buildless.Account.UserAccount user = 1 [json_name = "user"];
      Specified by:
      hasUser in interface AccountOrBuilder
      Returns:
      Whether the user field is set.
    • getUser

      public Account.UserAccount getUser()
       Specifies a user account, potentially with a `Tenant` account in which the user is operating.
       
      .buildless.Account.UserAccount user = 1 [json_name = "user"];
      Specified by:
      getUser in interface AccountOrBuilder
      Returns:
      The user.
    • setUser

      public Account.Builder setUser(Account.UserAccount value)
       Specifies a user account, potentially with a `Tenant` account in which the user is operating.
       
      .buildless.Account.UserAccount user = 1 [json_name = "user"];
    • setUser

      public Account.Builder setUser(Account.UserAccount.Builder builderForValue)
       Specifies a user account, potentially with a `Tenant` account in which the user is operating.
       
      .buildless.Account.UserAccount user = 1 [json_name = "user"];
    • mergeUser

      public Account.Builder mergeUser(Account.UserAccount value)
       Specifies a user account, potentially with a `Tenant` account in which the user is operating.
       
      .buildless.Account.UserAccount user = 1 [json_name = "user"];
    • clearUser

      public Account.Builder clearUser()
       Specifies a user account, potentially with a `Tenant` account in which the user is operating.
       
      .buildless.Account.UserAccount user = 1 [json_name = "user"];
    • getUserBuilder

      public Account.UserAccount.Builder getUserBuilder()
       Specifies a user account, potentially with a `Tenant` account in which the user is operating.
       
      .buildless.Account.UserAccount user = 1 [json_name = "user"];
    • getUserOrBuilder

      public Account.UserAccountOrBuilder getUserOrBuilder()
       Specifies a user account, potentially with a `Tenant` account in which the user is operating.
       
      .buildless.Account.UserAccount user = 1 [json_name = "user"];
      Specified by:
      getUserOrBuilder in interface AccountOrBuilder
    • hasTenant

      public boolean hasTenant()
       Specifies a tenant account.
       
      .buildless.Tenant tenant = 2 [json_name = "tenant"];
      Specified by:
      hasTenant in interface AccountOrBuilder
      Returns:
      Whether the tenant field is set.
    • getTenant

      public Tenant getTenant()
       Specifies a tenant account.
       
      .buildless.Tenant tenant = 2 [json_name = "tenant"];
      Specified by:
      getTenant in interface AccountOrBuilder
      Returns:
      The tenant.
    • setTenant

      public Account.Builder setTenant(Tenant value)
       Specifies a tenant account.
       
      .buildless.Tenant tenant = 2 [json_name = "tenant"];
    • setTenant

      public Account.Builder setTenant(Tenant.Builder builderForValue)
       Specifies a tenant account.
       
      .buildless.Tenant tenant = 2 [json_name = "tenant"];
    • mergeTenant

      public Account.Builder mergeTenant(Tenant value)
       Specifies a tenant account.
       
      .buildless.Tenant tenant = 2 [json_name = "tenant"];
    • clearTenant

      public Account.Builder clearTenant()
       Specifies a tenant account.
       
      .buildless.Tenant tenant = 2 [json_name = "tenant"];
    • getTenantBuilder

      public Tenant.Builder getTenantBuilder()
       Specifies a tenant account.
       
      .buildless.Tenant tenant = 2 [json_name = "tenant"];
    • getTenantOrBuilder

      public TenantOrBuilder getTenantOrBuilder()
       Specifies a tenant account.
       
      .buildless.Tenant tenant = 2 [json_name = "tenant"];
      Specified by:
      getTenantOrBuilder in interface AccountOrBuilder
    • setUnknownFields

      public final Account.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<Account.Builder>
    • mergeUnknownFields

      public final Account.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<Account.Builder>