Package io.temporal.api.cloud.account.v1
Class Account.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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,java.lang.Cloneable
- Enclosing class:
- Account
public static final class Account.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Account.Builder> implements AccountOrBuilder
Protobuf typetemporal.api.cloud.account.v1.Account
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Account.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Accountbuild()AccountbuildPartial()Account.Builderclear()Account.BuilderclearAsyncOperationId()The id of the async operation that is updating the account, if any.Account.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Account.BuilderclearId()The id of the account.Account.BuilderclearMetrics()Information related to metrics.Account.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Account.BuilderclearResourceVersion()The current version of the account specification.Account.BuilderclearSpec()The account specification.Account.BuilderclearState()The current state of the account.Account.Builderclone()java.lang.StringgetAsyncOperationId()The id of the async operation that is updating the account, if any.com.google.protobuf.ByteStringgetAsyncOperationIdBytes()The id of the async operation that is updating the account, if any.AccountgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetId()The id of the account.com.google.protobuf.ByteStringgetIdBytes()The id of the account.MetricsgetMetrics()Information related to metrics.Metrics.BuildergetMetricsBuilder()Information related to metrics.MetricsOrBuildergetMetricsOrBuilder()Information related to metrics.java.lang.StringgetResourceVersion()The current version of the account specification.com.google.protobuf.ByteStringgetResourceVersionBytes()The current version of the account specification.AccountSpecgetSpec()The account specification.AccountSpec.BuildergetSpecBuilder()The account specification.AccountSpecOrBuildergetSpecOrBuilder()The account specification.ResourceStategetState()The current state of the account.intgetStateValue()The current state of the account.booleanhasMetrics()Information related to metrics.booleanhasSpec()The account specification.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Account.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Account.BuildermergeFrom(com.google.protobuf.Message other)Account.BuildermergeFrom(Account other)Account.BuildermergeMetrics(Metrics value)Information related to metrics.Account.BuildermergeSpec(AccountSpec value)The account specification.Account.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Account.BuildersetAsyncOperationId(java.lang.String value)The id of the async operation that is updating the account, if any.Account.BuildersetAsyncOperationIdBytes(com.google.protobuf.ByteString value)The id of the async operation that is updating the account, if any.Account.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Account.BuildersetId(java.lang.String value)The id of the account.Account.BuildersetIdBytes(com.google.protobuf.ByteString value)The id of the account.Account.BuildersetMetrics(Metrics value)Information related to metrics.Account.BuildersetMetrics(Metrics.Builder builderForValue)Information related to metrics.Account.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Account.BuildersetResourceVersion(java.lang.String value)The current version of the account specification.Account.BuildersetResourceVersionBytes(com.google.protobuf.ByteString value)The current version of the account specification.Account.BuildersetSpec(AccountSpec value)The account specification.Account.BuildersetSpec(AccountSpec.Builder builderForValue)The account specification.Account.BuildersetState(ResourceState value)The current state of the account.Account.BuildersetStateValue(int value)The current state of the account.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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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
public 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
public Account getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Account build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Account buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Account.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, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Account.Builder>
-
clearField
public Account.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Account.Builder>
-
clearOneof
public Account.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Account.Builder>
-
mergeFrom
public Account.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Account.Builder>
-
mergeFrom
public Account.Builder mergeFrom(Account other)
-
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 java.io.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:
java.io.IOException
-
getId
public java.lang.String 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
public Account.Builder setId(java.lang.String value)
The id of the account.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public Account.Builder clearId()
The id of the account.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
public Account.Builder setIdBytes(com.google.protobuf.ByteString value)
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
public AccountSpec getSpec()
The account specification.
.temporal.api.cloud.account.v1.AccountSpec spec = 2;- Specified by:
getSpecin interfaceAccountOrBuilder- Returns:
- The spec.
-
setSpec
public Account.Builder setSpec(AccountSpec value)
The account specification.
.temporal.api.cloud.account.v1.AccountSpec spec = 2;
-
setSpec
public Account.Builder setSpec(AccountSpec.Builder builderForValue)
The account specification.
.temporal.api.cloud.account.v1.AccountSpec spec = 2;
-
mergeSpec
public Account.Builder mergeSpec(AccountSpec value)
The account specification.
.temporal.api.cloud.account.v1.AccountSpec spec = 2;
-
clearSpec
public Account.Builder clearSpec()
The account specification.
.temporal.api.cloud.account.v1.AccountSpec spec = 2;
-
getSpecBuilder
public AccountSpec.Builder getSpecBuilder()
The account specification.
.temporal.api.cloud.account.v1.AccountSpec spec = 2;
-
getSpecOrBuilder
public AccountSpecOrBuilder getSpecOrBuilder()
The account specification.
.temporal.api.cloud.account.v1.AccountSpec spec = 2;- Specified by:
getSpecOrBuilderin interfaceAccountOrBuilder
-
getResourceVersion
public java.lang.String 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
public Account.Builder setResourceVersion(java.lang.String value)
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
public Account.Builder 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
public Account.Builder setResourceVersionBytes(com.google.protobuf.ByteString value)
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
public Account.Builder setStateValue(int value)
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
public ResourceState getState()
The current state of the account.
.temporal.api.cloud.resource.v1.ResourceState state = 4;- Specified by:
getStatein interfaceAccountOrBuilder- Returns:
- The state.
-
setState
public Account.Builder setState(ResourceState value)
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
public Account.Builder clearState()
The current state of the account.
.temporal.api.cloud.resource.v1.ResourceState state = 4;- Returns:
- This builder for chaining.
-
getAsyncOperationId
public java.lang.String 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
public Account.Builder setAsyncOperationId(java.lang.String value)
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
public Account.Builder 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
public Account.Builder setAsyncOperationIdBytes(com.google.protobuf.ByteString value)
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
public Metrics getMetrics()
Information related to metrics.
.temporal.api.cloud.account.v1.Metrics metrics = 6;- Specified by:
getMetricsin interfaceAccountOrBuilder- Returns:
- The metrics.
-
setMetrics
public Account.Builder setMetrics(Metrics value)
Information related to metrics.
.temporal.api.cloud.account.v1.Metrics metrics = 6;
-
setMetrics
public Account.Builder setMetrics(Metrics.Builder builderForValue)
Information related to metrics.
.temporal.api.cloud.account.v1.Metrics metrics = 6;
-
mergeMetrics
public Account.Builder mergeMetrics(Metrics value)
Information related to metrics.
.temporal.api.cloud.account.v1.Metrics metrics = 6;
-
clearMetrics
public Account.Builder clearMetrics()
Information related to metrics.
.temporal.api.cloud.account.v1.Metrics metrics = 6;
-
getMetricsBuilder
public Metrics.Builder getMetricsBuilder()
Information related to metrics.
.temporal.api.cloud.account.v1.Metrics metrics = 6;
-
getMetricsOrBuilder
public MetricsOrBuilder getMetricsOrBuilder()
Information related to metrics.
.temporal.api.cloud.account.v1.Metrics metrics = 6;- Specified by:
getMetricsOrBuilderin interfaceAccountOrBuilder
-
setUnknownFields
public final Account.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Account.Builder>
-
mergeUnknownFields
public final Account.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Account.Builder>
-
-