io.temporal.api.errordetails.v1.NamespaceInvalidStateFailureOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: temporal/api/errordetails/v1/message.proto
package io.temporal.api.errordetails.v1;
@javax.annotation.Generated(value="protoc", comments="annotations:NamespaceInvalidStateFailureOrBuilder.java.pb.meta")
public interface NamespaceInvalidStateFailureOrBuilder extends
// @@protoc_insertion_point(interface_extends:temporal.api.errordetails.v1.NamespaceInvalidStateFailure)
com.google.protobuf.MessageOrBuilder {
/**
* string namespace = 1;
* @return The namespace.
*/
java.lang.String getNamespace();
/**
* string namespace = 1;
* @return The bytes for namespace.
*/
com.google.protobuf.ByteString
getNamespaceBytes();
/**
*
* Current state of the requested namespace.
*
*
* .temporal.api.enums.v1.NamespaceState state = 2;
* @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
*
* Current state of the requested namespace.
*
*
* .temporal.api.enums.v1.NamespaceState state = 2;
* @return The state.
*/
io.temporal.api.enums.v1.NamespaceState getState();
/**
*
* 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;
* @return A list containing the allowedStates.
*/
java.util.List 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;
* @return The count of allowedStates.
*/
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;
* @param index The index of the element to return.
* @return The allowedStates at the given index.
*/
io.temporal.api.enums.v1.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;
* @return A list containing the enum numeric values on the wire for allowedStates.
*/
java.util.List
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;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of allowedStates at the given index.
*/
int getAllowedStatesValue(int index);
}