Class Capacity.Request.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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,java.lang.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 typetemporal.api.cloud.namespace.v1.Capacity.Request
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Capacity.Request.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Capacity.Requestbuild()Capacity.RequestbuildPartial()Capacity.Request.Builderclear()Capacity.Request.BuilderclearAsyncOperationId()The id of the async operation that is creating/updating/deleting the capacity, if any.Capacity.Request.BuilderclearEndTime()The date and time when the capacity request was completed or failed.Capacity.Request.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Capacity.Request.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Capacity.Request.BuilderclearSpec()The requested capacity specification.Capacity.Request.BuilderclearStartTime()The date and time when the capacity request was created.Capacity.Request.BuilderclearState()The current state of the capacity request (e.g.Capacity.Request.Builderclone()java.lang.StringgetAsyncOperationId()The id of the async operation that is creating/updating/deleting the capacity, if any.com.google.protobuf.ByteStringgetAsyncOperationIdBytes()The id of the async operation that is creating/updating/deleting the capacity, if any.Capacity.RequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.TimestampgetEndTime()The date and time when the capacity request was completed or failed.com.google.protobuf.Timestamp.BuildergetEndTimeBuilder()The date and time when the capacity request was completed or failed.com.google.protobuf.TimestampOrBuildergetEndTimeOrBuilder()The date and time when the capacity request was completed or failed.CapacitySpecgetSpec()The requested capacity specification.CapacitySpec.BuildergetSpecBuilder()The requested capacity specification.CapacitySpecOrBuildergetSpecOrBuilder()The requested capacity specification.com.google.protobuf.TimestampgetStartTime()The date and time when the capacity request was created.com.google.protobuf.Timestamp.BuildergetStartTimeBuilder()The date and time when the capacity request was created.com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()The date and time when the capacity request was created.Capacity.Request.StategetState()The current state of the capacity request (e.g.intgetStateValue()The current state of the capacity request (e.g.booleanhasEndTime()The date and time when the capacity request was completed or failed.booleanhasSpec()The requested capacity specification.booleanhasStartTime()The date and time when the capacity request was created.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Capacity.Request.BuildermergeEndTime(com.google.protobuf.Timestamp value)The date and time when the capacity request was completed or failed.Capacity.Request.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Capacity.Request.BuildermergeFrom(com.google.protobuf.Message other)Capacity.Request.BuildermergeFrom(Capacity.Request other)Capacity.Request.BuildermergeSpec(CapacitySpec value)The requested capacity specification.Capacity.Request.BuildermergeStartTime(com.google.protobuf.Timestamp value)The date and time when the capacity request was created.Capacity.Request.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Capacity.Request.BuildersetAsyncOperationId(java.lang.String value)The id of the async operation that is creating/updating/deleting the capacity, if any.Capacity.Request.BuildersetAsyncOperationIdBytes(com.google.protobuf.ByteString value)The id of the async operation that is creating/updating/deleting the capacity, if any.Capacity.Request.BuildersetEndTime(com.google.protobuf.Timestamp value)The date and time when the capacity request was completed or failed.Capacity.Request.BuildersetEndTime(com.google.protobuf.Timestamp.Builder builderForValue)The date and time when the capacity request was completed or failed.Capacity.Request.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Capacity.Request.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Capacity.Request.BuildersetSpec(CapacitySpec value)The requested capacity specification.Capacity.Request.BuildersetSpec(CapacitySpec.Builder builderForValue)The requested capacity specification.Capacity.Request.BuildersetStartTime(com.google.protobuf.Timestamp value)The date and time when the capacity request was created.Capacity.Request.BuildersetStartTime(com.google.protobuf.Timestamp.Builder builderForValue)The date and time when the capacity request was created.Capacity.Request.BuildersetState(Capacity.Request.State value)The current state of the capacity request (e.g.Capacity.Request.BuildersetStateValue(int value)The current state of the capacity request (e.g.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, 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<Capacity.Request.Builder>
-
clear
public 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
public Capacity.Request getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Capacity.Request build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Capacity.Request buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Capacity.Request.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, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Capacity.Request.Builder>
-
clearField
public Capacity.Request.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Capacity.Request.Builder>
-
clearOneof
public Capacity.Request.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Capacity.Request.Builder>
-
mergeFrom
public Capacity.Request.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Capacity.Request.Builder>
-
mergeFrom
public Capacity.Request.Builder mergeFrom(Capacity.Request other)
-
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 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<Capacity.Request.Builder>- Throws:
java.io.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
public Capacity.Request.Builder setStateValue(int value)
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
public Capacity.Request.State 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
public Capacity.Request.Builder setState(Capacity.Request.State value)
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
public Capacity.Request.Builder 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
public Capacity.Request.Builder setStartTime(com.google.protobuf.Timestamp value)
The date and time when the capacity request was created.
.google.protobuf.Timestamp start_time = 2;
-
setStartTime
public Capacity.Request.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
The date and time when the capacity request was created.
.google.protobuf.Timestamp start_time = 2;
-
mergeStartTime
public Capacity.Request.Builder mergeStartTime(com.google.protobuf.Timestamp value)
The date and time when the capacity request was created.
.google.protobuf.Timestamp start_time = 2;
-
clearStartTime
public Capacity.Request.Builder 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
public Capacity.Request.Builder setEndTime(com.google.protobuf.Timestamp value)
The date and time when the capacity request was completed or failed.
.google.protobuf.Timestamp end_time = 3;
-
setEndTime
public Capacity.Request.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
The date and time when the capacity request was completed or failed.
.google.protobuf.Timestamp end_time = 3;
-
mergeEndTime
public Capacity.Request.Builder mergeEndTime(com.google.protobuf.Timestamp value)
The date and time when the capacity request was completed or failed.
.google.protobuf.Timestamp end_time = 3;
-
clearEndTime
public Capacity.Request.Builder 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
public java.lang.String 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
public Capacity.Request.Builder setAsyncOperationId(java.lang.String value)
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
public Capacity.Request.Builder 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
public Capacity.Request.Builder setAsyncOperationIdBytes(com.google.protobuf.ByteString value)
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
public CapacitySpec getSpec()
The requested capacity specification.
.temporal.api.cloud.namespace.v1.CapacitySpec spec = 5;- Specified by:
getSpecin interfaceCapacity.RequestOrBuilder- Returns:
- The spec.
-
setSpec
public Capacity.Request.Builder setSpec(CapacitySpec value)
The requested capacity specification.
.temporal.api.cloud.namespace.v1.CapacitySpec spec = 5;
-
setSpec
public Capacity.Request.Builder setSpec(CapacitySpec.Builder builderForValue)
The requested capacity specification.
.temporal.api.cloud.namespace.v1.CapacitySpec spec = 5;
-
mergeSpec
public Capacity.Request.Builder mergeSpec(CapacitySpec value)
The requested capacity specification.
.temporal.api.cloud.namespace.v1.CapacitySpec spec = 5;
-
clearSpec
public Capacity.Request.Builder clearSpec()
The requested capacity specification.
.temporal.api.cloud.namespace.v1.CapacitySpec spec = 5;
-
getSpecBuilder
public CapacitySpec.Builder getSpecBuilder()
The requested capacity specification.
.temporal.api.cloud.namespace.v1.CapacitySpec spec = 5;
-
getSpecOrBuilder
public CapacitySpecOrBuilder 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>
-
-