Class AccountAccess.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<AccountAccess.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<AccountAccess.Builder>
io.temporal.api.cloud.identity.v1.AccountAccess.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, AccountAccessOrBuilder, Cloneable
Enclosing class:
AccountAccess

public static final class AccountAccess.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AccountAccess.Builder> implements AccountAccessOrBuilder
Protobuf type temporal.api.cloud.identity.v1.AccountAccess
  • 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<AccountAccess.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

      public AccountAccess.Builder mergeFrom(AccountAccess other)
    • isInitialized

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

      public AccountAccess.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<AccountAccess.Builder>
      Throws:
      IOException
    • getRoleDeprecated

      @Deprecated public String getRoleDeprecated()
      Deprecated.
      temporal.api.cloud.identity.v1.AccountAccess.role_deprecated is deprecated. See temporal/api/cloud/identity/v1/message.proto;l=24
       The role on the account, should be one of [owner, admin, developer, financeadmin, read, metricsread]
       owner - gives full access to the account, including users, namespaces, and billing
       admin - gives full access the account, including users and namespaces
       developer - gives access to create namespaces on the account
       financeadmin - gives read only access and write access for billing
       read - gives read only access to the account
       metricsread - gives read only access to all namespace metrics
       Deprecated: Not supported after v0.3.0 api version. Use role instead.
       temporal:versioning:max_version=v0.3.0
       
      string role_deprecated = 1 [deprecated = true];
      Specified by:
      getRoleDeprecated in interface AccountAccessOrBuilder
      Returns:
      The roleDeprecated.
    • getRoleDeprecatedBytes

      @Deprecated public com.google.protobuf.ByteString getRoleDeprecatedBytes()
      Deprecated.
      temporal.api.cloud.identity.v1.AccountAccess.role_deprecated is deprecated. See temporal/api/cloud/identity/v1/message.proto;l=24
       The role on the account, should be one of [owner, admin, developer, financeadmin, read, metricsread]
       owner - gives full access to the account, including users, namespaces, and billing
       admin - gives full access the account, including users and namespaces
       developer - gives access to create namespaces on the account
       financeadmin - gives read only access and write access for billing
       read - gives read only access to the account
       metricsread - gives read only access to all namespace metrics
       Deprecated: Not supported after v0.3.0 api version. Use role instead.
       temporal:versioning:max_version=v0.3.0
       
      string role_deprecated = 1 [deprecated = true];
      Specified by:
      getRoleDeprecatedBytes in interface AccountAccessOrBuilder
      Returns:
      The bytes for roleDeprecated.
    • setRoleDeprecated

      @Deprecated public AccountAccess.Builder setRoleDeprecated(String value)
      Deprecated.
      temporal.api.cloud.identity.v1.AccountAccess.role_deprecated is deprecated. See temporal/api/cloud/identity/v1/message.proto;l=24
       The role on the account, should be one of [owner, admin, developer, financeadmin, read, metricsread]
       owner - gives full access to the account, including users, namespaces, and billing
       admin - gives full access the account, including users and namespaces
       developer - gives access to create namespaces on the account
       financeadmin - gives read only access and write access for billing
       read - gives read only access to the account
       metricsread - gives read only access to all namespace metrics
       Deprecated: Not supported after v0.3.0 api version. Use role instead.
       temporal:versioning:max_version=v0.3.0
       
      string role_deprecated = 1 [deprecated = true];
      Parameters:
      value - The roleDeprecated to set.
      Returns:
      This builder for chaining.
    • clearRoleDeprecated

      @Deprecated public AccountAccess.Builder clearRoleDeprecated()
      Deprecated.
      temporal.api.cloud.identity.v1.AccountAccess.role_deprecated is deprecated. See temporal/api/cloud/identity/v1/message.proto;l=24
       The role on the account, should be one of [owner, admin, developer, financeadmin, read, metricsread]
       owner - gives full access to the account, including users, namespaces, and billing
       admin - gives full access the account, including users and namespaces
       developer - gives access to create namespaces on the account
       financeadmin - gives read only access and write access for billing
       read - gives read only access to the account
       metricsread - gives read only access to all namespace metrics
       Deprecated: Not supported after v0.3.0 api version. Use role instead.
       temporal:versioning:max_version=v0.3.0
       
      string role_deprecated = 1 [deprecated = true];
      Returns:
      This builder for chaining.
    • setRoleDeprecatedBytes

      @Deprecated public AccountAccess.Builder setRoleDeprecatedBytes(com.google.protobuf.ByteString value)
      Deprecated.
      temporal.api.cloud.identity.v1.AccountAccess.role_deprecated is deprecated. See temporal/api/cloud/identity/v1/message.proto;l=24
       The role on the account, should be one of [owner, admin, developer, financeadmin, read, metricsread]
       owner - gives full access to the account, including users, namespaces, and billing
       admin - gives full access the account, including users and namespaces
       developer - gives access to create namespaces on the account
       financeadmin - gives read only access and write access for billing
       read - gives read only access to the account
       metricsread - gives read only access to all namespace metrics
       Deprecated: Not supported after v0.3.0 api version. Use role instead.
       temporal:versioning:max_version=v0.3.0
       
      string role_deprecated = 1 [deprecated = true];
      Parameters:
      value - The bytes for roleDeprecated to set.
      Returns:
      This builder for chaining.
    • getRoleValue

      public int getRoleValue()
       The role on the account.
       temporal:versioning:min_version=v0.3.0
       temporal:enums:replaces=role_deprecated
       
      .temporal.api.cloud.identity.v1.AccountAccess.Role role = 2;
      Specified by:
      getRoleValue in interface AccountAccessOrBuilder
      Returns:
      The enum numeric value on the wire for role.
    • setRoleValue

      public AccountAccess.Builder setRoleValue(int value)
       The role on the account.
       temporal:versioning:min_version=v0.3.0
       temporal:enums:replaces=role_deprecated
       
      .temporal.api.cloud.identity.v1.AccountAccess.Role role = 2;
      Parameters:
      value - The enum numeric value on the wire for role to set.
      Returns:
      This builder for chaining.
    • getRole

      public AccountAccess.Role getRole()
       The role on the account.
       temporal:versioning:min_version=v0.3.0
       temporal:enums:replaces=role_deprecated
       
      .temporal.api.cloud.identity.v1.AccountAccess.Role role = 2;
      Specified by:
      getRole in interface AccountAccessOrBuilder
      Returns:
      The role.
    • setRole

      public AccountAccess.Builder setRole(AccountAccess.Role value)
       The role on the account.
       temporal:versioning:min_version=v0.3.0
       temporal:enums:replaces=role_deprecated
       
      .temporal.api.cloud.identity.v1.AccountAccess.Role role = 2;
      Parameters:
      value - The role to set.
      Returns:
      This builder for chaining.
    • clearRole

      public AccountAccess.Builder clearRole()
       The role on the account.
       temporal:versioning:min_version=v0.3.0
       temporal:enums:replaces=role_deprecated
       
      .temporal.api.cloud.identity.v1.AccountAccess.Role role = 2;
      Returns:
      This builder for chaining.
    • getCustomRolesList

      public com.google.protobuf.ProtocolStringList getCustomRolesList()
       List of custom role IDs assigned to the user or service account.
       temporal:versioning:min_version=v0.13.0
       
      repeated string custom_roles = 3;
      Specified by:
      getCustomRolesList in interface AccountAccessOrBuilder
      Returns:
      A list containing the customRoles.
    • getCustomRolesCount

      public int getCustomRolesCount()
       List of custom role IDs assigned to the user or service account.
       temporal:versioning:min_version=v0.13.0
       
      repeated string custom_roles = 3;
      Specified by:
      getCustomRolesCount in interface AccountAccessOrBuilder
      Returns:
      The count of customRoles.
    • getCustomRoles

      public String getCustomRoles(int index)
       List of custom role IDs assigned to the user or service account.
       temporal:versioning:min_version=v0.13.0
       
      repeated string custom_roles = 3;
      Specified by:
      getCustomRoles in interface AccountAccessOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The customRoles at the given index.
    • getCustomRolesBytes

      public com.google.protobuf.ByteString getCustomRolesBytes(int index)
       List of custom role IDs assigned to the user or service account.
       temporal:versioning:min_version=v0.13.0
       
      repeated string custom_roles = 3;
      Specified by:
      getCustomRolesBytes in interface AccountAccessOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the customRoles at the given index.
    • setCustomRoles

      public AccountAccess.Builder setCustomRoles(int index, String value)
       List of custom role IDs assigned to the user or service account.
       temporal:versioning:min_version=v0.13.0
       
      repeated string custom_roles = 3;
      Parameters:
      index - The index to set the value at.
      value - The customRoles to set.
      Returns:
      This builder for chaining.
    • addCustomRoles

      public AccountAccess.Builder addCustomRoles(String value)
       List of custom role IDs assigned to the user or service account.
       temporal:versioning:min_version=v0.13.0
       
      repeated string custom_roles = 3;
      Parameters:
      value - The customRoles to add.
      Returns:
      This builder for chaining.
    • addAllCustomRoles

      public AccountAccess.Builder addAllCustomRoles(Iterable<String> values)
       List of custom role IDs assigned to the user or service account.
       temporal:versioning:min_version=v0.13.0
       
      repeated string custom_roles = 3;
      Parameters:
      values - The customRoles to add.
      Returns:
      This builder for chaining.
    • clearCustomRoles

      public AccountAccess.Builder clearCustomRoles()
       List of custom role IDs assigned to the user or service account.
       temporal:versioning:min_version=v0.13.0
       
      repeated string custom_roles = 3;
      Returns:
      This builder for chaining.
    • addCustomRolesBytes

      public AccountAccess.Builder addCustomRolesBytes(com.google.protobuf.ByteString value)
       List of custom role IDs assigned to the user or service account.
       temporal:versioning:min_version=v0.13.0
       
      repeated string custom_roles = 3;
      Parameters:
      value - The bytes of the customRoles to add.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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