Class Account.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Account.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Account.Builder>
io.temporal.api.cloud.account.v1.Account.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AccountOrBuilder,Cloneable
- Enclosing class:
Account
public static final class Account.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Account.Builder>
implements AccountOrBuilder
Protobuf type
temporal.api.cloud.account.v1.Account-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The id of the async operation that is updating the account, if any.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()The id of the account.Information related to metrics.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The current version of the account specification.The account specification.The current state of the account.clone()The id of the async operation that is updating the account, if any.com.google.protobuf.ByteStringThe id of the async operation that is updating the account, if any.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetId()The id of the account.com.google.protobuf.ByteStringThe id of the account.Information related to metrics.Information related to metrics.Information related to metrics.The current version of the account specification.com.google.protobuf.ByteStringThe current version of the account specification.getSpec()The account specification.The account specification.The account specification.getState()The current state of the account.intThe current state of the account.booleanInformation related to metrics.booleanhasSpec()The account specification.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMetrics(Metrics value) Information related to metrics.mergeSpec(AccountSpec value) The account specification.final Account.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAsyncOperationId(String value) The id of the async operation that is updating the account, if any.setAsyncOperationIdBytes(com.google.protobuf.ByteString value) The id of the async operation that is updating the account, if any.The id of the account.setIdBytes(com.google.protobuf.ByteString value) The id of the account.setMetrics(Metrics value) Information related to metrics.setMetrics(Metrics.Builder builderForValue) Information related to metrics.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceVersion(String value) The current version of the account specification.setResourceVersionBytes(com.google.protobuf.ByteString value) The current version of the account specification.setSpec(AccountSpec value) The account specification.setSpec(AccountSpec.Builder builderForValue) The account specification.setState(ResourceState value) The current state of the account.setStateValue(int value) The current state of the account.final Account.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<Account.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<Account.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<Account.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<Account.Builder>
-
setField
public Account.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<Account.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Account.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Account.Builder>
-
setRepeatedField
public Account.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<Account.Builder>
-
addRepeatedField
public Account.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<Account.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Account.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Account.Builder>- Throws:
IOException
-
getId
The id of the account.
string id = 1;- Specified by:
getIdin interfaceAccountOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()The id of the account.
string id = 1;- Specified by:
getIdBytesin interfaceAccountOrBuilder- Returns:
- The bytes for id.
-
setId
The id of the account.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
The id of the account.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
The id of the account.
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
hasSpec
public boolean hasSpec()The account specification.
.temporal.api.cloud.account.v1.AccountSpec spec = 2;- Specified by:
hasSpecin interfaceAccountOrBuilder- Returns:
- Whether the spec field is set.
-
getSpec
The account specification.
.temporal.api.cloud.account.v1.AccountSpec spec = 2;- Specified by:
getSpecin interfaceAccountOrBuilder- Returns:
- The spec.
-
setSpec
The account specification.
.temporal.api.cloud.account.v1.AccountSpec spec = 2; -
setSpec
The account specification.
.temporal.api.cloud.account.v1.AccountSpec spec = 2; -
mergeSpec
The account specification.
.temporal.api.cloud.account.v1.AccountSpec spec = 2; -
clearSpec
The account specification.
.temporal.api.cloud.account.v1.AccountSpec spec = 2; -
getSpecBuilder
The account specification.
.temporal.api.cloud.account.v1.AccountSpec spec = 2; -
getSpecOrBuilder
The account specification.
.temporal.api.cloud.account.v1.AccountSpec spec = 2;- Specified by:
getSpecOrBuilderin interfaceAccountOrBuilder
-
getResourceVersion
The current version of the account specification. The next update operation will have to include this version.
string resource_version = 3;- Specified by:
getResourceVersionin interfaceAccountOrBuilder- Returns:
- The resourceVersion.
-
getResourceVersionBytes
public com.google.protobuf.ByteString getResourceVersionBytes()The current version of the account specification. The next update operation will have to include this version.
string resource_version = 3;- Specified by:
getResourceVersionBytesin interfaceAccountOrBuilder- Returns:
- The bytes for resourceVersion.
-
setResourceVersion
The current version of the account specification. The next update operation will have to include this version.
string resource_version = 3;- Parameters:
value- The resourceVersion to set.- Returns:
- This builder for chaining.
-
clearResourceVersion
The current version of the account specification. The next update operation will have to include this version.
string resource_version = 3;- Returns:
- This builder for chaining.
-
setResourceVersionBytes
The current version of the account specification. The next update operation will have to include this version.
string resource_version = 3;- Parameters:
value- The bytes for resourceVersion to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()The current state of the account.
.temporal.api.cloud.resource.v1.ResourceState state = 4;- Specified by:
getStateValuein interfaceAccountOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
The current state of the account.
.temporal.api.cloud.resource.v1.ResourceState state = 4;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
The current state of the account.
.temporal.api.cloud.resource.v1.ResourceState state = 4;- Specified by:
getStatein interfaceAccountOrBuilder- Returns:
- The state.
-
setState
The current state of the account.
.temporal.api.cloud.resource.v1.ResourceState state = 4;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
The current state of the account.
.temporal.api.cloud.resource.v1.ResourceState state = 4;- Returns:
- This builder for chaining.
-
getAsyncOperationId
The id of the async operation that is updating the account, if any.
string async_operation_id = 5;- Specified by:
getAsyncOperationIdin interfaceAccountOrBuilder- Returns:
- The asyncOperationId.
-
getAsyncOperationIdBytes
public com.google.protobuf.ByteString getAsyncOperationIdBytes()The id of the async operation that is updating the account, if any.
string async_operation_id = 5;- Specified by:
getAsyncOperationIdBytesin interfaceAccountOrBuilder- Returns:
- The bytes for asyncOperationId.
-
setAsyncOperationId
The id of the async operation that is updating the account, if any.
string async_operation_id = 5;- Parameters:
value- The asyncOperationId to set.- Returns:
- This builder for chaining.
-
clearAsyncOperationId
The id of the async operation that is updating the account, if any.
string async_operation_id = 5;- Returns:
- This builder for chaining.
-
setAsyncOperationIdBytes
The id of the async operation that is updating the account, if any.
string async_operation_id = 5;- Parameters:
value- The bytes for asyncOperationId to set.- Returns:
- This builder for chaining.
-
hasMetrics
public boolean hasMetrics()Information related to metrics.
.temporal.api.cloud.account.v1.Metrics metrics = 6;- Specified by:
hasMetricsin interfaceAccountOrBuilder- Returns:
- Whether the metrics field is set.
-
getMetrics
Information related to metrics.
.temporal.api.cloud.account.v1.Metrics metrics = 6;- Specified by:
getMetricsin interfaceAccountOrBuilder- Returns:
- The metrics.
-
setMetrics
Information related to metrics.
.temporal.api.cloud.account.v1.Metrics metrics = 6; -
setMetrics
Information related to metrics.
.temporal.api.cloud.account.v1.Metrics metrics = 6; -
mergeMetrics
Information related to metrics.
.temporal.api.cloud.account.v1.Metrics metrics = 6; -
clearMetrics
Information related to metrics.
.temporal.api.cloud.account.v1.Metrics metrics = 6; -
getMetricsBuilder
Information related to metrics.
.temporal.api.cloud.account.v1.Metrics metrics = 6; -
getMetricsOrBuilder
Information related to metrics.
.temporal.api.cloud.account.v1.Metrics metrics = 6;- Specified by:
getMetricsOrBuilderin interfaceAccountOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Account.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Account.Builder>
-