Documentation ¶
Overview ¶
Code generated by protoc-gen-go-helpers. DO NOT EDIT.
Index ¶
- Variables
- type ResourceState
- func (ResourceState) Descriptor() protoreflect.EnumDescriptor
- func (x ResourceState) Enum() *ResourceState
- func (ResourceState) EnumDescriptor() ([]byte, []int)
- func (x ResourceState) Number() protoreflect.EnumNumber
- func (x ResourceState) String() string
- func (ResourceState) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ResourceState_name = map[int32]string{ 0: "RESOURCE_STATE_UNSPECIFIED", 1: "RESOURCE_STATE_ACTIVATING", 2: "RESOURCE_STATE_ACTIVATION_FAILED", 3: "RESOURCE_STATE_ACTIVE", 4: "RESOURCE_STATE_UPDATING", 5: "RESOURCE_STATE_UPDATE_FAILED", 6: "RESOURCE_STATE_DELETING", 7: "RESOURCE_STATE_DELETE_FAILED", 8: "RESOURCE_STATE_DELETED", 9: "RESOURCE_STATE_SUSPENDED", 10: "RESOURCE_STATE_EXPIRED", } ResourceState_value = map[string]int32{ "RESOURCE_STATE_UNSPECIFIED": 0, "RESOURCE_STATE_ACTIVATING": 1, "RESOURCE_STATE_ACTIVATION_FAILED": 2, "RESOURCE_STATE_ACTIVE": 3, "RESOURCE_STATE_UPDATING": 4, "RESOURCE_STATE_UPDATE_FAILED": 5, "RESOURCE_STATE_DELETING": 6, "RESOURCE_STATE_DELETE_FAILED": 7, "RESOURCE_STATE_DELETED": 8, "RESOURCE_STATE_SUSPENDED": 9, "RESOURCE_STATE_EXPIRED": 10, } )
Enum value maps for ResourceState.
View Source
var File_temporal_api_cloud_resource_v1_message_proto protoreflect.FileDescriptor
View Source
var (
ResourceState_shorthandValue = map[string]int32{
"Unspecified": 0,
"Activating": 1,
"ActivationFailed": 2,
"Active": 3,
"Updating": 4,
"UpdateFailed": 5,
"Deleting": 6,
"DeleteFailed": 7,
"Deleted": 8,
"Suspended": 9,
"Expired": 10,
}
)
Functions ¶
This section is empty.
Types ¶
type ResourceState ¶
type ResourceState int32
const ( RESOURCE_STATE_UNSPECIFIED ResourceState = 0 RESOURCE_STATE_ACTIVATING ResourceState = 1 // The resource is being activated. RESOURCE_STATE_ACTIVATION_FAILED ResourceState = 2 // The resource failed to activate. This is an error state. Reach out to support for remediation. RESOURCE_STATE_ACTIVE ResourceState = 3 // The resource is active and ready to use. RESOURCE_STATE_UPDATING ResourceState = 4 // The resource is being updated. RESOURCE_STATE_UPDATE_FAILED ResourceState = 5 // The resource failed to update. This is an error state. Reach out to support for remediation. RESOURCE_STATE_DELETING ResourceState = 6 // The resource is being deleted. RESOURCE_STATE_DELETE_FAILED ResourceState = 7 // The resource failed to delete. This is an error state. Reach out to support for remediation. RESOURCE_STATE_DELETED ResourceState = 8 // The resource has been deleted. RESOURCE_STATE_SUSPENDED ResourceState = 9 // The resource is suspended and not available for use. Reach out to support for remediation. RESOURCE_STATE_EXPIRED ResourceState = 10 // The resource has expired and is no longer available for use. )
func ResourceStateFromString ¶
func ResourceStateFromString(s string) (ResourceState, error)
ResourceStateFromString parses a ResourceState value from either the protojson canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to ResourceState
func (ResourceState) Descriptor ¶
func (ResourceState) Descriptor() protoreflect.EnumDescriptor
func (ResourceState) Enum ¶
func (x ResourceState) Enum() *ResourceState
func (ResourceState) EnumDescriptor ¶
func (ResourceState) EnumDescriptor() ([]byte, []int)
func (ResourceState) Number ¶
func (x ResourceState) Number() protoreflect.EnumNumber
func (ResourceState) String ¶
func (x ResourceState) String() string
func (ResourceState) Type ¶
func (ResourceState) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.