Class Capacity.Request.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Capacity.Request.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Capacity.Request.Builder>
io.temporal.api.cloud.namespace.v1.Capacity.Request.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Capacity.RequestOrBuilder,Cloneable
- Enclosing class:
Capacity.Request
public static final class Capacity.Request.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Capacity.Request.Builder>
implements Capacity.RequestOrBuilder
Protobuf type
temporal.api.cloud.namespace.v1.Capacity.Request-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The id of the async operation that is creating/updating/deleting the capacity, if any.The date and time when the capacity request was completed or failed.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The requested capacity specification.The date and time when the capacity request was created.The current state of the capacity request (e.g.clone()The id of the async operation that is creating/updating/deleting the capacity, if any.com.google.protobuf.ByteStringThe id of the async operation that is creating/updating/deleting the capacity, if any.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampThe date and time when the capacity request was completed or failed.com.google.protobuf.Timestamp.BuilderThe date and time when the capacity request was completed or failed.com.google.protobuf.TimestampOrBuilderThe date and time when the capacity request was completed or failed.getSpec()The requested capacity specification.The requested capacity specification.The requested capacity specification.com.google.protobuf.TimestampThe date and time when the capacity request was created.com.google.protobuf.Timestamp.BuilderThe date and time when the capacity request was created.com.google.protobuf.TimestampOrBuilderThe date and time when the capacity request was created.getState()The current state of the capacity request (e.g.intThe current state of the capacity request (e.g.booleanThe date and time when the capacity request was completed or failed.booleanhasSpec()The requested capacity specification.booleanThe date and time when the capacity request was created.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeEndTime(com.google.protobuf.Timestamp value) The date and time when the capacity request was completed or failed.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Capacity.Request other) mergeSpec(CapacitySpec value) The requested capacity specification.mergeStartTime(com.google.protobuf.Timestamp value) The date and time when the capacity request was created.final Capacity.Request.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAsyncOperationId(String value) The id of the async operation that is creating/updating/deleting the capacity, if any.setAsyncOperationIdBytes(com.google.protobuf.ByteString value) The id of the async operation that is creating/updating/deleting the capacity, if any.setEndTime(com.google.protobuf.Timestamp value) The date and time when the capacity request was completed or failed.setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) The date and time when the capacity request was completed or failed.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSpec(CapacitySpec value) The requested capacity specification.setSpec(CapacitySpec.Builder builderForValue) The requested capacity specification.setStartTime(com.google.protobuf.Timestamp value) The date and time when the capacity request was created.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) The date and time when the capacity request was created.setState(Capacity.Request.State value) The current state of the capacity request (e.g.setStateValue(int value) The current state of the capacity request (e.g.final Capacity.Request.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<Capacity.Request.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<Capacity.Request.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<Capacity.Request.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<Capacity.Request.Builder>
-
setField
public Capacity.Request.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<Capacity.Request.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Capacity.Request.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Capacity.Request.Builder>
-
setRepeatedField
public Capacity.Request.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<Capacity.Request.Builder>
-
addRepeatedField
public Capacity.Request.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<Capacity.Request.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Capacity.Request.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Capacity.Request.Builder>
-
mergeFrom
public Capacity.Request.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<Capacity.Request.Builder>- Throws:
IOException
-
getStateValue
public int getStateValue()The current state of the capacity request (e.g. in-progress, completed, failed).
.temporal.api.cloud.namespace.v1.Capacity.Request.State state = 1;- Specified by:
getStateValuein interfaceCapacity.RequestOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
The current state of the capacity request (e.g. in-progress, completed, failed).
.temporal.api.cloud.namespace.v1.Capacity.Request.State state = 1;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
The current state of the capacity request (e.g. in-progress, completed, failed).
.temporal.api.cloud.namespace.v1.Capacity.Request.State state = 1;- Specified by:
getStatein interfaceCapacity.RequestOrBuilder- Returns:
- The state.
-
setState
The current state of the capacity request (e.g. in-progress, completed, failed).
.temporal.api.cloud.namespace.v1.Capacity.Request.State state = 1;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
The current state of the capacity request (e.g. in-progress, completed, failed).
.temporal.api.cloud.namespace.v1.Capacity.Request.State state = 1;- Returns:
- This builder for chaining.
-
hasStartTime
public boolean hasStartTime()The date and time when the capacity request was created.
.google.protobuf.Timestamp start_time = 2;- Specified by:
hasStartTimein interfaceCapacity.RequestOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()The date and time when the capacity request was created.
.google.protobuf.Timestamp start_time = 2;- Specified by:
getStartTimein interfaceCapacity.RequestOrBuilder- Returns:
- The startTime.
-
setStartTime
The date and time when the capacity request was created.
.google.protobuf.Timestamp start_time = 2; -
setStartTime
The date and time when the capacity request was created.
.google.protobuf.Timestamp start_time = 2; -
mergeStartTime
The date and time when the capacity request was created.
.google.protobuf.Timestamp start_time = 2; -
clearStartTime
The date and time when the capacity request was created.
.google.protobuf.Timestamp start_time = 2; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()The date and time when the capacity request was created.
.google.protobuf.Timestamp start_time = 2; -
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()The date and time when the capacity request was created.
.google.protobuf.Timestamp start_time = 2;- Specified by:
getStartTimeOrBuilderin interfaceCapacity.RequestOrBuilder
-
hasEndTime
public boolean hasEndTime()The date and time when the capacity request was completed or failed.
.google.protobuf.Timestamp end_time = 3;- Specified by:
hasEndTimein interfaceCapacity.RequestOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()The date and time when the capacity request was completed or failed.
.google.protobuf.Timestamp end_time = 3;- Specified by:
getEndTimein interfaceCapacity.RequestOrBuilder- Returns:
- The endTime.
-
setEndTime
The date and time when the capacity request was completed or failed.
.google.protobuf.Timestamp end_time = 3; -
setEndTime
The date and time when the capacity request was completed or failed.
.google.protobuf.Timestamp end_time = 3; -
mergeEndTime
The date and time when the capacity request was completed or failed.
.google.protobuf.Timestamp end_time = 3; -
clearEndTime
The date and time when the capacity request was completed or failed.
.google.protobuf.Timestamp end_time = 3; -
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()The date and time when the capacity request was completed or failed.
.google.protobuf.Timestamp end_time = 3; -
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()The date and time when the capacity request was completed or failed.
.google.protobuf.Timestamp end_time = 3;- Specified by:
getEndTimeOrBuilderin interfaceCapacity.RequestOrBuilder
-
getAsyncOperationId
The id of the async operation that is creating/updating/deleting the capacity, if any.
string async_operation_id = 4;- Specified by:
getAsyncOperationIdin interfaceCapacity.RequestOrBuilder- Returns:
- The asyncOperationId.
-
getAsyncOperationIdBytes
public com.google.protobuf.ByteString getAsyncOperationIdBytes()The id of the async operation that is creating/updating/deleting the capacity, if any.
string async_operation_id = 4;- Specified by:
getAsyncOperationIdBytesin interfaceCapacity.RequestOrBuilder- Returns:
- The bytes for asyncOperationId.
-
setAsyncOperationId
The id of the async operation that is creating/updating/deleting the capacity, if any.
string async_operation_id = 4;- Parameters:
value- The asyncOperationId to set.- Returns:
- This builder for chaining.
-
clearAsyncOperationId
The id of the async operation that is creating/updating/deleting the capacity, if any.
string async_operation_id = 4;- Returns:
- This builder for chaining.
-
setAsyncOperationIdBytes
The id of the async operation that is creating/updating/deleting the capacity, if any.
string async_operation_id = 4;- Parameters:
value- The bytes for asyncOperationId to set.- Returns:
- This builder for chaining.
-
hasSpec
public boolean hasSpec()The requested capacity specification.
.temporal.api.cloud.namespace.v1.CapacitySpec spec = 5;- Specified by:
hasSpecin interfaceCapacity.RequestOrBuilder- Returns:
- Whether the spec field is set.
-
getSpec
The requested capacity specification.
.temporal.api.cloud.namespace.v1.CapacitySpec spec = 5;- Specified by:
getSpecin interfaceCapacity.RequestOrBuilder- Returns:
- The spec.
-
setSpec
The requested capacity specification.
.temporal.api.cloud.namespace.v1.CapacitySpec spec = 5; -
setSpec
The requested capacity specification.
.temporal.api.cloud.namespace.v1.CapacitySpec spec = 5; -
mergeSpec
The requested capacity specification.
.temporal.api.cloud.namespace.v1.CapacitySpec spec = 5; -
clearSpec
The requested capacity specification.
.temporal.api.cloud.namespace.v1.CapacitySpec spec = 5; -
getSpecBuilder
The requested capacity specification.
.temporal.api.cloud.namespace.v1.CapacitySpec spec = 5; -
getSpecOrBuilder
The requested capacity specification.
.temporal.api.cloud.namespace.v1.CapacitySpec spec = 5;- Specified by:
getSpecOrBuilderin interfaceCapacity.RequestOrBuilder
-
setUnknownFields
public final Capacity.Request.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Capacity.Request.Builder>
-
mergeUnknownFields
public final Capacity.Request.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Capacity.Request.Builder>
-