common

package
v0.0.0-...-c85e528 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BillingCycle_name = map[int32]string{
		0: "NONE_BILLING",
		1: "MONTHLY_BILLING",
		2: "QUARTERLY_BILLING",
		3: "ANNUALLY_BILLING",
	}
	BillingCycle_value = map[string]int32{
		"NONE_BILLING":      0,
		"MONTHLY_BILLING":   1,
		"QUARTERLY_BILLING": 2,
		"ANNUALLY_BILLING":  3,
	}
)

Enum value maps for BillingCycle.

View Source
var (
	BilledType_name = map[int32]string{
		0: "NONE_BILLED",
		1: "MONTHLY_BILLED",
		2: "ANNUALLY_BILLED",
		3: "ONCE_BILLED",
		4: "USAGE_BILLED",
		5: "QUARTERLY_BILLED",
	}
	BilledType_value = map[string]int32{
		"NONE_BILLED":      0,
		"MONTHLY_BILLED":   1,
		"ANNUALLY_BILLED":  2,
		"ONCE_BILLED":      3,
		"USAGE_BILLED":     4,
		"QUARTERLY_BILLED": 5,
	}
)

Enum value maps for BilledType.

View Source
var File_common_billing_cycle_proto protoreflect.FileDescriptor
View Source
var File_common_billing_type_proto protoreflect.FileDescriptor
View Source
var File_common_common_proto protoreflect.FileDescriptor
View Source
var File_common_external_system_proto protoreflect.FileDescriptor
View Source
var File_common_source_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BilledType

type BilledType int32
const (
	BilledType_NONE_BILLED      BilledType = 0
	BilledType_MONTHLY_BILLED   BilledType = 1
	BilledType_ANNUALLY_BILLED  BilledType = 2
	BilledType_ONCE_BILLED      BilledType = 3 // For One-Time
	BilledType_USAGE_BILLED     BilledType = 4 // For Usage
	BilledType_QUARTERLY_BILLED BilledType = 5
)

func (BilledType) Descriptor

func (BilledType) Descriptor() protoreflect.EnumDescriptor

func (BilledType) Enum

func (x BilledType) Enum() *BilledType

func (BilledType) EnumDescriptor deprecated

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

Deprecated: Use BilledType.Descriptor instead.

func (BilledType) Number

func (x BilledType) Number() protoreflect.EnumNumber

func (BilledType) String

func (x BilledType) String() string

func (BilledType) Type

type BillingCycle

type BillingCycle int32

Enum for BillingCycle

const (
	BillingCycle_NONE_BILLING      BillingCycle = 0
	BillingCycle_MONTHLY_BILLING   BillingCycle = 1
	BillingCycle_QUARTERLY_BILLING BillingCycle = 2
	BillingCycle_ANNUALLY_BILLING  BillingCycle = 3
)

func (BillingCycle) Descriptor

func (BillingCycle) Enum

func (x BillingCycle) Enum() *BillingCycle

func (BillingCycle) EnumDescriptor deprecated

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

Deprecated: Use BillingCycle.Descriptor instead.

func (BillingCycle) Number

func (BillingCycle) String

func (x BillingCycle) String() string

func (BillingCycle) Type

type ErrorStatus

type ErrorStatus struct {
	Code    int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ErrorStatus) Descriptor deprecated

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

Deprecated: Use ErrorStatus.ProtoReflect.Descriptor instead.

func (*ErrorStatus) GetCode

func (x *ErrorStatus) GetCode() int32

func (*ErrorStatus) GetMessage

func (x *ErrorStatus) GetMessage() string

func (*ErrorStatus) ProtoMessage

func (*ErrorStatus) ProtoMessage()

func (*ErrorStatus) ProtoReflect

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

func (*ErrorStatus) Reset

func (x *ErrorStatus) Reset()

func (*ErrorStatus) String

func (x *ErrorStatus) String() string

type ExternalSystemFields

type ExternalSystemFields struct {
	ExternalSystemId string                 `protobuf:"bytes,1,opt,name=externalSystemId,proto3" json:"externalSystemId,omitempty"`
	ExternalUrl      string                 `protobuf:"bytes,2,opt,name=externalUrl,proto3" json:"externalUrl,omitempty"`
	ExternalId       string                 `protobuf:"bytes,3,opt,name=externalId,proto3" json:"externalId,omitempty"`
	ExternalSource   string                 `protobuf:"bytes,4,opt,name=externalSource,proto3" json:"externalSource,omitempty"`
	SyncDate         *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=syncDate,proto3" json:"syncDate,omitempty"`
	ExternalIdSecond string                 `protobuf:"bytes,6,opt,name=externalIdSecond,proto3" json:"externalIdSecond,omitempty"`
	// contains filtered or unexported fields
}

func (*ExternalSystemFields) Descriptor deprecated

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

Deprecated: Use ExternalSystemFields.ProtoReflect.Descriptor instead.

func (*ExternalSystemFields) GetExternalId

func (x *ExternalSystemFields) GetExternalId() string

func (*ExternalSystemFields) GetExternalIdSecond

func (x *ExternalSystemFields) GetExternalIdSecond() string

func (*ExternalSystemFields) GetExternalSource

func (x *ExternalSystemFields) GetExternalSource() string

func (*ExternalSystemFields) GetExternalSystemId

func (x *ExternalSystemFields) GetExternalSystemId() string

func (*ExternalSystemFields) GetExternalUrl

func (x *ExternalSystemFields) GetExternalUrl() string

func (*ExternalSystemFields) GetSyncDate

func (x *ExternalSystemFields) GetSyncDate() *timestamppb.Timestamp

func (*ExternalSystemFields) ProtoMessage

func (*ExternalSystemFields) ProtoMessage()

func (*ExternalSystemFields) ProtoReflect

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

func (*ExternalSystemFields) Reset

func (x *ExternalSystemFields) Reset()

func (*ExternalSystemFields) String

func (x *ExternalSystemFields) String() string

type IdResponse

type IdResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*IdResponse) Descriptor deprecated

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

Deprecated: Use IdResponse.ProtoReflect.Descriptor instead.

func (*IdResponse) GetId

func (x *IdResponse) GetId() string

func (*IdResponse) ProtoMessage

func (*IdResponse) ProtoMessage()

func (*IdResponse) ProtoReflect

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

func (*IdResponse) Reset

func (x *IdResponse) Reset()

func (*IdResponse) String

func (x *IdResponse) String() string

type SourceFields

type SourceFields struct {
	AppSource string `protobuf:"bytes,1,opt,name=appSource,proto3" json:"appSource,omitempty"`
	Source    string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	// Deprecated: Marked as deprecated in common/source.proto.
	SourceOfTruth string `protobuf:"bytes,3,opt,name=sourceOfTruth,proto3" json:"sourceOfTruth,omitempty"`
	// contains filtered or unexported fields
}

func (*SourceFields) Descriptor deprecated

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

Deprecated: Use SourceFields.ProtoReflect.Descriptor instead.

func (*SourceFields) GetAppSource

func (x *SourceFields) GetAppSource() string

func (*SourceFields) GetSource

func (x *SourceFields) GetSource() string

func (*SourceFields) GetSourceOfTruth deprecated

func (x *SourceFields) GetSourceOfTruth() string

Deprecated: Marked as deprecated in common/source.proto.

func (*SourceFields) ProtoMessage

func (*SourceFields) ProtoMessage()

func (*SourceFields) ProtoReflect

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

func (*SourceFields) Reset

func (x *SourceFields) Reset()

func (*SourceFields) String

func (x *SourceFields) String() string

Jump to

Keyboard shortcuts

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