pb

package
v2.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAPIServiceServer

func RegisterAPIServiceServer(s *grpc.Server, srv APIServiceServer)

Types

type APIServiceClient

APIServiceClient is the client API for APIService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAPIServiceClient

func NewAPIServiceClient(cc *grpc.ClientConn) APIServiceClient

type CheckHealthRequest

type CheckHealthRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CheckHealthRequest) Descriptor

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

func (*CheckHealthRequest) ProtoMessage

func (*CheckHealthRequest) ProtoMessage()

func (*CheckHealthRequest) Reset

func (m *CheckHealthRequest) Reset()

func (*CheckHealthRequest) String

func (m *CheckHealthRequest) String() string

func (*CheckHealthRequest) XXX_DiscardUnknown

func (m *CheckHealthRequest) XXX_DiscardUnknown()

func (*CheckHealthRequest) XXX_Marshal

func (m *CheckHealthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckHealthRequest) XXX_Merge

func (m *CheckHealthRequest) XXX_Merge(src proto.Message)

func (*CheckHealthRequest) XXX_Size

func (m *CheckHealthRequest) XXX_Size() int

func (*CheckHealthRequest) XXX_Unmarshal

func (m *CheckHealthRequest) XXX_Unmarshal(b []byte) error

type CheckHealthResponse

type CheckHealthResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CheckHealthResponse) Descriptor

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

func (*CheckHealthResponse) ProtoMessage

func (*CheckHealthResponse) ProtoMessage()

func (*CheckHealthResponse) Reset

func (m *CheckHealthResponse) Reset()

func (*CheckHealthResponse) String

func (m *CheckHealthResponse) String() string

func (*CheckHealthResponse) XXX_DiscardUnknown

func (m *CheckHealthResponse) XXX_DiscardUnknown()

func (*CheckHealthResponse) XXX_Marshal

func (m *CheckHealthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckHealthResponse) XXX_Merge

func (m *CheckHealthResponse) XXX_Merge(src proto.Message)

func (*CheckHealthResponse) XXX_Size

func (m *CheckHealthResponse) XXX_Size() int

func (*CheckHealthResponse) XXX_Unmarshal

func (m *CheckHealthResponse) XXX_Unmarshal(b []byte) error

type CreateCustomerRequest

type CreateCustomerRequest struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	ParentKey            string   `protobuf:"bytes,2,opt,name=parent_key,json=parentKey,proto3" json:"parent_key,omitempty"`
	Email                string   `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateCustomerRequest) Descriptor

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

func (*CreateCustomerRequest) GetEmail

func (m *CreateCustomerRequest) GetEmail() string

func (*CreateCustomerRequest) GetKey

func (m *CreateCustomerRequest) GetKey() string

func (*CreateCustomerRequest) GetParentKey

func (m *CreateCustomerRequest) GetParentKey() string

func (*CreateCustomerRequest) ProtoMessage

func (*CreateCustomerRequest) ProtoMessage()

func (*CreateCustomerRequest) Reset

func (m *CreateCustomerRequest) Reset()

func (*CreateCustomerRequest) String

func (m *CreateCustomerRequest) String() string

func (*CreateCustomerRequest) XXX_DiscardUnknown

func (m *CreateCustomerRequest) XXX_DiscardUnknown()

func (*CreateCustomerRequest) XXX_Marshal

func (m *CreateCustomerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateCustomerRequest) XXX_Merge

func (m *CreateCustomerRequest) XXX_Merge(src proto.Message)

func (*CreateCustomerRequest) XXX_Size

func (m *CreateCustomerRequest) XXX_Size() int

func (*CreateCustomerRequest) XXX_Unmarshal

func (m *CreateCustomerRequest) XXX_Unmarshal(b []byte) error

type CreateCustomerResponse

type CreateCustomerResponse struct {
	CustomerId           string   `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateCustomerResponse) Descriptor

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

func (*CreateCustomerResponse) GetCustomerId

func (m *CreateCustomerResponse) GetCustomerId() string

func (*CreateCustomerResponse) ProtoMessage

func (*CreateCustomerResponse) ProtoMessage()

func (*CreateCustomerResponse) Reset

func (m *CreateCustomerResponse) Reset()

func (*CreateCustomerResponse) String

func (m *CreateCustomerResponse) String() string

func (*CreateCustomerResponse) XXX_DiscardUnknown

func (m *CreateCustomerResponse) XXX_DiscardUnknown()

func (*CreateCustomerResponse) XXX_Marshal

func (m *CreateCustomerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateCustomerResponse) XXX_Merge

func (m *CreateCustomerResponse) XXX_Merge(src proto.Message)

func (*CreateCustomerResponse) XXX_Size

func (m *CreateCustomerResponse) XXX_Size() int

func (*CreateCustomerResponse) XXX_Unmarshal

func (m *CreateCustomerResponse) XXX_Unmarshal(b []byte) error

type DeleteCustomerRequest

type DeleteCustomerRequest struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteCustomerRequest) Descriptor

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

func (*DeleteCustomerRequest) GetKey

func (m *DeleteCustomerRequest) GetKey() string

func (*DeleteCustomerRequest) ProtoMessage

func (*DeleteCustomerRequest) ProtoMessage()

func (*DeleteCustomerRequest) Reset

func (m *DeleteCustomerRequest) Reset()

func (*DeleteCustomerRequest) String

func (m *DeleteCustomerRequest) String() string

func (*DeleteCustomerRequest) XXX_DiscardUnknown

func (m *DeleteCustomerRequest) XXX_DiscardUnknown()

func (*DeleteCustomerRequest) XXX_Marshal

func (m *DeleteCustomerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteCustomerRequest) XXX_Merge

func (m *DeleteCustomerRequest) XXX_Merge(src proto.Message)

func (*DeleteCustomerRequest) XXX_Size

func (m *DeleteCustomerRequest) XXX_Size() int

func (*DeleteCustomerRequest) XXX_Unmarshal

func (m *DeleteCustomerRequest) XXX_Unmarshal(b []byte) error

type DeleteCustomerResponse

type DeleteCustomerResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteCustomerResponse) Descriptor

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

func (*DeleteCustomerResponse) ProtoMessage

func (*DeleteCustomerResponse) ProtoMessage()

func (*DeleteCustomerResponse) Reset

func (m *DeleteCustomerResponse) Reset()

func (*DeleteCustomerResponse) String

func (m *DeleteCustomerResponse) String() string

func (*DeleteCustomerResponse) XXX_DiscardUnknown

func (m *DeleteCustomerResponse) XXX_DiscardUnknown()

func (*DeleteCustomerResponse) XXX_Marshal

func (m *DeleteCustomerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteCustomerResponse) XXX_Merge

func (m *DeleteCustomerResponse) XXX_Merge(src proto.Message)

func (*DeleteCustomerResponse) XXX_Size

func (m *DeleteCustomerResponse) XXX_Size() int

func (*DeleteCustomerResponse) XXX_Unmarshal

func (m *DeleteCustomerResponse) XXX_Unmarshal(b []byte) error

type GetCustomerRequest

type GetCustomerRequest struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetCustomerRequest) Descriptor

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

func (*GetCustomerRequest) GetKey

func (m *GetCustomerRequest) GetKey() string

func (*GetCustomerRequest) ProtoMessage

func (*GetCustomerRequest) ProtoMessage()

func (*GetCustomerRequest) Reset

func (m *GetCustomerRequest) Reset()

func (*GetCustomerRequest) String

func (m *GetCustomerRequest) String() string

func (*GetCustomerRequest) XXX_DiscardUnknown

func (m *GetCustomerRequest) XXX_DiscardUnknown()

func (*GetCustomerRequest) XXX_Marshal

func (m *GetCustomerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetCustomerRequest) XXX_Merge

func (m *GetCustomerRequest) XXX_Merge(src proto.Message)

func (*GetCustomerRequest) XXX_Size

func (m *GetCustomerRequest) XXX_Size() int

func (*GetCustomerRequest) XXX_Unmarshal

func (m *GetCustomerRequest) XXX_Unmarshal(b []byte) error

type GetCustomerResponse

type GetCustomerResponse struct {
	Key                  string            `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	CustomerId           string            `protobuf:"bytes,2,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	ParentKey            string            `protobuf:"bytes,3,opt,name=parent_key,json=parentKey,proto3" json:"parent_key,omitempty"`
	Email                string            `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	AccountStatus        string            `protobuf:"bytes,5,opt,name=account_status,json=accountStatus,proto3" json:"account_status,omitempty"`
	SubscriptionStatus   string            `protobuf:"bytes,6,opt,name=subscription_status,json=subscriptionStatus,proto3" json:"subscription_status,omitempty"`
	Balance              int64             `protobuf:"varint,7,opt,name=balance,proto3" json:"balance,omitempty"`
	Billable             bool              `protobuf:"varint,8,opt,name=billable,proto3" json:"billable,omitempty"`
	Delinquent           bool              `protobuf:"varint,9,opt,name=delinquent,proto3" json:"delinquent,omitempty"`
	CreatedAt            int64             `protobuf:"varint,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	GracePeriodEnd       int64             `protobuf:"varint,11,opt,name=grace_period_end,json=gracePeriodEnd,proto3" json:"grace_period_end,omitempty"`
	InvoicePeriod        *Period           `protobuf:"bytes,12,opt,name=invoice_period,json=invoicePeriod,proto3" json:"invoice_period,omitempty"`
	DailyUsage           map[string]*Usage `` /* 180-byte string literal not displayed */
	Dependents           int64             `protobuf:"varint,14,opt,name=dependents,proto3" json:"dependents,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*GetCustomerResponse) Descriptor

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

func (*GetCustomerResponse) GetAccountStatus

func (m *GetCustomerResponse) GetAccountStatus() string

func (*GetCustomerResponse) GetBalance

func (m *GetCustomerResponse) GetBalance() int64

func (*GetCustomerResponse) GetBillable

func (m *GetCustomerResponse) GetBillable() bool

func (*GetCustomerResponse) GetCreatedAt

func (m *GetCustomerResponse) GetCreatedAt() int64

func (*GetCustomerResponse) GetCustomerId

func (m *GetCustomerResponse) GetCustomerId() string

func (*GetCustomerResponse) GetDailyUsage

func (m *GetCustomerResponse) GetDailyUsage() map[string]*Usage

func (*GetCustomerResponse) GetDelinquent

func (m *GetCustomerResponse) GetDelinquent() bool

func (*GetCustomerResponse) GetDependents

func (m *GetCustomerResponse) GetDependents() int64

func (*GetCustomerResponse) GetEmail

func (m *GetCustomerResponse) GetEmail() string

func (*GetCustomerResponse) GetGracePeriodEnd

func (m *GetCustomerResponse) GetGracePeriodEnd() int64

func (*GetCustomerResponse) GetInvoicePeriod

func (m *GetCustomerResponse) GetInvoicePeriod() *Period

func (*GetCustomerResponse) GetKey

func (m *GetCustomerResponse) GetKey() string

func (*GetCustomerResponse) GetParentKey

func (m *GetCustomerResponse) GetParentKey() string

func (*GetCustomerResponse) GetSubscriptionStatus

func (m *GetCustomerResponse) GetSubscriptionStatus() string

func (*GetCustomerResponse) ProtoMessage

func (*GetCustomerResponse) ProtoMessage()

func (*GetCustomerResponse) Reset

func (m *GetCustomerResponse) Reset()

func (*GetCustomerResponse) String

func (m *GetCustomerResponse) String() string

func (*GetCustomerResponse) XXX_DiscardUnknown

func (m *GetCustomerResponse) XXX_DiscardUnknown()

func (*GetCustomerResponse) XXX_Marshal

func (m *GetCustomerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetCustomerResponse) XXX_Merge

func (m *GetCustomerResponse) XXX_Merge(src proto.Message)

func (*GetCustomerResponse) XXX_Size

func (m *GetCustomerResponse) XXX_Size() int

func (*GetCustomerResponse) XXX_Unmarshal

func (m *GetCustomerResponse) XXX_Unmarshal(b []byte) error

type GetCustomerSessionRequest

type GetCustomerSessionRequest struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetCustomerSessionRequest) Descriptor

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

func (*GetCustomerSessionRequest) GetKey

func (m *GetCustomerSessionRequest) GetKey() string

func (*GetCustomerSessionRequest) ProtoMessage

func (*GetCustomerSessionRequest) ProtoMessage()

func (*GetCustomerSessionRequest) Reset

func (m *GetCustomerSessionRequest) Reset()

func (*GetCustomerSessionRequest) String

func (m *GetCustomerSessionRequest) String() string

func (*GetCustomerSessionRequest) XXX_DiscardUnknown

func (m *GetCustomerSessionRequest) XXX_DiscardUnknown()

func (*GetCustomerSessionRequest) XXX_Marshal

func (m *GetCustomerSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetCustomerSessionRequest) XXX_Merge

func (m *GetCustomerSessionRequest) XXX_Merge(src proto.Message)

func (*GetCustomerSessionRequest) XXX_Size

func (m *GetCustomerSessionRequest) XXX_Size() int

func (*GetCustomerSessionRequest) XXX_Unmarshal

func (m *GetCustomerSessionRequest) XXX_Unmarshal(b []byte) error

type GetCustomerSessionResponse

type GetCustomerSessionResponse struct {
	Url                  string   `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetCustomerSessionResponse) Descriptor

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

func (*GetCustomerSessionResponse) GetUrl

func (m *GetCustomerSessionResponse) GetUrl() string

func (*GetCustomerSessionResponse) ProtoMessage

func (*GetCustomerSessionResponse) ProtoMessage()

func (*GetCustomerSessionResponse) Reset

func (m *GetCustomerSessionResponse) Reset()

func (*GetCustomerSessionResponse) String

func (m *GetCustomerSessionResponse) String() string

func (*GetCustomerSessionResponse) XXX_DiscardUnknown

func (m *GetCustomerSessionResponse) XXX_DiscardUnknown()

func (*GetCustomerSessionResponse) XXX_Marshal

func (m *GetCustomerSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetCustomerSessionResponse) XXX_Merge

func (m *GetCustomerSessionResponse) XXX_Merge(src proto.Message)

func (*GetCustomerSessionResponse) XXX_Size

func (m *GetCustomerSessionResponse) XXX_Size() int

func (*GetCustomerSessionResponse) XXX_Unmarshal

func (m *GetCustomerSessionResponse) XXX_Unmarshal(b []byte) error

type IncCustomerUsageRequest

type IncCustomerUsageRequest struct {
	Key                  string           `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	ProductUsage         map[string]int64 `` /* 186-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*IncCustomerUsageRequest) Descriptor

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

func (*IncCustomerUsageRequest) GetKey

func (m *IncCustomerUsageRequest) GetKey() string

func (*IncCustomerUsageRequest) GetProductUsage

func (m *IncCustomerUsageRequest) GetProductUsage() map[string]int64

func (*IncCustomerUsageRequest) ProtoMessage

func (*IncCustomerUsageRequest) ProtoMessage()

func (*IncCustomerUsageRequest) Reset

func (m *IncCustomerUsageRequest) Reset()

func (*IncCustomerUsageRequest) String

func (m *IncCustomerUsageRequest) String() string

func (*IncCustomerUsageRequest) XXX_DiscardUnknown

func (m *IncCustomerUsageRequest) XXX_DiscardUnknown()

func (*IncCustomerUsageRequest) XXX_Marshal

func (m *IncCustomerUsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IncCustomerUsageRequest) XXX_Merge

func (m *IncCustomerUsageRequest) XXX_Merge(src proto.Message)

func (*IncCustomerUsageRequest) XXX_Size

func (m *IncCustomerUsageRequest) XXX_Size() int

func (*IncCustomerUsageRequest) XXX_Unmarshal

func (m *IncCustomerUsageRequest) XXX_Unmarshal(b []byte) error

type IncCustomerUsageResponse

type IncCustomerUsageResponse struct {
	InvoicePeriod        *Period           `protobuf:"bytes,1,opt,name=invoice_period,json=invoicePeriod,proto3" json:"invoice_period,omitempty"`
	DailyUsage           map[string]*Usage `` /* 179-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*IncCustomerUsageResponse) Descriptor

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

func (*IncCustomerUsageResponse) GetDailyUsage

func (m *IncCustomerUsageResponse) GetDailyUsage() map[string]*Usage

func (*IncCustomerUsageResponse) GetInvoicePeriod

func (m *IncCustomerUsageResponse) GetInvoicePeriod() *Period

func (*IncCustomerUsageResponse) ProtoMessage

func (*IncCustomerUsageResponse) ProtoMessage()

func (*IncCustomerUsageResponse) Reset

func (m *IncCustomerUsageResponse) Reset()

func (*IncCustomerUsageResponse) String

func (m *IncCustomerUsageResponse) String() string

func (*IncCustomerUsageResponse) XXX_DiscardUnknown

func (m *IncCustomerUsageResponse) XXX_DiscardUnknown()

func (*IncCustomerUsageResponse) XXX_Marshal

func (m *IncCustomerUsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IncCustomerUsageResponse) XXX_Merge

func (m *IncCustomerUsageResponse) XXX_Merge(src proto.Message)

func (*IncCustomerUsageResponse) XXX_Size

func (m *IncCustomerUsageResponse) XXX_Size() int

func (*IncCustomerUsageResponse) XXX_Unmarshal

func (m *IncCustomerUsageResponse) XXX_Unmarshal(b []byte) error

type ListDependentCustomersRequest

type ListDependentCustomersRequest struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Offset               int64    `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit                int64    `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListDependentCustomersRequest) Descriptor

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

func (*ListDependentCustomersRequest) GetKey

func (*ListDependentCustomersRequest) GetLimit

func (m *ListDependentCustomersRequest) GetLimit() int64

func (*ListDependentCustomersRequest) GetOffset

func (m *ListDependentCustomersRequest) GetOffset() int64

func (*ListDependentCustomersRequest) ProtoMessage

func (*ListDependentCustomersRequest) ProtoMessage()

func (*ListDependentCustomersRequest) Reset

func (m *ListDependentCustomersRequest) Reset()

func (*ListDependentCustomersRequest) String

func (*ListDependentCustomersRequest) XXX_DiscardUnknown

func (m *ListDependentCustomersRequest) XXX_DiscardUnknown()

func (*ListDependentCustomersRequest) XXX_Marshal

func (m *ListDependentCustomersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDependentCustomersRequest) XXX_Merge

func (m *ListDependentCustomersRequest) XXX_Merge(src proto.Message)

func (*ListDependentCustomersRequest) XXX_Size

func (m *ListDependentCustomersRequest) XXX_Size() int

func (*ListDependentCustomersRequest) XXX_Unmarshal

func (m *ListDependentCustomersRequest) XXX_Unmarshal(b []byte) error

type ListDependentCustomersResponse

type ListDependentCustomersResponse struct {
	Customers            []*GetCustomerResponse `protobuf:"bytes,1,rep,name=customers,proto3" json:"customers,omitempty"`
	NextOffset           int64                  `protobuf:"varint,2,opt,name=next_offset,json=nextOffset,proto3" json:"next_offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*ListDependentCustomersResponse) Descriptor

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

func (*ListDependentCustomersResponse) GetCustomers

func (*ListDependentCustomersResponse) GetNextOffset

func (m *ListDependentCustomersResponse) GetNextOffset() int64

func (*ListDependentCustomersResponse) ProtoMessage

func (*ListDependentCustomersResponse) ProtoMessage()

func (*ListDependentCustomersResponse) Reset

func (m *ListDependentCustomersResponse) Reset()

func (*ListDependentCustomersResponse) String

func (*ListDependentCustomersResponse) XXX_DiscardUnknown

func (m *ListDependentCustomersResponse) XXX_DiscardUnknown()

func (*ListDependentCustomersResponse) XXX_Marshal

func (m *ListDependentCustomersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDependentCustomersResponse) XXX_Merge

func (m *ListDependentCustomersResponse) XXX_Merge(src proto.Message)

func (*ListDependentCustomersResponse) XXX_Size

func (m *ListDependentCustomersResponse) XXX_Size() int

func (*ListDependentCustomersResponse) XXX_Unmarshal

func (m *ListDependentCustomersResponse) XXX_Unmarshal(b []byte) error

type Period

type Period struct {
	UnixStart            int64    `protobuf:"varint,1,opt,name=unix_start,json=unixStart,proto3" json:"unix_start,omitempty"`
	UnixEnd              int64    `protobuf:"varint,2,opt,name=unix_end,json=unixEnd,proto3" json:"unix_end,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Period) Descriptor

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

func (*Period) GetUnixEnd

func (m *Period) GetUnixEnd() int64

func (*Period) GetUnixStart

func (m *Period) GetUnixStart() int64

func (*Period) ProtoMessage

func (*Period) ProtoMessage()

func (*Period) Reset

func (m *Period) Reset()

func (*Period) String

func (m *Period) String() string

func (*Period) XXX_DiscardUnknown

func (m *Period) XXX_DiscardUnknown()

func (*Period) XXX_Marshal

func (m *Period) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Period) XXX_Merge

func (m *Period) XXX_Merge(src proto.Message)

func (*Period) XXX_Size

func (m *Period) XXX_Size() int

func (*Period) XXX_Unmarshal

func (m *Period) XXX_Unmarshal(b []byte) error

type RecreateCustomerSubscriptionRequest

type RecreateCustomerSubscriptionRequest struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RecreateCustomerSubscriptionRequest) Descriptor

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

func (*RecreateCustomerSubscriptionRequest) GetKey

func (*RecreateCustomerSubscriptionRequest) ProtoMessage

func (*RecreateCustomerSubscriptionRequest) ProtoMessage()

func (*RecreateCustomerSubscriptionRequest) Reset

func (*RecreateCustomerSubscriptionRequest) String

func (*RecreateCustomerSubscriptionRequest) XXX_DiscardUnknown

func (m *RecreateCustomerSubscriptionRequest) XXX_DiscardUnknown()

func (*RecreateCustomerSubscriptionRequest) XXX_Marshal

func (m *RecreateCustomerSubscriptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RecreateCustomerSubscriptionRequest) XXX_Merge

func (*RecreateCustomerSubscriptionRequest) XXX_Size

func (*RecreateCustomerSubscriptionRequest) XXX_Unmarshal

func (m *RecreateCustomerSubscriptionRequest) XXX_Unmarshal(b []byte) error

type RecreateCustomerSubscriptionResponse

type RecreateCustomerSubscriptionResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RecreateCustomerSubscriptionResponse) Descriptor

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

func (*RecreateCustomerSubscriptionResponse) ProtoMessage

func (*RecreateCustomerSubscriptionResponse) ProtoMessage()

func (*RecreateCustomerSubscriptionResponse) Reset

func (*RecreateCustomerSubscriptionResponse) String

func (*RecreateCustomerSubscriptionResponse) XXX_DiscardUnknown

func (m *RecreateCustomerSubscriptionResponse) XXX_DiscardUnknown()

func (*RecreateCustomerSubscriptionResponse) XXX_Marshal

func (m *RecreateCustomerSubscriptionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RecreateCustomerSubscriptionResponse) XXX_Merge

func (*RecreateCustomerSubscriptionResponse) XXX_Size

func (*RecreateCustomerSubscriptionResponse) XXX_Unmarshal

func (m *RecreateCustomerSubscriptionResponse) XXX_Unmarshal(b []byte) error

type UnimplementedAPIServiceServer

type UnimplementedAPIServiceServer struct {
}

UnimplementedAPIServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAPIServiceServer) CheckHealth

func (*UnimplementedAPIServiceServer) CreateCustomer

func (*UnimplementedAPIServiceServer) DeleteCustomer

func (*UnimplementedAPIServiceServer) GetCustomer

func (*UnimplementedAPIServiceServer) GetCustomerSession

func (*UnimplementedAPIServiceServer) IncCustomerUsage

func (*UnimplementedAPIServiceServer) ListDependentCustomers

func (*UnimplementedAPIServiceServer) UpdateCustomer

func (*UnimplementedAPIServiceServer) UpdateCustomerSubscription

type UpdateCustomerRequest

type UpdateCustomerRequest struct {
	CustomerId           string   `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	Balance              int64    `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty"`
	Billable             bool     `protobuf:"varint,3,opt,name=billable,proto3" json:"billable,omitempty"`
	Delinquent           bool     `protobuf:"varint,4,opt,name=delinquent,proto3" json:"delinquent,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateCustomerRequest) Descriptor

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

func (*UpdateCustomerRequest) GetBalance

func (m *UpdateCustomerRequest) GetBalance() int64

func (*UpdateCustomerRequest) GetBillable

func (m *UpdateCustomerRequest) GetBillable() bool

func (*UpdateCustomerRequest) GetCustomerId

func (m *UpdateCustomerRequest) GetCustomerId() string

func (*UpdateCustomerRequest) GetDelinquent

func (m *UpdateCustomerRequest) GetDelinquent() bool

func (*UpdateCustomerRequest) ProtoMessage

func (*UpdateCustomerRequest) ProtoMessage()

func (*UpdateCustomerRequest) Reset

func (m *UpdateCustomerRequest) Reset()

func (*UpdateCustomerRequest) String

func (m *UpdateCustomerRequest) String() string

func (*UpdateCustomerRequest) XXX_DiscardUnknown

func (m *UpdateCustomerRequest) XXX_DiscardUnknown()

func (*UpdateCustomerRequest) XXX_Marshal

func (m *UpdateCustomerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateCustomerRequest) XXX_Merge

func (m *UpdateCustomerRequest) XXX_Merge(src proto.Message)

func (*UpdateCustomerRequest) XXX_Size

func (m *UpdateCustomerRequest) XXX_Size() int

func (*UpdateCustomerRequest) XXX_Unmarshal

func (m *UpdateCustomerRequest) XXX_Unmarshal(b []byte) error

type UpdateCustomerResponse

type UpdateCustomerResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateCustomerResponse) Descriptor

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

func (*UpdateCustomerResponse) ProtoMessage

func (*UpdateCustomerResponse) ProtoMessage()

func (*UpdateCustomerResponse) Reset

func (m *UpdateCustomerResponse) Reset()

func (*UpdateCustomerResponse) String

func (m *UpdateCustomerResponse) String() string

func (*UpdateCustomerResponse) XXX_DiscardUnknown

func (m *UpdateCustomerResponse) XXX_DiscardUnknown()

func (*UpdateCustomerResponse) XXX_Marshal

func (m *UpdateCustomerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateCustomerResponse) XXX_Merge

func (m *UpdateCustomerResponse) XXX_Merge(src proto.Message)

func (*UpdateCustomerResponse) XXX_Size

func (m *UpdateCustomerResponse) XXX_Size() int

func (*UpdateCustomerResponse) XXX_Unmarshal

func (m *UpdateCustomerResponse) XXX_Unmarshal(b []byte) error

type UpdateCustomerSubscriptionRequest

type UpdateCustomerSubscriptionRequest struct {
	CustomerId           string   `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	Status               string   `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	InvoicePeriod        *Period  `protobuf:"bytes,3,opt,name=invoice_period,json=invoicePeriod,proto3" json:"invoice_period,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateCustomerSubscriptionRequest) Descriptor

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

func (*UpdateCustomerSubscriptionRequest) GetCustomerId

func (m *UpdateCustomerSubscriptionRequest) GetCustomerId() string

func (*UpdateCustomerSubscriptionRequest) GetInvoicePeriod

func (m *UpdateCustomerSubscriptionRequest) GetInvoicePeriod() *Period

func (*UpdateCustomerSubscriptionRequest) GetStatus

func (*UpdateCustomerSubscriptionRequest) ProtoMessage

func (*UpdateCustomerSubscriptionRequest) ProtoMessage()

func (*UpdateCustomerSubscriptionRequest) Reset

func (*UpdateCustomerSubscriptionRequest) String

func (*UpdateCustomerSubscriptionRequest) XXX_DiscardUnknown

func (m *UpdateCustomerSubscriptionRequest) XXX_DiscardUnknown()

func (*UpdateCustomerSubscriptionRequest) XXX_Marshal

func (m *UpdateCustomerSubscriptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateCustomerSubscriptionRequest) XXX_Merge

func (*UpdateCustomerSubscriptionRequest) XXX_Size

func (m *UpdateCustomerSubscriptionRequest) XXX_Size() int

func (*UpdateCustomerSubscriptionRequest) XXX_Unmarshal

func (m *UpdateCustomerSubscriptionRequest) XXX_Unmarshal(b []byte) error

type UpdateCustomerSubscriptionResponse

type UpdateCustomerSubscriptionResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateCustomerSubscriptionResponse) Descriptor

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

func (*UpdateCustomerSubscriptionResponse) ProtoMessage

func (*UpdateCustomerSubscriptionResponse) ProtoMessage()

func (*UpdateCustomerSubscriptionResponse) Reset

func (*UpdateCustomerSubscriptionResponse) String

func (*UpdateCustomerSubscriptionResponse) XXX_DiscardUnknown

func (m *UpdateCustomerSubscriptionResponse) XXX_DiscardUnknown()

func (*UpdateCustomerSubscriptionResponse) XXX_Marshal

func (m *UpdateCustomerSubscriptionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateCustomerSubscriptionResponse) XXX_Merge

func (*UpdateCustomerSubscriptionResponse) XXX_Size

func (*UpdateCustomerSubscriptionResponse) XXX_Unmarshal

func (m *UpdateCustomerSubscriptionResponse) XXX_Unmarshal(b []byte) error

type Usage

type Usage struct {
	Description          string   `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	Units                int64    `protobuf:"varint,2,opt,name=units,proto3" json:"units,omitempty"`
	Total                int64    `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	Free                 int64    `protobuf:"varint,4,opt,name=free,proto3" json:"free,omitempty"`
	Cost                 float64  `protobuf:"fixed64,5,opt,name=cost,proto3" json:"cost,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Usage) Descriptor

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

func (*Usage) GetCost

func (m *Usage) GetCost() float64

func (*Usage) GetDescription

func (m *Usage) GetDescription() string

func (*Usage) GetFree

func (m *Usage) GetFree() int64

func (*Usage) GetTotal

func (m *Usage) GetTotal() int64

func (*Usage) GetUnits

func (m *Usage) GetUnits() int64

func (*Usage) ProtoMessage

func (*Usage) ProtoMessage()

func (*Usage) Reset

func (m *Usage) Reset()

func (*Usage) String

func (m *Usage) String() string

func (*Usage) XXX_DiscardUnknown

func (m *Usage) XXX_DiscardUnknown()

func (*Usage) XXX_Marshal

func (m *Usage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Usage) XXX_Merge

func (m *Usage) XXX_Merge(src proto.Message)

func (*Usage) XXX_Size

func (m *Usage) XXX_Size() int

func (*Usage) XXX_Unmarshal

func (m *Usage) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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