account

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: 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 File_temporal_api_cloud_account_v1_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Account

type Account struct {

	// The id of the account.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The account specification.
	Spec *AccountSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
	// The current version of the account specification.
	// The next update operation will have to include this version.
	ResourceVersion string `protobuf:"bytes,3,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"`
	// The current state of the account.
	State v1.ResourceState `protobuf:"varint,4,opt,name=state,proto3,enum=temporal.api.cloud.resource.v1.ResourceState" json:"state,omitempty"`
	// The id of the async operation that is updating the account, if any.
	AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"`
	// Information related to metrics.
	Metrics *Metrics `protobuf:"bytes,6,opt,name=metrics,proto3" json:"metrics,omitempty"`
	// contains filtered or unexported fields
}

func (*Account) Descriptor deprecated

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

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) Equal

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

Equal returns whether two Account 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 (*Account) GetAsyncOperationId

func (x *Account) GetAsyncOperationId() string

func (*Account) GetId

func (x *Account) GetId() string

func (*Account) GetMetrics

func (x *Account) GetMetrics() *Metrics

func (*Account) GetResourceVersion

func (x *Account) GetResourceVersion() string

func (*Account) GetSpec

func (x *Account) GetSpec() *AccountSpec

func (*Account) GetState

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

func (*Account) Marshal

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

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

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

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

func (*Account) Reset

func (x *Account) Reset()

func (*Account) Size

func (val *Account) Size() int

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

func (*Account) String

func (x *Account) String() string

func (*Account) Unmarshal

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

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

type AccountSpec

type AccountSpec struct {

	// The metrics specification for this account.
	// If not specified, metrics will not be enabled.
	Metrics *MetricsSpec `protobuf:"bytes,1,opt,name=metrics,proto3" json:"metrics,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountSpec) Descriptor deprecated

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

Deprecated: Use AccountSpec.ProtoReflect.Descriptor instead.

func (*AccountSpec) Equal

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

Equal returns whether two AccountSpec 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 (*AccountSpec) GetMetrics

func (x *AccountSpec) GetMetrics() *MetricsSpec

func (*AccountSpec) Marshal

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

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

func (*AccountSpec) ProtoMessage

func (*AccountSpec) ProtoMessage()

func (*AccountSpec) ProtoReflect

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

func (*AccountSpec) Reset

func (x *AccountSpec) Reset()

func (*AccountSpec) Size

func (val *AccountSpec) Size() int

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

func (*AccountSpec) String

func (x *AccountSpec) String() string

func (*AccountSpec) Unmarshal

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

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

type Metrics

type Metrics struct {

	// The prometheus metrics endpoint uri.
	// This is only populated when the metrics is enabled in the metrics specification.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// contains filtered or unexported fields
}

func (*Metrics) Descriptor deprecated

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

Deprecated: Use Metrics.ProtoReflect.Descriptor instead.

func (*Metrics) Equal

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

Equal returns whether two Metrics 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 (*Metrics) GetUri

func (x *Metrics) GetUri() string

func (*Metrics) Marshal

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

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

func (*Metrics) ProtoMessage

func (*Metrics) ProtoMessage()

func (*Metrics) ProtoReflect

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

func (*Metrics) Reset

func (x *Metrics) Reset()

func (*Metrics) Size

func (val *Metrics) Size() int

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

func (*Metrics) String

func (x *Metrics) String() string

func (*Metrics) Unmarshal

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

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

type MetricsSpec

type MetricsSpec struct {

	// The ca cert(s) in PEM format that clients connecting to the metrics endpoint can use for authentication.
	// This must only be one value, but the CA can have a chain.
	AcceptedClientCa []byte `protobuf:"bytes,2,opt,name=accepted_client_ca,json=acceptedClientCa,proto3" json:"accepted_client_ca,omitempty"`
	// contains filtered or unexported fields
}

func (*MetricsSpec) Descriptor deprecated

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

Deprecated: Use MetricsSpec.ProtoReflect.Descriptor instead.

func (*MetricsSpec) Equal

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

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

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

func (*MetricsSpec) Marshal

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

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

func (*MetricsSpec) ProtoMessage

func (*MetricsSpec) ProtoMessage()

func (*MetricsSpec) ProtoReflect

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

func (*MetricsSpec) Reset

func (x *MetricsSpec) Reset()

func (*MetricsSpec) Size

func (val *MetricsSpec) Size() int

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

func (*MetricsSpec) String

func (x *MetricsSpec) String() string

func (*MetricsSpec) Unmarshal

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

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

Jump to

Keyboard shortcuts

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