Package io.temporal.api.errordetails.v1
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NamespaceState
getAllowedStates(int index)
Allowed namespace states for requested operation.int
getAllowedStatesCount()
Allowed namespace states for requested operation.java.util.List<NamespaceState>
getAllowedStatesList()
Allowed namespace states for requested operation.int
getAllowedStatesValue(int index)
Allowed namespace states for requested operation.java.util.List<java.lang.Integer>
getAllowedStatesValueList()
Allowed namespace states for requested operation.java.lang.String
getNamespace()
string namespace = 1;
com.google.protobuf.ByteString
getNamespaceBytes()
string namespace = 1;
NamespaceState
getState()
Current state of the requested namespace.int
getStateValue()
Current state of the requested namespace.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNamespace
java.lang.String getNamespace()
string namespace = 1;
- Returns:
- The namespace.
-
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
java.util.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
NamespaceState getAllowedStates(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 element to return.- Returns:
- The allowedStates at the given index.
-
getAllowedStatesValueList
java.util.List<java.lang.Integer> 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.
-
-