region

package
v1.43.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-helpers. DO NOT EDIT.

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Region.ProtoReflect.Descriptor instead.

func (*Region) Equal

func (this *Region) Equal(that interface{}) bool

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 (x *Region) GetCloudProviderDeprecated() string

Deprecated: Marked as deprecated in temporal/api/cloud/region/v1/message.proto.

func (*Region) GetCloudProviderRegion

func (x *Region) GetCloudProviderRegion() string

func (*Region) GetId

func (x *Region) GetId() string

func (*Region) GetLocation

func (x *Region) GetLocation() string

func (*Region) Marshal

func (val *Region) Marshal() ([]byte, error)

Marshal an object of type Region to the protobuf v3 wire format

func (*Region) ProtoMessage

func (*Region) ProtoMessage()

func (*Region) ProtoReflect

func (x *Region) ProtoReflect() protoreflect.Message

func (*Region) Reset

func (x *Region) Reset()

func (*Region) Size

func (val *Region) Size() int

Size returns the size of the object, in bytes, once serialized

func (*Region) String

func (x *Region) String() string

func (*Region) Unmarshal

func (val *Region) Unmarshal(buf []byte) error

Unmarshal an object of type Region from the protobuf v3 wire format

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) Enum added in v1.40.0

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 (Region_CloudProvider) String added in v1.40.0

func (x Region_CloudProvider) String() string

func (Region_CloudProvider) Type added in v1.40.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL