Interface NamespaceCapacityInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NamespaceCapacityInfo,NamespaceCapacityInfo.Builder
@Generated(value="protoc",
comments="annotations:NamespaceCapacityInfoOrBuilder.java.pb.meta")
public interface NamespaceCapacityInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe current capacity of the namespace.The current capacity of the namespace.booleanWhether the namespace's APS limit was set by Temporal Support.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.booleanThe current capacity of the namespace.booleanAvailable capacity mode options for this namespace.booleanhasStats()Usage statistics for the namespace over the last 7 days.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getNamespace
-
getNamespaceBytes
com.google.protobuf.ByteString getNamespaceBytes()The namespace identifier.
string namespace = 1;- Returns:
- The bytes for namespace.
-
getHasLegacyLimits
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;- Returns:
- The hasLegacyLimits.
-
hasCurrentCapacity
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;- Returns:
- Whether the currentCapacity field is set.
-
getCurrentCapacity
Capacity 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;- Returns:
- The currentCapacity.
-
getCurrentCapacityOrBuilder
CapacityOrBuilder 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; -
hasModeOptions
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;- Returns:
- Whether the modeOptions field is set.
-
getModeOptions
NamespaceCapacityInfo.CapacityModeOptions 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;- Returns:
- The modeOptions.
-
getModeOptionsOrBuilder
NamespaceCapacityInfo.CapacityModeOptionsOrBuilder 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; -
hasStats
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;- Returns:
- Whether the stats field is set.
-
getStats
NamespaceCapacityInfo.Stats 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;- Returns:
- The stats.
-
getStatsOrBuilder
NamespaceCapacityInfo.StatsOrBuilder 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;
-