region

package
v1.33.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 5 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 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.
	CloudProvider string `protobuf:"bytes,2,opt,name=cloud_provider,json=cloudProvider,proto3" json:"cloud_provider,omitempty"`
	// 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() string

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

Jump to

Keyboard shortcuts

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