namespace

package
v1.43.1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: MIT Imports: 9 Imported by: 2

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var (
	NamespaceSpec_SearchAttributeType_name = map[int32]string{
		0: "SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED",
		1: "SEARCH_ATTRIBUTE_TYPE_TEXT",
		2: "SEARCH_ATTRIBUTE_TYPE_KEYWORD",
		3: "SEARCH_ATTRIBUTE_TYPE_INT",
		4: "SEARCH_ATTRIBUTE_TYPE_DOUBLE",
		5: "SEARCH_ATTRIBUTE_TYPE_BOOL",
		6: "SEARCH_ATTRIBUTE_TYPE_DATETIME",
		7: "SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST",
	}
	NamespaceSpec_SearchAttributeType_value = map[string]int32{
		"SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED":  0,
		"SEARCH_ATTRIBUTE_TYPE_TEXT":         1,
		"SEARCH_ATTRIBUTE_TYPE_KEYWORD":      2,
		"SEARCH_ATTRIBUTE_TYPE_INT":          3,
		"SEARCH_ATTRIBUTE_TYPE_DOUBLE":       4,
		"SEARCH_ATTRIBUTE_TYPE_BOOL":         5,
		"SEARCH_ATTRIBUTE_TYPE_DATETIME":     6,
		"SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST": 7,
	}
)

Enum value maps for NamespaceSpec_SearchAttributeType.

View Source
var (
	NamespaceRegionStatus_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "STATE_ADDING",
		2: "STATE_ACTIVE",
		3: "STATE_PASSIVE",
		4: "STATE_REMOVING",
		5: "STATE_FAILED",
	}
	NamespaceRegionStatus_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"STATE_ADDING":      1,
		"STATE_ACTIVE":      2,
		"STATE_PASSIVE":     3,
		"STATE_REMOVING":    4,
		"STATE_FAILED":      5,
	}
)

Enum value maps for NamespaceRegionStatus_State.

View Source
var (
	ExportSink_Health_name = map[int32]string{
		0: "HEALTH_UNSPECIFIED",
		1: "HEALTH_OK",
		2: "HEALTH_ERROR_INTERNAL",
		3: "HEALTH_ERROR_USER_CONFIGURATION",
	}
	ExportSink_Health_value = map[string]int32{
		"HEALTH_UNSPECIFIED":              0,
		"HEALTH_OK":                       1,
		"HEALTH_ERROR_INTERNAL":           2,
		"HEALTH_ERROR_USER_CONFIGURATION": 3,
	}
)

Enum value maps for ExportSink_Health.

View Source
var File_temporal_api_cloud_namespace_v1_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AWSPrivateLinkInfo

type AWSPrivateLinkInfo struct {

	// The list of principal arns that are allowed to access the namespace on the private link.
	AllowedPrincipalArns []string `protobuf:"bytes,1,rep,name=allowed_principal_arns,json=allowedPrincipalArns,proto3" json:"allowed_principal_arns,omitempty"`
	// The list of vpc endpoint service names that are associated with the namespace.
	VpcEndpointServiceNames []string `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AWSPrivateLinkInfo) Descriptor deprecated

func (*AWSPrivateLinkInfo) Descriptor() ([]byte, []int)

Deprecated: Use AWSPrivateLinkInfo.ProtoReflect.Descriptor instead.

func (*AWSPrivateLinkInfo) Equal

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

Equal returns whether two AWSPrivateLinkInfo 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 (*AWSPrivateLinkInfo) GetAllowedPrincipalArns

func (x *AWSPrivateLinkInfo) GetAllowedPrincipalArns() []string

func (*AWSPrivateLinkInfo) GetVpcEndpointServiceNames

func (x *AWSPrivateLinkInfo) GetVpcEndpointServiceNames() []string

func (*AWSPrivateLinkInfo) Marshal

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

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

func (*AWSPrivateLinkInfo) ProtoMessage

func (*AWSPrivateLinkInfo) ProtoMessage()

func (*AWSPrivateLinkInfo) ProtoReflect

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

func (*AWSPrivateLinkInfo) Reset

func (x *AWSPrivateLinkInfo) Reset()

func (*AWSPrivateLinkInfo) Size

func (val *AWSPrivateLinkInfo) Size() int

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

func (*AWSPrivateLinkInfo) String

func (x *AWSPrivateLinkInfo) String() string

func (*AWSPrivateLinkInfo) Unmarshal

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

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

type ApiKeyAuthSpec added in v1.35.0

type ApiKeyAuthSpec struct {

	// Flag to enable API key auth (default: disabled).
	// Note: disabling API key auth will cause existing API key connections to fail.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiKeyAuthSpec) Descriptor deprecated added in v1.35.0

func (*ApiKeyAuthSpec) Descriptor() ([]byte, []int)

Deprecated: Use ApiKeyAuthSpec.ProtoReflect.Descriptor instead.

func (*ApiKeyAuthSpec) Equal added in v1.35.0

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

Equal returns whether two ApiKeyAuthSpec 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 (*ApiKeyAuthSpec) GetEnabled added in v1.35.0

func (x *ApiKeyAuthSpec) GetEnabled() bool

func (*ApiKeyAuthSpec) Marshal added in v1.35.0

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

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

func (*ApiKeyAuthSpec) ProtoMessage added in v1.35.0

func (*ApiKeyAuthSpec) ProtoMessage()

func (*ApiKeyAuthSpec) ProtoReflect added in v1.35.0

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

func (*ApiKeyAuthSpec) Reset added in v1.35.0

func (x *ApiKeyAuthSpec) Reset()

func (*ApiKeyAuthSpec) Size added in v1.35.0

func (val *ApiKeyAuthSpec) Size() int

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

func (*ApiKeyAuthSpec) String added in v1.35.0

func (x *ApiKeyAuthSpec) String() string

func (*ApiKeyAuthSpec) Unmarshal added in v1.35.0

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

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

type CertificateFilterSpec

type CertificateFilterSpec struct {

	// The common_name in the certificate.
	// Optional, default is empty.
	CommonName string `protobuf:"bytes,1,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"`
	// The organization in the certificate.
	// Optional, default is empty.
	Organization string `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"`
	// The organizational_unit in the certificate.
	// Optional, default is empty.
	OrganizationalUnit string `protobuf:"bytes,3,opt,name=organizational_unit,json=organizationalUnit,proto3" json:"organizational_unit,omitempty"`
	// The subject_alternative_name in the certificate.
	// Optional, default is empty.
	SubjectAlternativeName string `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CertificateFilterSpec) Descriptor deprecated

func (*CertificateFilterSpec) Descriptor() ([]byte, []int)

Deprecated: Use CertificateFilterSpec.ProtoReflect.Descriptor instead.

func (*CertificateFilterSpec) Equal

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

Equal returns whether two CertificateFilterSpec 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 (*CertificateFilterSpec) GetCommonName

func (x *CertificateFilterSpec) GetCommonName() string

func (*CertificateFilterSpec) GetOrganization

func (x *CertificateFilterSpec) GetOrganization() string

func (*CertificateFilterSpec) GetOrganizationalUnit

func (x *CertificateFilterSpec) GetOrganizationalUnit() string

func (*CertificateFilterSpec) GetSubjectAlternativeName

func (x *CertificateFilterSpec) GetSubjectAlternativeName() string

func (*CertificateFilterSpec) Marshal

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

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

func (*CertificateFilterSpec) ProtoMessage

func (*CertificateFilterSpec) ProtoMessage()

func (*CertificateFilterSpec) ProtoReflect

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

func (*CertificateFilterSpec) Reset

func (x *CertificateFilterSpec) Reset()

func (*CertificateFilterSpec) Size

func (val *CertificateFilterSpec) Size() int

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

func (*CertificateFilterSpec) String

func (x *CertificateFilterSpec) String() string

func (*CertificateFilterSpec) Unmarshal

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

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

type CodecServerSpec

type CodecServerSpec struct {

	// The codec server endpoint.
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// Whether to pass the user access token with your endpoint.
	PassAccessToken bool `protobuf:"varint,2,opt,name=pass_access_token,json=passAccessToken,proto3" json:"pass_access_token,omitempty"`
	// Whether to include cross-origin credentials.
	IncludeCrossOriginCredentials bool `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CodecServerSpec) Descriptor deprecated

func (*CodecServerSpec) Descriptor() ([]byte, []int)

Deprecated: Use CodecServerSpec.ProtoReflect.Descriptor instead.

func (*CodecServerSpec) Equal

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

Equal returns whether two CodecServerSpec 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 (*CodecServerSpec) GetEndpoint

func (x *CodecServerSpec) GetEndpoint() string

func (*CodecServerSpec) GetIncludeCrossOriginCredentials

func (x *CodecServerSpec) GetIncludeCrossOriginCredentials() bool

func (*CodecServerSpec) GetPassAccessToken

func (x *CodecServerSpec) GetPassAccessToken() bool

func (*CodecServerSpec) Marshal

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

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

func (*CodecServerSpec) ProtoMessage

func (*CodecServerSpec) ProtoMessage()

func (*CodecServerSpec) ProtoReflect

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

func (*CodecServerSpec) Reset

func (x *CodecServerSpec) Reset()

func (*CodecServerSpec) Size

func (val *CodecServerSpec) Size() int

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

func (*CodecServerSpec) String

func (x *CodecServerSpec) String() string

func (*CodecServerSpec) Unmarshal

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

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

type Endpoints

type Endpoints struct {

	// The web UI address.
	WebAddress string `protobuf:"bytes,1,opt,name=web_address,json=webAddress,proto3" json:"web_address,omitempty"`
	// The gRPC address for mTLS client connections (may be empty if mTLS is disabled).
	MtlsGrpcAddress string `protobuf:"bytes,2,opt,name=mtls_grpc_address,json=mtlsGrpcAddress,proto3" json:"mtls_grpc_address,omitempty"`
	// The gRPC address for API key client connections (may be empty if API keys are disabled).
	GrpcAddress string `protobuf:"bytes,3,opt,name=grpc_address,json=grpcAddress,proto3" json:"grpc_address,omitempty"`
	// contains filtered or unexported fields
}

func (*Endpoints) Descriptor deprecated

func (*Endpoints) Descriptor() ([]byte, []int)

Deprecated: Use Endpoints.ProtoReflect.Descriptor instead.

func (*Endpoints) Equal

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

Equal returns whether two Endpoints 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 (*Endpoints) GetGrpcAddress

func (x *Endpoints) GetGrpcAddress() string

func (*Endpoints) GetMtlsGrpcAddress added in v1.35.0

func (x *Endpoints) GetMtlsGrpcAddress() string

func (*Endpoints) GetWebAddress

func (x *Endpoints) GetWebAddress() string

func (*Endpoints) Marshal

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

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

func (*Endpoints) ProtoMessage

func (*Endpoints) ProtoMessage()

func (*Endpoints) ProtoReflect

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

func (*Endpoints) Reset

func (x *Endpoints) Reset()

func (*Endpoints) Size

func (val *Endpoints) Size() int

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

func (*Endpoints) String

func (x *Endpoints) String() string

func (*Endpoints) Unmarshal

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

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

type ExportSink added in v1.42.0

type ExportSink struct {

	// The unique name of the export sink.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The version of the export sink resource.
	ResourceVersion string `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"`
	// The current state of the export sink.
	State v1.ResourceState `protobuf:"varint,3,opt,name=state,proto3,enum=temporal.api.cloud.resource.v1.ResourceState" json:"state,omitempty"`
	// The specification details of the export sink.
	Spec *ExportSinkSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
	// The health status of the export sink.
	Health ExportSink_Health `protobuf:"varint,5,opt,name=health,proto3,enum=temporal.api.cloud.namespace.v1.ExportSink_Health" json:"health,omitempty"`
	// An error message describing any issues with the export sink, if applicable.
	ErrorMessage string `protobuf:"bytes,6,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// The timestamp of the latest successful data export.
	LatestDataExportTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=latest_data_export_time,json=latestDataExportTime,proto3" json:"latest_data_export_time,omitempty"`
	// The timestamp of the last health check performed on the export sink.
	LastHealthCheckTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=last_health_check_time,json=lastHealthCheckTime,proto3" json:"last_health_check_time,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportSink) Descriptor deprecated added in v1.42.0

func (*ExportSink) Descriptor() ([]byte, []int)

Deprecated: Use ExportSink.ProtoReflect.Descriptor instead.

func (*ExportSink) Equal added in v1.42.0

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

Equal returns whether two ExportSink 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 (*ExportSink) GetErrorMessage added in v1.42.0

func (x *ExportSink) GetErrorMessage() string

func (*ExportSink) GetHealth added in v1.42.0

func (x *ExportSink) GetHealth() ExportSink_Health

func (*ExportSink) GetLastHealthCheckTime added in v1.42.0

func (x *ExportSink) GetLastHealthCheckTime() *timestamppb.Timestamp

func (*ExportSink) GetLatestDataExportTime added in v1.42.0

func (x *ExportSink) GetLatestDataExportTime() *timestamppb.Timestamp

func (*ExportSink) GetName added in v1.42.0

func (x *ExportSink) GetName() string

func (*ExportSink) GetResourceVersion added in v1.42.0

func (x *ExportSink) GetResourceVersion() string

func (*ExportSink) GetSpec added in v1.42.0

func (x *ExportSink) GetSpec() *ExportSinkSpec

func (*ExportSink) GetState added in v1.42.0

func (x *ExportSink) GetState() v1.ResourceState

func (*ExportSink) Marshal added in v1.42.0

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

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

func (*ExportSink) ProtoMessage added in v1.42.0

func (*ExportSink) ProtoMessage()

func (*ExportSink) ProtoReflect added in v1.42.0

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

func (*ExportSink) Reset added in v1.42.0

func (x *ExportSink) Reset()

func (*ExportSink) Size added in v1.42.0

func (val *ExportSink) Size() int

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

func (*ExportSink) String added in v1.42.0

func (x *ExportSink) String() string

func (*ExportSink) Unmarshal added in v1.42.0

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

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

type ExportSinkSpec added in v1.42.0

type ExportSinkSpec struct {

	// The unique name of the export sink, it can't be changed once set.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A flag indicating whether the export sink is enabled or not.
	Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The S3 configuration details when destination_type is S3.
	S3 *v11.S3Spec `protobuf:"bytes,3,opt,name=s3,proto3" json:"s3,omitempty"`
	// This is a feature under development. We will allow GCS sink support for GCP Namespaces.
	// The GCS configuration details when destination_type is GCS.
	Gcs *v11.GCSSpec `protobuf:"bytes,4,opt,name=gcs,proto3" json:"gcs,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportSinkSpec) Descriptor deprecated added in v1.42.0

func (*ExportSinkSpec) Descriptor() ([]byte, []int)

Deprecated: Use ExportSinkSpec.ProtoReflect.Descriptor instead.

func (*ExportSinkSpec) Equal added in v1.42.0

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

Equal returns whether two ExportSinkSpec 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 (*ExportSinkSpec) GetEnabled added in v1.42.0

func (x *ExportSinkSpec) GetEnabled() bool

func (*ExportSinkSpec) GetGcs added in v1.42.0

func (x *ExportSinkSpec) GetGcs() *v11.GCSSpec

func (*ExportSinkSpec) GetName added in v1.42.0

func (x *ExportSinkSpec) GetName() string

func (*ExportSinkSpec) GetS3 added in v1.42.0

func (x *ExportSinkSpec) GetS3() *v11.S3Spec

func (*ExportSinkSpec) Marshal added in v1.42.0

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

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

func (*ExportSinkSpec) ProtoMessage added in v1.42.0

func (*ExportSinkSpec) ProtoMessage()

func (*ExportSinkSpec) ProtoReflect added in v1.42.0

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

func (*ExportSinkSpec) Reset added in v1.42.0

func (x *ExportSinkSpec) Reset()

func (*ExportSinkSpec) Size added in v1.42.0

func (val *ExportSinkSpec) Size() int

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

func (*ExportSinkSpec) String added in v1.42.0

func (x *ExportSinkSpec) String() string

func (*ExportSinkSpec) Unmarshal added in v1.42.0

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

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

type ExportSink_Health added in v1.42.0

type ExportSink_Health int32
const (
	ExportSink_HEALTH_UNSPECIFIED              ExportSink_Health = 0
	ExportSink_HEALTH_OK                       ExportSink_Health = 1
	ExportSink_HEALTH_ERROR_INTERNAL           ExportSink_Health = 2
	ExportSink_HEALTH_ERROR_USER_CONFIGURATION ExportSink_Health = 3
)

func (ExportSink_Health) Descriptor added in v1.42.0

func (ExportSink_Health) Enum added in v1.42.0

func (ExportSink_Health) EnumDescriptor deprecated added in v1.42.0

func (ExportSink_Health) EnumDescriptor() ([]byte, []int)

Deprecated: Use ExportSink_Health.Descriptor instead.

func (ExportSink_Health) Number added in v1.42.0

func (ExportSink_Health) String added in v1.42.0

func (x ExportSink_Health) String() string

func (ExportSink_Health) Type added in v1.42.0

type Limits

type Limits struct {

	// The number of actions per second (APS) that is currently allowed for the namespace.
	// The namespace may be throttled if its APS exceeds the limit.
	ActionsPerSecondLimit int32 `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Limits) Descriptor deprecated

func (*Limits) Descriptor() ([]byte, []int)

Deprecated: Use Limits.ProtoReflect.Descriptor instead.

func (*Limits) Equal

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

Equal returns whether two Limits 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 (*Limits) GetActionsPerSecondLimit

func (x *Limits) GetActionsPerSecondLimit() int32

func (*Limits) Marshal

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

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

func (*Limits) ProtoMessage

func (*Limits) ProtoMessage()

func (*Limits) ProtoReflect

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

func (*Limits) Reset

func (x *Limits) Reset()

func (*Limits) Size

func (val *Limits) Size() int

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

func (*Limits) String

func (x *Limits) String() string

func (*Limits) Unmarshal

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

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

type MtlsAuthSpec

type MtlsAuthSpec struct {

	// The base64 encoded ca cert(s) in PEM format that the clients can use for authentication and authorization.
	// This must only be one value, but the CA can have a chain.
	//
	// (-- api-linter: core::0140::base64=disabled --)
	// Deprecated: Not supported after 2024-05-13-00 api version. Use accepted_client_ca instead.
	// temporal:versioning:max_version=2024-05-13-00
	AcceptedClientCaDeprecated string `` /* 143-byte string literal not displayed */
	// The ca cert(s) in PEM format that the clients can use for authentication and authorization.
	// This must only be one value, but the CA can have a chain.
	// temporal:versioning:min_version=2024-05-13-00
	AcceptedClientCa []byte `protobuf:"bytes,4,opt,name=accepted_client_ca,json=acceptedClientCa,proto3" json:"accepted_client_ca,omitempty"`
	// Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.
	// This allows limiting access to specific end-entity certificates.
	// Optional, default is empty.
	CertificateFilters []*CertificateFilterSpec `protobuf:"bytes,2,rep,name=certificate_filters,json=certificateFilters,proto3" json:"certificate_filters,omitempty"`
	// Flag to enable mTLS auth (default: disabled).
	// Note: disabling mTLS auth will cause existing mTLS connections to fail.
	// temporal:versioning:min_version=2024-05-13-00
	Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*MtlsAuthSpec) Descriptor deprecated

func (*MtlsAuthSpec) Descriptor() ([]byte, []int)

Deprecated: Use MtlsAuthSpec.ProtoReflect.Descriptor instead.

func (*MtlsAuthSpec) Equal

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

Equal returns whether two MtlsAuthSpec 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 (*MtlsAuthSpec) GetAcceptedClientCa

func (x *MtlsAuthSpec) GetAcceptedClientCa() []byte

func (*MtlsAuthSpec) GetAcceptedClientCaDeprecated added in v1.40.0

func (x *MtlsAuthSpec) GetAcceptedClientCaDeprecated() string

func (*MtlsAuthSpec) GetCertificateFilters

func (x *MtlsAuthSpec) GetCertificateFilters() []*CertificateFilterSpec

func (*MtlsAuthSpec) GetEnabled added in v1.35.0

func (x *MtlsAuthSpec) GetEnabled() bool

func (*MtlsAuthSpec) Marshal

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

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

func (*MtlsAuthSpec) ProtoMessage

func (*MtlsAuthSpec) ProtoMessage()

func (*MtlsAuthSpec) ProtoReflect

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

func (*MtlsAuthSpec) Reset

func (x *MtlsAuthSpec) Reset()

func (*MtlsAuthSpec) Size

func (val *MtlsAuthSpec) Size() int

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

func (*MtlsAuthSpec) String

func (x *MtlsAuthSpec) String() string

func (*MtlsAuthSpec) Unmarshal

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

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

type Namespace

type Namespace struct {

	// The namespace identifier.
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// The current version of the namespace specification.
	// The next update operation will have to include this version.
	ResourceVersion string `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"`
	// The namespace specification.
	Spec *NamespaceSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
	// The current state of the namespace.
	// Deprecated: Not supported after 2024-10-01-00 api version. Use state instead.
	// temporal:versioning:max_version=2024-10-01-00
	//
	// Deprecated: Marked as deprecated in temporal/api/cloud/namespace/v1/message.proto.
	StateDeprecated string `protobuf:"bytes,4,opt,name=state_deprecated,json=stateDeprecated,proto3" json:"state_deprecated,omitempty"`
	// The current state of the namespace.
	// For any failed state, reach out to Temporal Cloud support for remediation.
	// temporal:versioning:min_version=2024-10-01-00
	// temporal:enums:replaces=state_deprecated
	State v1.ResourceState `protobuf:"varint,13,opt,name=state,proto3,enum=temporal.api.cloud.resource.v1.ResourceState" json:"state,omitempty"`
	// The id of the async operation that is creating/updating/deleting the namespace, if any.
	AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"`
	// The endpoints for the namespace.
	Endpoints *Endpoints `protobuf:"bytes,6,opt,name=endpoints,proto3" json:"endpoints,omitempty"`
	// The currently active region for the namespace.
	ActiveRegion string `protobuf:"bytes,7,opt,name=active_region,json=activeRegion,proto3" json:"active_region,omitempty"`
	// The limits set on the namespace currently.
	Limits *Limits `protobuf:"bytes,8,opt,name=limits,proto3" json:"limits,omitempty"`
	// The private connectivities for the namespace, if any.
	PrivateConnectivities []*PrivateConnectivity `protobuf:"bytes,9,rep,name=private_connectivities,json=privateConnectivities,proto3" json:"private_connectivities,omitempty"`
	// The date and time when the namespace was created.
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	// The date and time when the namespace was last modified.
	// Will not be set if the namespace has never been modified.
	LastModifiedTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"`
	// The status of each region where the namespace is available.
	// The id of the region is the key and the status is the value of the map.
	RegionStatus map[string]*NamespaceRegionStatus `` /* 172-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Namespace) Descriptor deprecated

func (*Namespace) Descriptor() ([]byte, []int)

Deprecated: Use Namespace.ProtoReflect.Descriptor instead.

func (*Namespace) Equal

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

Equal returns whether two Namespace 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 (*Namespace) GetActiveRegion

func (x *Namespace) GetActiveRegion() string

func (*Namespace) GetAsyncOperationId

func (x *Namespace) GetAsyncOperationId() string

func (*Namespace) GetCreatedTime

func (x *Namespace) GetCreatedTime() *timestamppb.Timestamp

func (*Namespace) GetEndpoints

func (x *Namespace) GetEndpoints() *Endpoints

func (*Namespace) GetLastModifiedTime

func (x *Namespace) GetLastModifiedTime() *timestamppb.Timestamp

func (*Namespace) GetLimits

func (x *Namespace) GetLimits() *Limits

func (*Namespace) GetNamespace

func (x *Namespace) GetNamespace() string

func (*Namespace) GetPrivateConnectivities

func (x *Namespace) GetPrivateConnectivities() []*PrivateConnectivity

func (*Namespace) GetRegionStatus added in v1.35.0

func (x *Namespace) GetRegionStatus() map[string]*NamespaceRegionStatus

func (*Namespace) GetResourceVersion

func (x *Namespace) GetResourceVersion() string

func (*Namespace) GetSpec

func (x *Namespace) GetSpec() *NamespaceSpec

func (*Namespace) GetState

func (x *Namespace) GetState() v1.ResourceState

func (*Namespace) GetStateDeprecated deprecated added in v1.40.0

func (x *Namespace) GetStateDeprecated() string

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

func (*Namespace) Marshal

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

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

func (*Namespace) ProtoMessage

func (*Namespace) ProtoMessage()

func (*Namespace) ProtoReflect

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

func (*Namespace) Reset

func (x *Namespace) Reset()

func (*Namespace) Size

func (val *Namespace) Size() int

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

func (*Namespace) String

func (x *Namespace) String() string

func (*Namespace) Unmarshal

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

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

type NamespaceRegionStatus added in v1.35.0

type NamespaceRegionStatus struct {

	// The current state of the namespace region.
	// Possible values: adding, active, passive, removing, failed.
	// For any failed state, reach out to Temporal Cloud support for remediation.
	// Deprecated: Not supported after 2024-10-01-00 api version. Use state instead.
	// temporal:versioning:max_version=2024-10-01-00
	//
	// Deprecated: Marked as deprecated in temporal/api/cloud/namespace/v1/message.proto.
	StateDeprecated string `protobuf:"bytes,1,opt,name=state_deprecated,json=stateDeprecated,proto3" json:"state_deprecated,omitempty"`
	// The current state of the namespace region.
	// temporal:versioning:min_version=2024-10-01-00
	// temporal:enums:replaces=state_deprecated
	State NamespaceRegionStatus_State `` /* 129-byte string literal not displayed */
	// The id of the async operation that is making changes to where the namespace is available, if any.
	AsyncOperationId string `protobuf:"bytes,2,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"`
	// contains filtered or unexported fields
}

func (*NamespaceRegionStatus) Descriptor deprecated added in v1.35.0

func (*NamespaceRegionStatus) Descriptor() ([]byte, []int)

Deprecated: Use NamespaceRegionStatus.ProtoReflect.Descriptor instead.

func (*NamespaceRegionStatus) Equal added in v1.35.0

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

Equal returns whether two NamespaceRegionStatus 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 (*NamespaceRegionStatus) GetAsyncOperationId added in v1.35.0

func (x *NamespaceRegionStatus) GetAsyncOperationId() string

func (*NamespaceRegionStatus) GetState added in v1.35.0

func (*NamespaceRegionStatus) GetStateDeprecated deprecated added in v1.40.0

func (x *NamespaceRegionStatus) GetStateDeprecated() string

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

func (*NamespaceRegionStatus) Marshal added in v1.35.0

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

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

func (*NamespaceRegionStatus) ProtoMessage added in v1.35.0

func (*NamespaceRegionStatus) ProtoMessage()

func (*NamespaceRegionStatus) ProtoReflect added in v1.35.0

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

func (*NamespaceRegionStatus) Reset added in v1.35.0

func (x *NamespaceRegionStatus) Reset()

func (*NamespaceRegionStatus) Size added in v1.35.0

func (val *NamespaceRegionStatus) Size() int

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

func (*NamespaceRegionStatus) String added in v1.35.0

func (x *NamespaceRegionStatus) String() string

func (*NamespaceRegionStatus) Unmarshal added in v1.35.0

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

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

type NamespaceRegionStatus_State added in v1.40.0

type NamespaceRegionStatus_State int32
const (
	NamespaceRegionStatus_STATE_UNSPECIFIED NamespaceRegionStatus_State = 0
	NamespaceRegionStatus_STATE_ADDING      NamespaceRegionStatus_State = 1
	NamespaceRegionStatus_STATE_ACTIVE      NamespaceRegionStatus_State = 2
	NamespaceRegionStatus_STATE_PASSIVE     NamespaceRegionStatus_State = 3
	NamespaceRegionStatus_STATE_REMOVING    NamespaceRegionStatus_State = 4
	NamespaceRegionStatus_STATE_FAILED      NamespaceRegionStatus_State = 5 // The region failed to be added/removed, check failure_reason in the last async_operation status for more details.
)

func (NamespaceRegionStatus_State) Descriptor added in v1.40.0

func (NamespaceRegionStatus_State) Enum added in v1.40.0

func (NamespaceRegionStatus_State) EnumDescriptor added in v1.40.0

func (NamespaceRegionStatus_State) EnumDescriptor() ([]byte, []int)

func (NamespaceRegionStatus_State) Number added in v1.40.0

func (NamespaceRegionStatus_State) String added in v1.40.0

func (NamespaceRegionStatus_State) Type added in v1.40.0

type NamespaceSpec

type NamespaceSpec struct {

	// The name to use for the namespace.
	// This will create a namespace that's available at '<name>.<account>.tmprl.cloud:7233'.
	// The name is immutable. Once set, it cannot be changed.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The ids of the regions where the namespace should be available.
	// The GetRegions API can be used to get the list of valid region ids.
	// Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access.
	// Please reach out to Temporal support for more information on global namespaces.
	// When provisioned the global namespace will be active on the first region in the list and passive on the rest.
	// Number of supported regions is 2.
	// The regions is immutable. Once set, it cannot be changed.
	// Example: ["aws-us-west-2"].
	Regions []string `protobuf:"bytes,2,rep,name=regions,proto3" json:"regions,omitempty"`
	// The number of days the workflows data will be retained for.
	// Changes to the retention period may impact your storage costs.
	// Any changes to the retention period will be applied to all new running workflows.
	RetentionDays int32 `protobuf:"varint,3,opt,name=retention_days,json=retentionDays,proto3" json:"retention_days,omitempty"`
	// The mTLS auth configuration for the namespace.
	// If unspecified, mTLS will be disabled.
	MtlsAuth *MtlsAuthSpec `protobuf:"bytes,4,opt,name=mtls_auth,json=mtlsAuth,proto3" json:"mtls_auth,omitempty"`
	// The API key auth configuration for the namespace.
	// If unspecified, API keys will be disabled.
	// temporal:versioning:min_version=2024-05-13-00
	ApiKeyAuth *ApiKeyAuthSpec `protobuf:"bytes,7,opt,name=api_key_auth,json=apiKeyAuth,proto3" json:"api_key_auth,omitempty"`
	// The custom search attributes to use for the namespace.
	// The name of the attribute is the key and the type is the value.
	// Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list.
	// NOTE: currently deleting a search attribute is not supported.
	// Optional, default is empty.
	// Deprecated: Not supported after 2024-10-01-00 api version. Use search_attributes instead.
	// temporal:versioning:max_version=2024-10-01-00
	//
	// Deprecated: Marked as deprecated in temporal/api/cloud/namespace/v1/message.proto.
	CustomSearchAttributes map[string]string `` /* 203-byte string literal not displayed */
	// The custom search attributes to use for the namespace.
	// The name of the attribute is the key and the type is the value.
	// Note: currently deleting a search attribute is not supported.
	// Optional, default is empty.
	// temporal:versioning:min_version=2024-10-01-00
	// temporal:enums:replaces=custom_search_attributes
	SearchAttributes map[string]NamespaceSpec_SearchAttributeType `` /* 255-byte string literal not displayed */
	// Codec server spec used by UI to decode payloads for all users interacting with this namespace.
	// Optional, default is unset.
	CodecServer *CodecServerSpec `protobuf:"bytes,6,opt,name=codec_server,json=codecServer,proto3" json:"codec_server,omitempty"`
	// contains filtered or unexported fields
}

func (*NamespaceSpec) Descriptor deprecated

func (*NamespaceSpec) Descriptor() ([]byte, []int)

Deprecated: Use NamespaceSpec.ProtoReflect.Descriptor instead.

func (*NamespaceSpec) Equal

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

Equal returns whether two NamespaceSpec 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 (*NamespaceSpec) GetApiKeyAuth added in v1.35.0

func (x *NamespaceSpec) GetApiKeyAuth() *ApiKeyAuthSpec

func (*NamespaceSpec) GetCodecServer

func (x *NamespaceSpec) GetCodecServer() *CodecServerSpec

func (*NamespaceSpec) GetCustomSearchAttributes deprecated

func (x *NamespaceSpec) GetCustomSearchAttributes() map[string]string

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

func (*NamespaceSpec) GetMtlsAuth

func (x *NamespaceSpec) GetMtlsAuth() *MtlsAuthSpec

func (*NamespaceSpec) GetName

func (x *NamespaceSpec) GetName() string

func (*NamespaceSpec) GetRegions

func (x *NamespaceSpec) GetRegions() []string

func (*NamespaceSpec) GetRetentionDays

func (x *NamespaceSpec) GetRetentionDays() int32

func (*NamespaceSpec) GetSearchAttributes added in v1.40.0

func (x *NamespaceSpec) GetSearchAttributes() map[string]NamespaceSpec_SearchAttributeType

func (*NamespaceSpec) Marshal

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

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

func (*NamespaceSpec) ProtoMessage

func (*NamespaceSpec) ProtoMessage()

func (*NamespaceSpec) ProtoReflect

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

func (*NamespaceSpec) Reset

func (x *NamespaceSpec) Reset()

func (*NamespaceSpec) Size

func (val *NamespaceSpec) Size() int

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

func (*NamespaceSpec) String

func (x *NamespaceSpec) String() string

func (*NamespaceSpec) Unmarshal

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

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

type NamespaceSpec_SearchAttributeType added in v1.40.0

type NamespaceSpec_SearchAttributeType int32
const (
	NamespaceSpec_SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED  NamespaceSpec_SearchAttributeType = 0
	NamespaceSpec_SEARCH_ATTRIBUTE_TYPE_TEXT         NamespaceSpec_SearchAttributeType = 1
	NamespaceSpec_SEARCH_ATTRIBUTE_TYPE_KEYWORD      NamespaceSpec_SearchAttributeType = 2
	NamespaceSpec_SEARCH_ATTRIBUTE_TYPE_INT          NamespaceSpec_SearchAttributeType = 3
	NamespaceSpec_SEARCH_ATTRIBUTE_TYPE_DOUBLE       NamespaceSpec_SearchAttributeType = 4
	NamespaceSpec_SEARCH_ATTRIBUTE_TYPE_BOOL         NamespaceSpec_SearchAttributeType = 5
	NamespaceSpec_SEARCH_ATTRIBUTE_TYPE_DATETIME     NamespaceSpec_SearchAttributeType = 6
	NamespaceSpec_SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST NamespaceSpec_SearchAttributeType = 7
)

func (NamespaceSpec_SearchAttributeType) Descriptor added in v1.40.0

func (NamespaceSpec_SearchAttributeType) Enum added in v1.40.0

func (NamespaceSpec_SearchAttributeType) EnumDescriptor added in v1.40.0

func (NamespaceSpec_SearchAttributeType) EnumDescriptor() ([]byte, []int)

func (NamespaceSpec_SearchAttributeType) Number added in v1.40.0

func (NamespaceSpec_SearchAttributeType) String added in v1.40.0

func (NamespaceSpec_SearchAttributeType) Type added in v1.40.0

type PrivateConnectivity

type PrivateConnectivity struct {

	// The id of the region where the private connectivity applies.
	Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
	// The AWS PrivateLink info.
	// This will only be set for an aws region.
	AwsPrivateLink *AWSPrivateLinkInfo `protobuf:"bytes,2,opt,name=aws_private_link,json=awsPrivateLink,proto3" json:"aws_private_link,omitempty"`
	// contains filtered or unexported fields
}

func (*PrivateConnectivity) Descriptor deprecated

func (*PrivateConnectivity) Descriptor() ([]byte, []int)

Deprecated: Use PrivateConnectivity.ProtoReflect.Descriptor instead.

func (*PrivateConnectivity) Equal

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

Equal returns whether two PrivateConnectivity 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 (x *PrivateConnectivity) GetAwsPrivateLink() *AWSPrivateLinkInfo

func (*PrivateConnectivity) GetRegion

func (x *PrivateConnectivity) GetRegion() string

func (*PrivateConnectivity) Marshal

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

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

func (*PrivateConnectivity) ProtoMessage

func (*PrivateConnectivity) ProtoMessage()

func (*PrivateConnectivity) ProtoReflect

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

func (*PrivateConnectivity) Reset

func (x *PrivateConnectivity) Reset()

func (*PrivateConnectivity) Size

func (val *PrivateConnectivity) Size() int

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

func (*PrivateConnectivity) String

func (x *PrivateConnectivity) String() string

func (*PrivateConnectivity) Unmarshal

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

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

Jump to

Keyboard shortcuts

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