func (s StateConsistency) GetPBConsistency() v1.StateOptions_StateConsistency {
	return v1.StateOptions_StateConsistency(s)
}
GetPBConsistency get consistency pb value.
package client
import (
	"context"
	"time"
	"github.com/golang/protobuf/ptypes/duration"
	"github.com/pkg/errors"
	v1 "github.com/dapr/dapr/pkg/proto/common/v1"
	pb "github.com/dapr/dapr/pkg/proto/runtime/v1"
)
const (
	StateConsistencyUndefined StateConsistency = 0
	StateConsistencyEventual StateConsistency = 1
	StateConsistencyStrong StateConsistency = 2
	StateConcurrencyUndefined StateConcurrency = 0
	StateConcurrencyFirstWrite StateConcurrency = 1
	StateConcurrencyLastWrite StateConcurrency = 2
	StateOperationTypeUndefined OperationType = 0
	StateOperationTypeUpsert OperationType = 1
	StateOperationTypeDelete OperationType = 2
	UndefinedType = "undefined"
)
type (
	StateConsistency int
	StateConcurrency int
	OperationType int
)