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 Type
    Method
    Description
    getAllowedStates(int index)
    Allowed namespace states for requested operation.
    int
    Allowed namespace states for requested operation.
    Allowed namespace states for requested operation.
    int
    Allowed namespace states for requested operation.
    Allowed namespace states for requested operation.
    string namespace = 1;
    com.google.protobuf.ByteString
    string namespace = 1;
    Current state of the requested namespace.
    int
    Current state of the requested namespace.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getNamespace

      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

      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

      List<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.