Class AccountAccess.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, AccountAccessOrBuilder, java.lang.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 Detail

      • 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,
                                              java.lang.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,
                                                      java.lang.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,
                                                      java.lang.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>
      • 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 java.io.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:
        java.io.IOException
      • getRoleDeprecated

        @Deprecated
        public java.lang.String getRoleDeprecated()
        Deprecated.
        temporal.api.cloud.identity.v1.AccountAccess.role_deprecated is deprecated. See temporal/api/cloud/identity/v1/message.proto;l=23
         The role on the account, should be one of [owner, admin, developer, financeadmin, read]
         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
         Deprecated: Not supported after 2024-10-01-00 api version. Use role instead.
         temporal:versioning:max_version=2024-10-01-00
         
        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=23
         The role on the account, should be one of [owner, admin, developer, financeadmin, read]
         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
         Deprecated: Not supported after 2024-10-01-00 api version. Use role instead.
         temporal:versioning:max_version=2024-10-01-00
         
        string role_deprecated = 1 [deprecated = true];
        Specified by:
        getRoleDeprecatedBytes in interface AccountAccessOrBuilder
        Returns:
        The bytes for roleDeprecated.
      • setRoleDeprecated

        @Deprecated
        public AccountAccess.Builder setRoleDeprecated​(java.lang.String value)
        Deprecated.
        temporal.api.cloud.identity.v1.AccountAccess.role_deprecated is deprecated. See temporal/api/cloud/identity/v1/message.proto;l=23
         The role on the account, should be one of [owner, admin, developer, financeadmin, read]
         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
         Deprecated: Not supported after 2024-10-01-00 api version. Use role instead.
         temporal:versioning:max_version=2024-10-01-00
         
        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=23
         The role on the account, should be one of [owner, admin, developer, financeadmin, read]
         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
         Deprecated: Not supported after 2024-10-01-00 api version. Use role instead.
         temporal:versioning:max_version=2024-10-01-00
         
        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=23
         The role on the account, should be one of [owner, admin, developer, financeadmin, read]
         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
         Deprecated: Not supported after 2024-10-01-00 api version. Use role instead.
         temporal:versioning:max_version=2024-10-01-00
         
        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=2024-10-01-00
         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=2024-10-01-00
         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=2024-10-01-00
         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=2024-10-01-00
         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=2024-10-01-00
         temporal:enums:replaces=role_deprecated
         
        .temporal.api.cloud.identity.v1.AccountAccess.Role role = 2;
        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>