Class ServiceAccountSpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ServiceAccountSpec.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountSpec.Builder>
io.temporal.api.cloud.identity.v1.ServiceAccountSpec.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ServiceAccountSpecOrBuilder,Cloneable
- Enclosing class:
ServiceAccountSpec
public static final class ServiceAccountSpec.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountSpec.Builder>
implements ServiceAccountSpecOrBuilder
Protobuf type
temporal.api.cloud.identity.v1.ServiceAccountSpec-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Note: one of `Access` or `NamespaceScopedAccess` must be provided, but not both.The description associated with the service account - optional.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The name associated with the service account.The namespace scoped access assigned to the service account.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()Note: one of `Access` or `NamespaceScopedAccess` must be provided, but not both.Note: one of `Access` or `NamespaceScopedAccess` must be provided, but not both.Note: one of `Access` or `NamespaceScopedAccess` must be provided, but not both.The description associated with the service account - optional.com.google.protobuf.ByteStringThe description associated with the service account - optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()The name associated with the service account.com.google.protobuf.ByteStringThe name associated with the service account.The namespace scoped access assigned to the service account.The namespace scoped access assigned to the service account.The namespace scoped access assigned to the service account.booleanNote: one of `Access` or `NamespaceScopedAccess` must be provided, but not both.booleanThe namespace scoped access assigned to the service account.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeAccess(Access value) Note: one of `Access` or `NamespaceScopedAccess` must be provided, but not both.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ServiceAccountSpec other) The namespace scoped access assigned to the service account.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Note: one of `Access` or `NamespaceScopedAccess` must be provided, but not both.setAccess(Access.Builder builderForValue) Note: one of `Access` or `NamespaceScopedAccess` must be provided, but not both.setDescription(String value) The description associated with the service account - optional.setDescriptionBytes(com.google.protobuf.ByteString value) The description associated with the service account - optional.The name associated with the service account.setNameBytes(com.google.protobuf.ByteString value) The name associated with the service account.The namespace scoped access assigned to the service account.setNamespaceScopedAccess(NamespaceScopedAccess.Builder builderForValue) The namespace scoped access assigned to the service account.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(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<ServiceAccountSpec.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<ServiceAccountSpec.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<ServiceAccountSpec.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<ServiceAccountSpec.Builder>
-
setField
public ServiceAccountSpec.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<ServiceAccountSpec.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountSpec.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountSpec.Builder>
-
setRepeatedField
public ServiceAccountSpec.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<ServiceAccountSpec.Builder>
-
addRepeatedField
public ServiceAccountSpec.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<ServiceAccountSpec.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServiceAccountSpec.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountSpec.Builder>
-
mergeFrom
public ServiceAccountSpec.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<ServiceAccountSpec.Builder>- Throws:
IOException
-
getName
The name associated with the service account. The name is mutable, but must be unique across all your active service accounts.
string name = 1;- Specified by:
getNamein interfaceServiceAccountSpecOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name associated with the service account. The name is mutable, but must be unique across all your active service accounts.
string name = 1;- Specified by:
getNameBytesin interfaceServiceAccountSpecOrBuilder- Returns:
- The bytes for name.
-
setName
The name associated with the service account. The name is mutable, but must be unique across all your active service accounts.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name associated with the service account. The name is mutable, but must be unique across all your active service accounts.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The name associated with the service account. The name is mutable, but must be unique across all your active service accounts.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasAccess
public boolean hasAccess()Note: one of `Access` or `NamespaceScopedAccess` must be provided, but not both. The access assigned to the service account. If set, creates an account scoped service account. The access is mutable.
.temporal.api.cloud.identity.v1.Access access = 2;- Specified by:
hasAccessin interfaceServiceAccountSpecOrBuilder- Returns:
- Whether the access field is set.
-
getAccess
Note: one of `Access` or `NamespaceScopedAccess` must be provided, but not both. The access assigned to the service account. If set, creates an account scoped service account. The access is mutable.
.temporal.api.cloud.identity.v1.Access access = 2;- Specified by:
getAccessin interfaceServiceAccountSpecOrBuilder- Returns:
- The access.
-
setAccess
Note: one of `Access` or `NamespaceScopedAccess` must be provided, but not both. The access assigned to the service account. If set, creates an account scoped service account. The access is mutable.
.temporal.api.cloud.identity.v1.Access access = 2; -
setAccess
Note: one of `Access` or `NamespaceScopedAccess` must be provided, but not both. The access assigned to the service account. If set, creates an account scoped service account. The access is mutable.
.temporal.api.cloud.identity.v1.Access access = 2; -
mergeAccess
Note: one of `Access` or `NamespaceScopedAccess` must be provided, but not both. The access assigned to the service account. If set, creates an account scoped service account. The access is mutable.
.temporal.api.cloud.identity.v1.Access access = 2; -
clearAccess
Note: one of `Access` or `NamespaceScopedAccess` must be provided, but not both. The access assigned to the service account. If set, creates an account scoped service account. The access is mutable.
.temporal.api.cloud.identity.v1.Access access = 2; -
getAccessBuilder
Note: one of `Access` or `NamespaceScopedAccess` must be provided, but not both. The access assigned to the service account. If set, creates an account scoped service account. The access is mutable.
.temporal.api.cloud.identity.v1.Access access = 2; -
getAccessOrBuilder
Note: one of `Access` or `NamespaceScopedAccess` must be provided, but not both. The access assigned to the service account. If set, creates an account scoped service account. The access is mutable.
.temporal.api.cloud.identity.v1.Access access = 2;- Specified by:
getAccessOrBuilderin interfaceServiceAccountSpecOrBuilder
-
hasNamespaceScopedAccess
public boolean hasNamespaceScopedAccess()The namespace scoped access assigned to the service account. If set, creates a namespace scoped service account (limited to a single namespace). The namespace scoped access is partially mutable. Refer to `NamespaceScopedAccess` for details.
.temporal.api.cloud.identity.v1.NamespaceScopedAccess namespace_scoped_access = 4;- Specified by:
hasNamespaceScopedAccessin interfaceServiceAccountSpecOrBuilder- Returns:
- Whether the namespaceScopedAccess field is set.
-
getNamespaceScopedAccess
The namespace scoped access assigned to the service account. If set, creates a namespace scoped service account (limited to a single namespace). The namespace scoped access is partially mutable. Refer to `NamespaceScopedAccess` for details.
.temporal.api.cloud.identity.v1.NamespaceScopedAccess namespace_scoped_access = 4;- Specified by:
getNamespaceScopedAccessin interfaceServiceAccountSpecOrBuilder- Returns:
- The namespaceScopedAccess.
-
setNamespaceScopedAccess
The namespace scoped access assigned to the service account. If set, creates a namespace scoped service account (limited to a single namespace). The namespace scoped access is partially mutable. Refer to `NamespaceScopedAccess` for details.
.temporal.api.cloud.identity.v1.NamespaceScopedAccess namespace_scoped_access = 4; -
setNamespaceScopedAccess
public ServiceAccountSpec.Builder setNamespaceScopedAccess(NamespaceScopedAccess.Builder builderForValue) The namespace scoped access assigned to the service account. If set, creates a namespace scoped service account (limited to a single namespace). The namespace scoped access is partially mutable. Refer to `NamespaceScopedAccess` for details.
.temporal.api.cloud.identity.v1.NamespaceScopedAccess namespace_scoped_access = 4; -
mergeNamespaceScopedAccess
The namespace scoped access assigned to the service account. If set, creates a namespace scoped service account (limited to a single namespace). The namespace scoped access is partially mutable. Refer to `NamespaceScopedAccess` for details.
.temporal.api.cloud.identity.v1.NamespaceScopedAccess namespace_scoped_access = 4; -
clearNamespaceScopedAccess
The namespace scoped access assigned to the service account. If set, creates a namespace scoped service account (limited to a single namespace). The namespace scoped access is partially mutable. Refer to `NamespaceScopedAccess` for details.
.temporal.api.cloud.identity.v1.NamespaceScopedAccess namespace_scoped_access = 4; -
getNamespaceScopedAccessBuilder
The namespace scoped access assigned to the service account. If set, creates a namespace scoped service account (limited to a single namespace). The namespace scoped access is partially mutable. Refer to `NamespaceScopedAccess` for details.
.temporal.api.cloud.identity.v1.NamespaceScopedAccess namespace_scoped_access = 4; -
getNamespaceScopedAccessOrBuilder
The namespace scoped access assigned to the service account. If set, creates a namespace scoped service account (limited to a single namespace). The namespace scoped access is partially mutable. Refer to `NamespaceScopedAccess` for details.
.temporal.api.cloud.identity.v1.NamespaceScopedAccess namespace_scoped_access = 4;- Specified by:
getNamespaceScopedAccessOrBuilderin interfaceServiceAccountSpecOrBuilder
-
getDescription
The description associated with the service account - optional. The description is mutable.
string description = 3;- Specified by:
getDescriptionin interfaceServiceAccountSpecOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()The description associated with the service account - optional. The description is mutable.
string description = 3;- Specified by:
getDescriptionBytesin interfaceServiceAccountSpecOrBuilder- Returns:
- The bytes for description.
-
setDescription
The description associated with the service account - optional. The description is mutable.
string description = 3;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
The description associated with the service account - optional. The description is mutable.
string description = 3;- Returns:
- This builder for chaining.
-
setDescriptionBytes
The description associated with the service account - optional. The description is mutable.
string description = 3;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ServiceAccountSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountSpec.Builder>
-
mergeUnknownFields
public final ServiceAccountSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountSpec.Builder>
-