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 Summary
Modifier and TypeMethodDescriptionaddAllCustomRoles(Iterable<String> values) List of custom role IDs assigned to the user or service account.addCustomRoles(String value) List of custom role IDs assigned to the user or service account.addCustomRolesBytes(com.google.protobuf.ByteString value) List of custom role IDs assigned to the user or service account.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()List of custom role IDs assigned to the user or service account.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The role on the account.Deprecated.temporal.api.cloud.identity.v1.AccountAccess.role_deprecated is deprecated.clone()getCustomRoles(int index) List of custom role IDs assigned to the user or service account.com.google.protobuf.ByteStringgetCustomRolesBytes(int index) List of custom role IDs assigned to the user or service account.intList of custom role IDs assigned to the user or service account.com.google.protobuf.ProtocolStringListList of custom role IDs assigned to the user or service account.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetRole()The role on the account.Deprecated.temporal.api.cloud.identity.v1.AccountAccess.role_deprecated is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.cloud.identity.v1.AccountAccess.role_deprecated is deprecated.intThe role on the account.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(AccountAccess other) final AccountAccess.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setCustomRoles(int index, String value) List of custom role IDs assigned to the user or service account.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRole(AccountAccess.Role value) The role on the account.setRoleDeprecated(String value) Deprecated.temporal.api.cloud.identity.v1.AccountAccess.role_deprecated is deprecated.setRoleDeprecatedBytes(com.google.protobuf.ByteString value) Deprecated.temporal.api.cloud.identity.v1.AccountAccess.role_deprecated is deprecated.setRoleValue(int value) The role on the account.final AccountAccess.BuildersetUnknownFields(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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AccountAccess.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AccountAccess.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AccountAccess.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AccountAccess.Builder>
-
setField
public AccountAccess.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AccountAccess.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AccountAccess.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AccountAccess.Builder>
-
setRepeatedField
public AccountAccess.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AccountAccess.Builder>
-
addRepeatedField
public AccountAccess.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AccountAccess.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AccountAccess.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AccountAccess.Builder>- Throws:
IOException
-
getRoleDeprecated
Deprecated.temporal.api.cloud.identity.v1.AccountAccess.role_deprecated is deprecated. See temporal/api/cloud/identity/v1/message.proto;l=24The 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:
getRoleDeprecatedin interfaceAccountAccessOrBuilder- Returns:
- The roleDeprecated.
-
getRoleDeprecatedBytes
Deprecated.temporal.api.cloud.identity.v1.AccountAccess.role_deprecated is deprecated. See temporal/api/cloud/identity/v1/message.proto;l=24The 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:
getRoleDeprecatedBytesin interfaceAccountAccessOrBuilder- Returns:
- The bytes for roleDeprecated.
-
setRoleDeprecated
Deprecated.temporal.api.cloud.identity.v1.AccountAccess.role_deprecated is deprecated. See temporal/api/cloud/identity/v1/message.proto;l=24The 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.temporal.api.cloud.identity.v1.AccountAccess.role_deprecated is deprecated. See temporal/api/cloud/identity/v1/message.proto;l=24The 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=24The 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:
getRoleValuein interfaceAccountAccessOrBuilder- Returns:
- The enum numeric value on the wire for role.
-
setRoleValue
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
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:
getRolein interfaceAccountAccessOrBuilder- Returns:
- The role.
-
setRole
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
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:
getCustomRolesListin interfaceAccountAccessOrBuilder- 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:
getCustomRolesCountin interfaceAccountAccessOrBuilder- Returns:
- The count of customRoles.
-
getCustomRoles
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:
getCustomRolesin interfaceAccountAccessOrBuilder- 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:
getCustomRolesBytesin interfaceAccountAccessOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the customRoles at the given index.
-
setCustomRoles
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
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
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
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
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AccountAccess.Builder>
-
mergeUnknownFields
public final AccountAccess.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AccountAccess.Builder>
-