Documentation ¶
Overview ¶
Code generated by protoc-gen-go-helpers. DO NOT EDIT.
Index ¶
- Variables
- type Region
- func (*Region) Descriptor() ([]byte, []int)deprecated
- func (this *Region) Equal(that interface{}) bool
- func (x *Region) GetCloudProvider() Region_CloudProvider
- func (x *Region) GetCloudProviderDeprecated() stringdeprecated
- func (x *Region) GetCloudProviderRegion() string
- func (x *Region) GetId() string
- func (x *Region) GetLocation() string
- func (val *Region) Marshal() ([]byte, error)
- func (*Region) ProtoMessage()
- func (x *Region) ProtoReflect() protoreflect.Message
- func (x *Region) Reset()
- func (val *Region) Size() int
- func (x *Region) String() string
- func (val *Region) Unmarshal(buf []byte) error
- type Region_CloudProvider
- func (Region_CloudProvider) Descriptor() protoreflect.EnumDescriptor
- func (x Region_CloudProvider) Enum() *Region_CloudProvider
- func (Region_CloudProvider) EnumDescriptor() ([]byte, []int)deprecated
- func (x Region_CloudProvider) Number() protoreflect.EnumNumber
- func (x Region_CloudProvider) String() string
- func (Region_CloudProvider) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Region_CloudProvider_name = map[int32]string{ 0: "CLOUD_PROVIDER_UNSPECIFIED", 1: "CLOUD_PROVIDER_AWS", 2: "CLOUD_PROVIDER_GCP", } Region_CloudProvider_value = map[string]int32{ "CLOUD_PROVIDER_UNSPECIFIED": 0, "CLOUD_PROVIDER_AWS": 1, "CLOUD_PROVIDER_GCP": 2, } )
Enum value maps for Region_CloudProvider.
View Source
var File_temporal_api_cloud_region_v1_message_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Region ¶
type Region struct { // The id of the temporal cloud region. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The name of the cloud provider that's hosting the region. // Currently only "aws" is supported. // Deprecated: Not supported after 2024-10-01-00 api version. Use cloud_provider instead. // temporal:versioning:max_version=2024-10-01-00 // // Deprecated: Marked as deprecated in temporal/api/cloud/region/v1/message.proto. CloudProviderDeprecated string `` /* 132-byte string literal not displayed */ // The cloud provider that's hosting the region. // temporal:versioning:min_version=2024-10-01-00 // temporal:enums:replaces=cloud_provider_deprecated CloudProvider Region_CloudProvider `` /* 156-byte string literal not displayed */ // The region identifier as defined by the cloud provider. CloudProviderRegion string `protobuf:"bytes,3,opt,name=cloud_provider_region,json=cloudProviderRegion,proto3" json:"cloud_provider_region,omitempty"` // The human readable location of the region. Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
func (*Region) Descriptor
deprecated
func (*Region) Equal ¶
Equal returns whether two Region values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (*Region) GetCloudProvider ¶
func (x *Region) GetCloudProvider() Region_CloudProvider
func (*Region) GetCloudProviderDeprecated
deprecated
added in
v1.40.0
func (*Region) GetCloudProviderRegion ¶
func (*Region) GetLocation ¶
func (*Region) ProtoMessage ¶
func (*Region) ProtoMessage()
func (*Region) ProtoReflect ¶
func (x *Region) ProtoReflect() protoreflect.Message
type Region_CloudProvider ¶ added in v1.40.0
type Region_CloudProvider int32
The cloud provider that's hosting the region.
const ( Region_CLOUD_PROVIDER_UNSPECIFIED Region_CloudProvider = 0 Region_CLOUD_PROVIDER_AWS Region_CloudProvider = 1 Region_CLOUD_PROVIDER_GCP Region_CloudProvider = 2 )
func (Region_CloudProvider) Descriptor ¶ added in v1.40.0
func (Region_CloudProvider) Descriptor() protoreflect.EnumDescriptor
func (Region_CloudProvider) Enum ¶ added in v1.40.0
func (x Region_CloudProvider) Enum() *Region_CloudProvider
func (Region_CloudProvider) EnumDescriptor
deprecated
added in
v1.40.0
func (Region_CloudProvider) EnumDescriptor() ([]byte, []int)
Deprecated: Use Region_CloudProvider.Descriptor instead.
func (Region_CloudProvider) Number ¶ added in v1.40.0
func (x Region_CloudProvider) Number() protoreflect.EnumNumber
func (Region_CloudProvider) String ¶ added in v1.40.0
func (x Region_CloudProvider) String() string
func (Region_CloudProvider) Type ¶ added in v1.40.0
func (Region_CloudProvider) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.