Interface NamespaceInvalidStateFailureOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NamespaceInvalidStateFailure,NamespaceInvalidStateFailure.Builder
@Generated(value="protoc",
comments="annotations:NamespaceInvalidStateFailureOrBuilder.java.pb.meta")
public interface NamespaceInvalidStateFailureOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAllowedStates(int index) Allowed namespace states for requested operation.intAllowed namespace states for requested operation.Allowed namespace states for requested operation.intgetAllowedStatesValue(int index) Allowed namespace states for requested operation.Allowed namespace states for requested operation.string namespace = 1;com.google.protobuf.ByteStringstring namespace = 1;getState()Current state of the requested namespace.intCurrent state of the requested namespace.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()string namespace = 1;- Returns:
- The bytes for namespace.
-
getStateValue
int getStateValue()Current state of the requested namespace.
.temporal.api.enums.v1.NamespaceState state = 2;- Returns:
- The enum numeric value on the wire for state.
-
getState
NamespaceState getState()Current state of the requested namespace.
.temporal.api.enums.v1.NamespaceState state = 2;- Returns:
- The state.
-
getAllowedStatesList
List<NamespaceState> getAllowedStatesList()Allowed namespace states for requested operation. For example NAMESPACE_STATE_DELETED is forbidden for most operations but allowed for DescribeNamespace.
repeated .temporal.api.enums.v1.NamespaceState allowed_states = 3;- Returns:
- A list containing the allowedStates.
-
getAllowedStatesCount
int getAllowedStatesCount()Allowed namespace states for requested operation. For example NAMESPACE_STATE_DELETED is forbidden for most operations but allowed for DescribeNamespace.
repeated .temporal.api.enums.v1.NamespaceState allowed_states = 3;- Returns:
- The count of allowedStates.
-
getAllowedStates
Allowed namespace states for requested operation. For example NAMESPACE_STATE_DELETED is forbidden for most operations but allowed for DescribeNamespace.
repeated .temporal.api.enums.v1.NamespaceState allowed_states = 3;- Parameters:
index- The index of the element to return.- Returns:
- The allowedStates at the given index.
-
getAllowedStatesValueList
Allowed namespace states for requested operation. For example NAMESPACE_STATE_DELETED is forbidden for most operations but allowed for DescribeNamespace.
repeated .temporal.api.enums.v1.NamespaceState allowed_states = 3;- Returns:
- A list containing the enum numeric values on the wire for allowedStates.
-
getAllowedStatesValue
int getAllowedStatesValue(int index) Allowed namespace states for requested operation. For example NAMESPACE_STATE_DELETED is forbidden for most operations but allowed for DescribeNamespace.
repeated .temporal.api.enums.v1.NamespaceState allowed_states = 3;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of allowedStates at the given index.
-