Class Capacity.Request
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.temporal.api.cloud.namespace.v1.Capacity.Request
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Capacity.RequestOrBuilder,java.io.Serializable
- Enclosing class:
- Capacity
public static final class Capacity.Request extends com.google.protobuf.GeneratedMessageV3 implements Capacity.RequestOrBuilder
Protobuf typetemporal.api.cloud.namespace.v1.Capacity.Request- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCapacity.Request.BuilderProtobuf typetemporal.api.cloud.namespace.v1.Capacity.Requeststatic classCapacity.Request.StateProtobuf enumtemporal.api.cloud.namespace.v1.Capacity.Request.State-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intASYNC_OPERATION_ID_FIELD_NUMBERstatic intEND_TIME_FIELD_NUMBERstatic intSPEC_FIELD_NUMBERstatic intSTART_TIME_FIELD_NUMBERstatic intSTATE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)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.static Capacity.RequestgetDefaultInstance()Capacity.RequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.TimestampgetEndTime()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.com.google.protobuf.Parser<Capacity.Request>getParserForType()intgetSerializedSize()CapacitySpecgetSpec()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.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.inthashCode()booleanhasSpec()The requested capacity specification.booleanhasStartTime()The date and time when the capacity request was created.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Capacity.Request.BuildernewBuilder()static Capacity.Request.BuildernewBuilder(Capacity.Request prototype)Capacity.Request.BuildernewBuilderForType()protected Capacity.Request.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Capacity.RequestparseDelimitedFrom(java.io.InputStream input)static Capacity.RequestparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Capacity.RequestparseFrom(byte[] data)static Capacity.RequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Capacity.RequestparseFrom(com.google.protobuf.ByteString data)static Capacity.RequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Capacity.RequestparseFrom(com.google.protobuf.CodedInputStream input)static Capacity.RequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Capacity.RequestparseFrom(java.io.InputStream input)static Capacity.RequestparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Capacity.RequestparseFrom(java.nio.ByteBuffer data)static Capacity.RequestparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Capacity.Request>parser()Capacity.Request.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASYNC_OPERATION_ID_FIELD_NUMBER
public static final int ASYNC_OPERATION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SPEC_FIELD_NUMBER
public static final int SPEC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
getSpecOrBuilder
public CapacitySpecOrBuilder getSpecOrBuilder()
The requested capacity specification.
.temporal.api.cloud.namespace.v1.CapacitySpec spec = 5;- Specified by:
getSpecOrBuilderin interfaceCapacity.RequestOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Capacity.Request parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Capacity.Request parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Capacity.Request parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Capacity.Request parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Capacity.Request parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Capacity.Request parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Capacity.Request parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Capacity.Request parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Capacity.Request parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Capacity.Request parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Capacity.Request parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Capacity.Request parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Capacity.Request.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Capacity.Request.Builder newBuilder()
-
newBuilder
public static Capacity.Request.Builder newBuilder(Capacity.Request prototype)
-
toBuilder
public Capacity.Request.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Capacity.Request.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Capacity.Request getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Capacity.Request> parser()
-
getParserForType
public com.google.protobuf.Parser<Capacity.Request> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Capacity.Request getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-