Class NamespaceCapacityInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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,java.lang.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 typetemporal.api.cloud.namespace.v1.NamespaceCapacityInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NamespaceCapacityInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)NamespaceCapacityInfobuild()NamespaceCapacityInfobuildPartial()NamespaceCapacityInfo.Builderclear()NamespaceCapacityInfo.BuilderclearCurrentCapacity()The current capacity of the namespace.NamespaceCapacityInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)NamespaceCapacityInfo.BuilderclearHasLegacyLimits()Whether the namespace's APS limit was set by Temporal Support.NamespaceCapacityInfo.BuilderclearModeOptions()Available capacity mode options for this namespace.NamespaceCapacityInfo.BuilderclearNamespace()The namespace identifier.NamespaceCapacityInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)NamespaceCapacityInfo.BuilderclearStats()Usage statistics for the namespace over the last 7 days.NamespaceCapacityInfo.Builderclone()CapacitygetCurrentCapacity()The current capacity of the namespace.Capacity.BuildergetCurrentCapacityBuilder()The current capacity of the namespace.CapacityOrBuildergetCurrentCapacityOrBuilder()The current capacity of the namespace.NamespaceCapacityInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetHasLegacyLimits()Whether the namespace's APS limit was set by Temporal Support.NamespaceCapacityInfo.CapacityModeOptionsgetModeOptions()Available capacity mode options for this namespace.NamespaceCapacityInfo.CapacityModeOptions.BuildergetModeOptionsBuilder()Available capacity mode options for this namespace.NamespaceCapacityInfo.CapacityModeOptionsOrBuildergetModeOptionsOrBuilder()Available capacity mode options for this namespace.java.lang.StringgetNamespace()The namespace identifier.com.google.protobuf.ByteStringgetNamespaceBytes()The namespace identifier.NamespaceCapacityInfo.StatsgetStats()Usage statistics for the namespace over the last 7 days.NamespaceCapacityInfo.Stats.BuildergetStatsBuilder()Usage statistics for the namespace over the last 7 days.NamespaceCapacityInfo.StatsOrBuildergetStatsOrBuilder()Usage statistics for the namespace over the last 7 days.booleanhasCurrentCapacity()The current capacity of the namespace.booleanhasModeOptions()Available capacity mode options for this namespace.booleanhasStats()Usage statistics for the namespace over the last 7 days.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()NamespaceCapacityInfo.BuildermergeCurrentCapacity(Capacity value)The current capacity of the namespace.NamespaceCapacityInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)NamespaceCapacityInfo.BuildermergeFrom(com.google.protobuf.Message other)NamespaceCapacityInfo.BuildermergeFrom(NamespaceCapacityInfo other)NamespaceCapacityInfo.BuildermergeModeOptions(NamespaceCapacityInfo.CapacityModeOptions value)Available capacity mode options for this namespace.NamespaceCapacityInfo.BuildermergeStats(NamespaceCapacityInfo.Stats value)Usage statistics for the namespace over the last 7 days.NamespaceCapacityInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NamespaceCapacityInfo.BuildersetCurrentCapacity(Capacity value)The current capacity of the namespace.NamespaceCapacityInfo.BuildersetCurrentCapacity(Capacity.Builder builderForValue)The current capacity of the namespace.NamespaceCapacityInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)NamespaceCapacityInfo.BuildersetHasLegacyLimits(boolean value)Whether the namespace's APS limit was set by Temporal Support.NamespaceCapacityInfo.BuildersetModeOptions(NamespaceCapacityInfo.CapacityModeOptions value)Available capacity mode options for this namespace.NamespaceCapacityInfo.BuildersetModeOptions(NamespaceCapacityInfo.CapacityModeOptions.Builder builderForValue)Available capacity mode options for this namespace.NamespaceCapacityInfo.BuildersetNamespace(java.lang.String value)The namespace identifier.NamespaceCapacityInfo.BuildersetNamespaceBytes(com.google.protobuf.ByteString value)The namespace identifier.NamespaceCapacityInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)NamespaceCapacityInfo.BuildersetStats(NamespaceCapacityInfo.Stats value)Usage statistics for the namespace over the last 7 days.NamespaceCapacityInfo.BuildersetStats(NamespaceCapacityInfo.Stats.Builder builderForValue)Usage statistics for the namespace over the last 7 days.NamespaceCapacityInfo.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<NamespaceCapacityInfo.Builder>
-
clear
public 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
public NamespaceCapacityInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public NamespaceCapacityInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NamespaceCapacityInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NamespaceCapacityInfo.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, java.lang.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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceCapacityInfo.Builder>
-
mergeFrom
public NamespaceCapacityInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NamespaceCapacityInfo.Builder>
-
mergeFrom
public NamespaceCapacityInfo.Builder mergeFrom(NamespaceCapacityInfo other)
-
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 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<NamespaceCapacityInfo.Builder>- Throws:
java.io.IOException
-
getNamespace
public java.lang.String 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
public NamespaceCapacityInfo.Builder setNamespace(java.lang.String value)
The namespace identifier.
string namespace = 1;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
public NamespaceCapacityInfo.Builder clearNamespace()
The namespace identifier.
string namespace = 1;- Returns:
- This builder for chaining.
-
setNamespaceBytes
public NamespaceCapacityInfo.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
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
public NamespaceCapacityInfo.Builder setHasLegacyLimits(boolean value)
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
public NamespaceCapacityInfo.Builder 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
public 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;- Specified by:
getCurrentCapacityin interfaceNamespaceCapacityInfoOrBuilder- Returns:
- The currentCapacity.
-
setCurrentCapacity
public NamespaceCapacityInfo.Builder setCurrentCapacity(Capacity value)
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
public NamespaceCapacityInfo.Builder setCurrentCapacity(Capacity.Builder builderForValue)
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
public NamespaceCapacityInfo.Builder mergeCurrentCapacity(Capacity value)
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
public NamespaceCapacityInfo.Builder 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
public Capacity.Builder 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
public 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;- 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
public 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;- 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
public NamespaceCapacityInfo.Builder 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
public NamespaceCapacityInfo.CapacityModeOptions.Builder 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
public 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;- 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
public 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;- Specified by:
getStatsin interfaceNamespaceCapacityInfoOrBuilder- Returns:
- The stats.
-
setStats
public NamespaceCapacityInfo.Builder setStats(NamespaceCapacityInfo.Stats value)
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
public NamespaceCapacityInfo.Builder setStats(NamespaceCapacityInfo.Stats.Builder builderForValue)
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
public NamespaceCapacityInfo.Builder mergeStats(NamespaceCapacityInfo.Stats value)
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
public NamespaceCapacityInfo.Builder 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
public NamespaceCapacityInfo.Stats.Builder 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
public 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;- 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>
-
-