Class NamespaceCapacityInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<NamespaceCapacityInfo.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<NamespaceCapacityInfo.Builder>
io.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,NamespaceCapacityInfoOrBuilder,Cloneable
- Enclosing class:
NamespaceCapacityInfo
public static final class NamespaceCapacityInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<NamespaceCapacityInfo.Builder>
implements NamespaceCapacityInfoOrBuilder
NamespaceCapacityInfo contains detailed capacity information for a namespace.Protobuf type
temporal.api.cloud.namespace.v1.NamespaceCapacityInfo-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The current capacity of the namespace.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Whether the namespace's APS limit was set by Temporal Support.Available capacity mode options for this namespace.The namespace identifier.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Usage statistics for the namespace over the last 7 days.clone()The current capacity of the namespace.The current capacity of the namespace.The current capacity of the namespace.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanWhether the namespace's APS limit was set by Temporal Support.Available capacity mode options for this namespace.Available capacity mode options for this namespace.Available capacity mode options for this namespace.The namespace identifier.com.google.protobuf.ByteStringThe namespace identifier.getStats()Usage statistics for the namespace over the last 7 days.Usage statistics for the namespace over the last 7 days.Usage statistics for the namespace over the last 7 days.booleanThe current capacity of the namespace.booleanAvailable capacity mode options for this namespace.booleanhasStats()Usage statistics for the namespace over the last 7 days.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCurrentCapacity(Capacity value) The current capacity of the namespace.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(NamespaceCapacityInfo other) Available capacity mode options for this namespace.Usage statistics for the namespace over the last 7 days.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setCurrentCapacity(Capacity value) The current capacity of the namespace.setCurrentCapacity(Capacity.Builder builderForValue) The current capacity of the namespace.setHasLegacyLimits(boolean value) Whether the namespace's APS limit was set by Temporal Support.Available capacity mode options for this namespace.setModeOptions(NamespaceCapacityInfo.CapacityModeOptions.Builder builderForValue) Available capacity mode options for this namespace.setNamespace(String value) The namespace identifier.setNamespaceBytes(com.google.protobuf.ByteString value) The namespace identifier.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Usage statistics for the namespace over the last 7 days.setStats(NamespaceCapacityInfo.Stats.Builder builderForValue) Usage statistics for the namespace over the last 7 days.setUnknownFields(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<NamespaceCapacityInfo.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<NamespaceCapacityInfo.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<NamespaceCapacityInfo.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<NamespaceCapacityInfo.Builder>
-
setField
public NamespaceCapacityInfo.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<NamespaceCapacityInfo.Builder>
-
clearField
public NamespaceCapacityInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceCapacityInfo.Builder>
-
clearOneof
public NamespaceCapacityInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceCapacityInfo.Builder>
-
setRepeatedField
public NamespaceCapacityInfo.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<NamespaceCapacityInfo.Builder>
-
addRepeatedField
public NamespaceCapacityInfo.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<NamespaceCapacityInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NamespaceCapacityInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceCapacityInfo.Builder>
-
mergeFrom
public NamespaceCapacityInfo.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<NamespaceCapacityInfo.Builder>- Throws:
IOException
-
getNamespace
The namespace identifier.
string namespace = 1;- Specified by:
getNamespacein interfaceNamespaceCapacityInfoOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()The namespace identifier.
string namespace = 1;- Specified by:
getNamespaceBytesin interfaceNamespaceCapacityInfoOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
The namespace identifier.
string namespace = 1;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
The namespace identifier.
string namespace = 1;- Returns:
- This builder for chaining.
-
setNamespaceBytes
The namespace identifier.
string namespace = 1;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getHasLegacyLimits
public boolean getHasLegacyLimits()Whether the namespace's APS limit was set by Temporal Support. When true, adjusting the namespace's capacity will reset this limit.
bool has_legacy_limits = 2;- Specified by:
getHasLegacyLimitsin interfaceNamespaceCapacityInfoOrBuilder- Returns:
- The hasLegacyLimits.
-
setHasLegacyLimits
Whether the namespace's APS limit was set by Temporal Support. When true, adjusting the namespace's capacity will reset this limit.
bool has_legacy_limits = 2;- Parameters:
value- The hasLegacyLimits to set.- Returns:
- This builder for chaining.
-
clearHasLegacyLimits
Whether the namespace's APS limit was set by Temporal Support. When true, adjusting the namespace's capacity will reset this limit.
bool has_legacy_limits = 2;- Returns:
- This builder for chaining.
-
hasCurrentCapacity
public boolean hasCurrentCapacity()The current capacity of the namespace. Includes the current mode (on-demand or provisioned) and latest request status.
.temporal.api.cloud.namespace.v1.Capacity current_capacity = 3;- Specified by:
hasCurrentCapacityin interfaceNamespaceCapacityInfoOrBuilder- Returns:
- Whether the currentCapacity field is set.
-
getCurrentCapacity
The current capacity of the namespace. Includes the current mode (on-demand or provisioned) and latest request status.
.temporal.api.cloud.namespace.v1.Capacity current_capacity = 3;- Specified by:
getCurrentCapacityin interfaceNamespaceCapacityInfoOrBuilder- Returns:
- The currentCapacity.
-
setCurrentCapacity
The current capacity of the namespace. Includes the current mode (on-demand or provisioned) and latest request status.
.temporal.api.cloud.namespace.v1.Capacity current_capacity = 3; -
setCurrentCapacity
The current capacity of the namespace. Includes the current mode (on-demand or provisioned) and latest request status.
.temporal.api.cloud.namespace.v1.Capacity current_capacity = 3; -
mergeCurrentCapacity
The current capacity of the namespace. Includes the current mode (on-demand or provisioned) and latest request status.
.temporal.api.cloud.namespace.v1.Capacity current_capacity = 3; -
clearCurrentCapacity
The current capacity of the namespace. Includes the current mode (on-demand or provisioned) and latest request status.
.temporal.api.cloud.namespace.v1.Capacity current_capacity = 3; -
getCurrentCapacityBuilder
The current capacity of the namespace. Includes the current mode (on-demand or provisioned) and latest request status.
.temporal.api.cloud.namespace.v1.Capacity current_capacity = 3; -
getCurrentCapacityOrBuilder
The current capacity of the namespace. Includes the current mode (on-demand or provisioned) and latest request status.
.temporal.api.cloud.namespace.v1.Capacity current_capacity = 3;- Specified by:
getCurrentCapacityOrBuilderin interfaceNamespaceCapacityInfoOrBuilder
-
hasModeOptions
public boolean hasModeOptions()Available capacity mode options for this namespace. Contains configuration limits for both provisioned and on-demand modes.
.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions mode_options = 4;- Specified by:
hasModeOptionsin interfaceNamespaceCapacityInfoOrBuilder- Returns:
- Whether the modeOptions field is set.
-
getModeOptions
Available capacity mode options for this namespace. Contains configuration limits for both provisioned and on-demand modes.
.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions mode_options = 4;- Specified by:
getModeOptionsin interfaceNamespaceCapacityInfoOrBuilder- Returns:
- The modeOptions.
-
setModeOptions
public NamespaceCapacityInfo.Builder setModeOptions(NamespaceCapacityInfo.CapacityModeOptions value) Available capacity mode options for this namespace. Contains configuration limits for both provisioned and on-demand modes.
.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions mode_options = 4; -
setModeOptions
public NamespaceCapacityInfo.Builder setModeOptions(NamespaceCapacityInfo.CapacityModeOptions.Builder builderForValue) Available capacity mode options for this namespace. Contains configuration limits for both provisioned and on-demand modes.
.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions mode_options = 4; -
mergeModeOptions
public NamespaceCapacityInfo.Builder mergeModeOptions(NamespaceCapacityInfo.CapacityModeOptions value) Available capacity mode options for this namespace. Contains configuration limits for both provisioned and on-demand modes.
.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions mode_options = 4; -
clearModeOptions
Available capacity mode options for this namespace. Contains configuration limits for both provisioned and on-demand modes.
.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions mode_options = 4; -
getModeOptionsBuilder
Available capacity mode options for this namespace. Contains configuration limits for both provisioned and on-demand modes.
.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions mode_options = 4; -
getModeOptionsOrBuilder
Available capacity mode options for this namespace. Contains configuration limits for both provisioned and on-demand modes.
.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions mode_options = 4;- Specified by:
getModeOptionsOrBuilderin interfaceNamespaceCapacityInfoOrBuilder
-
hasStats
public boolean hasStats()Usage statistics for the namespace over the last 7 days. Used to calculate On-Demand capacity limits, also useful for capacity planning.
.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats stats = 5;- Specified by:
hasStatsin interfaceNamespaceCapacityInfoOrBuilder- Returns:
- Whether the stats field is set.
-
getStats
Usage statistics for the namespace over the last 7 days. Used to calculate On-Demand capacity limits, also useful for capacity planning.
.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats stats = 5;- Specified by:
getStatsin interfaceNamespaceCapacityInfoOrBuilder- Returns:
- The stats.
-
setStats
Usage statistics for the namespace over the last 7 days. Used to calculate On-Demand capacity limits, also useful for capacity planning.
.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats stats = 5; -
setStats
Usage statistics for the namespace over the last 7 days. Used to calculate On-Demand capacity limits, also useful for capacity planning.
.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats stats = 5; -
mergeStats
Usage statistics for the namespace over the last 7 days. Used to calculate On-Demand capacity limits, also useful for capacity planning.
.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats stats = 5; -
clearStats
Usage statistics for the namespace over the last 7 days. Used to calculate On-Demand capacity limits, also useful for capacity planning.
.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats stats = 5; -
getStatsBuilder
Usage statistics for the namespace over the last 7 days. Used to calculate On-Demand capacity limits, also useful for capacity planning.
.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats stats = 5; -
getStatsOrBuilder
Usage statistics for the namespace over the last 7 days. Used to calculate On-Demand capacity limits, also useful for capacity planning.
.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats stats = 5;- Specified by:
getStatsOrBuilderin interfaceNamespaceCapacityInfoOrBuilder
-
setUnknownFields
public final NamespaceCapacityInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceCapacityInfo.Builder>
-
mergeUnknownFields
public final NamespaceCapacityInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceCapacityInfo.Builder>
-