Documentation ¶
Index ¶
- Variables
- func NewStripeEndpoints() []*api.Endpoint
- func RegisterStripeHandler(s server.Server, hdlr StripeHandler, opts ...server.HandlerOption) error
- type Card
- type ChargeCardRequest
- func (*ChargeCardRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChargeCardRequest) GetAmount() int64
- func (x *ChargeCardRequest) GetId() string
- func (*ChargeCardRequest) ProtoMessage()
- func (x *ChargeCardRequest) ProtoReflect() protoreflect.Message
- func (x *ChargeCardRequest) Reset()
- func (x *ChargeCardRequest) String() string
- type ChargeCardResponse
- func (*ChargeCardResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChargeCardResponse) GetClientSecret() string
- func (*ChargeCardResponse) ProtoMessage()
- func (x *ChargeCardResponse) ProtoReflect() protoreflect.Message
- func (x *ChargeCardResponse) Reset()
- func (x *ChargeCardResponse) String() string
- type CreateCheckoutSessionRequest
- func (*CreateCheckoutSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCheckoutSessionRequest) GetAmount() int64
- func (x *CreateCheckoutSessionRequest) GetSaveCard() bool
- func (*CreateCheckoutSessionRequest) ProtoMessage()
- func (x *CreateCheckoutSessionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCheckoutSessionRequest) Reset()
- func (x *CreateCheckoutSessionRequest) String() string
- type CreateCheckoutSessionResponse
- func (*CreateCheckoutSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCheckoutSessionResponse) GetId() string
- func (*CreateCheckoutSessionResponse) ProtoMessage()
- func (x *CreateCheckoutSessionResponse) ProtoReflect() protoreflect.Message
- func (x *CreateCheckoutSessionResponse) Reset()
- func (x *CreateCheckoutSessionResponse) String() string
- type DeleteCardRequest
- type DeleteCardResponse
- type GetPaymentRequest
- type GetPaymentResponse
- func (*GetPaymentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPaymentResponse) GetPayment() *Payment
- func (*GetPaymentResponse) ProtoMessage()
- func (x *GetPaymentResponse) ProtoReflect() protoreflect.Message
- func (x *GetPaymentResponse) Reset()
- func (x *GetPaymentResponse) String() string
- type ListCardsRequest
- type ListCardsResponse
- type ListPaymentsRequest
- type ListPaymentsResponse
- func (*ListPaymentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPaymentsResponse) GetPayments() []*Payment
- func (*ListPaymentsResponse) ProtoMessage()
- func (x *ListPaymentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPaymentsResponse) Reset()
- func (x *ListPaymentsResponse) String() string
- type Payment
- func (*Payment) Descriptor() ([]byte, []int)deprecated
- func (x *Payment) GetAmount() int64
- func (x *Payment) GetCurrency() string
- func (x *Payment) GetDate() int64
- func (x *Payment) GetDescription() string
- func (x *Payment) GetId() string
- func (x *Payment) GetReceiptUrl() string
- func (*Payment) ProtoMessage()
- func (x *Payment) ProtoReflect() protoreflect.Message
- func (x *Payment) Reset()
- func (x *Payment) String() string
- type SetupCardRequest
- type SetupCardResponse
- func (*SetupCardResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetupCardResponse) GetClientSecret() string
- func (*SetupCardResponse) ProtoMessage()
- func (x *SetupCardResponse) ProtoReflect() protoreflect.Message
- func (x *SetupCardResponse) Reset()
- func (x *SetupCardResponse) String() string
- type StripeHandler
- type StripeService
- type SubscribeRequest
- func (*SubscribeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeRequest) GetCardId() string
- func (x *SubscribeRequest) GetPriceId() string
- func (*SubscribeRequest) ProtoMessage()
- func (x *SubscribeRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeRequest) Reset()
- func (x *SubscribeRequest) String() string
- type SubscribeResponse
- func (*SubscribeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeResponse) GetSubscriptionId() string
- func (*SubscribeResponse) ProtoMessage()
- func (x *SubscribeResponse) ProtoReflect() protoreflect.Message
- func (x *SubscribeResponse) Reset()
- func (x *SubscribeResponse) String() string
- type UnsubscribeRequest
- func (*UnsubscribeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnsubscribeRequest) GetSubscriptionId() string
- func (*UnsubscribeRequest) ProtoMessage()
- func (x *UnsubscribeRequest) ProtoReflect() protoreflect.Message
- func (x *UnsubscribeRequest) Reset()
- func (x *UnsubscribeRequest) String() string
- type UnsubscribeResponse
Constants ¶
This section is empty.
Variables ¶
var File_proto_stripe_proto protoreflect.FileDescriptor
Functions ¶
func NewStripeEndpoints ¶
func RegisterStripeHandler ¶
func RegisterStripeHandler(s server.Server, hdlr StripeHandler, opts ...server.HandlerOption) error
Types ¶
type Card ¶
type Card struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` LastFour string `protobuf:"bytes,2,opt,name=last_four,json=lastFour,proto3" json:"last_four,omitempty"` Expires string `protobuf:"bytes,3,opt,name=expires,proto3" json:"expires,omitempty"` // contains filtered or unexported fields }
func (*Card) Descriptor
deprecated
func (*Card) GetExpires ¶
func (*Card) GetLastFour ¶
func (*Card) ProtoMessage ¶
func (*Card) ProtoMessage()
func (*Card) ProtoReflect ¶
func (x *Card) ProtoReflect() protoreflect.Message
type ChargeCardRequest ¶
type ChargeCardRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*ChargeCardRequest) Descriptor
deprecated
func (*ChargeCardRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChargeCardRequest.ProtoReflect.Descriptor instead.
func (*ChargeCardRequest) GetAmount ¶
func (x *ChargeCardRequest) GetAmount() int64
func (*ChargeCardRequest) GetId ¶
func (x *ChargeCardRequest) GetId() string
func (*ChargeCardRequest) ProtoMessage ¶
func (*ChargeCardRequest) ProtoMessage()
func (*ChargeCardRequest) ProtoReflect ¶
func (x *ChargeCardRequest) ProtoReflect() protoreflect.Message
func (*ChargeCardRequest) Reset ¶
func (x *ChargeCardRequest) Reset()
func (*ChargeCardRequest) String ¶
func (x *ChargeCardRequest) String() string
type ChargeCardResponse ¶
type ChargeCardResponse struct { ClientSecret string `protobuf:"bytes,1,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` // contains filtered or unexported fields }
func (*ChargeCardResponse) Descriptor
deprecated
func (*ChargeCardResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChargeCardResponse.ProtoReflect.Descriptor instead.
func (*ChargeCardResponse) GetClientSecret ¶
func (x *ChargeCardResponse) GetClientSecret() string
func (*ChargeCardResponse) ProtoMessage ¶
func (*ChargeCardResponse) ProtoMessage()
func (*ChargeCardResponse) ProtoReflect ¶
func (x *ChargeCardResponse) ProtoReflect() protoreflect.Message
func (*ChargeCardResponse) Reset ¶
func (x *ChargeCardResponse) Reset()
func (*ChargeCardResponse) String ¶
func (x *ChargeCardResponse) String() string
type CreateCheckoutSessionRequest ¶
type CreateCheckoutSessionRequest struct { Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` SaveCard bool `protobuf:"varint,2,opt,name=save_card,json=saveCard,proto3" json:"save_card,omitempty"` // contains filtered or unexported fields }
func (*CreateCheckoutSessionRequest) Descriptor
deprecated
func (*CreateCheckoutSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCheckoutSessionRequest.ProtoReflect.Descriptor instead.
func (*CreateCheckoutSessionRequest) GetAmount ¶
func (x *CreateCheckoutSessionRequest) GetAmount() int64
func (*CreateCheckoutSessionRequest) GetSaveCard ¶
func (x *CreateCheckoutSessionRequest) GetSaveCard() bool
func (*CreateCheckoutSessionRequest) ProtoMessage ¶
func (*CreateCheckoutSessionRequest) ProtoMessage()
func (*CreateCheckoutSessionRequest) ProtoReflect ¶
func (x *CreateCheckoutSessionRequest) ProtoReflect() protoreflect.Message
func (*CreateCheckoutSessionRequest) Reset ¶
func (x *CreateCheckoutSessionRequest) Reset()
func (*CreateCheckoutSessionRequest) String ¶
func (x *CreateCheckoutSessionRequest) String() string
type CreateCheckoutSessionResponse ¶
type CreateCheckoutSessionResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateCheckoutSessionResponse) Descriptor
deprecated
func (*CreateCheckoutSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateCheckoutSessionResponse.ProtoReflect.Descriptor instead.
func (*CreateCheckoutSessionResponse) GetId ¶
func (x *CreateCheckoutSessionResponse) GetId() string
func (*CreateCheckoutSessionResponse) ProtoMessage ¶
func (*CreateCheckoutSessionResponse) ProtoMessage()
func (*CreateCheckoutSessionResponse) ProtoReflect ¶
func (x *CreateCheckoutSessionResponse) ProtoReflect() protoreflect.Message
func (*CreateCheckoutSessionResponse) Reset ¶
func (x *CreateCheckoutSessionResponse) Reset()
func (*CreateCheckoutSessionResponse) String ¶
func (x *CreateCheckoutSessionResponse) String() string
type DeleteCardRequest ¶
type DeleteCardRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteCardRequest) Descriptor
deprecated
func (*DeleteCardRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCardRequest.ProtoReflect.Descriptor instead.
func (*DeleteCardRequest) GetId ¶
func (x *DeleteCardRequest) GetId() string
func (*DeleteCardRequest) ProtoMessage ¶
func (*DeleteCardRequest) ProtoMessage()
func (*DeleteCardRequest) ProtoReflect ¶
func (x *DeleteCardRequest) ProtoReflect() protoreflect.Message
func (*DeleteCardRequest) Reset ¶
func (x *DeleteCardRequest) Reset()
func (*DeleteCardRequest) String ¶
func (x *DeleteCardRequest) String() string
type DeleteCardResponse ¶
type DeleteCardResponse struct {
// contains filtered or unexported fields
}
func (*DeleteCardResponse) Descriptor
deprecated
func (*DeleteCardResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCardResponse.ProtoReflect.Descriptor instead.
func (*DeleteCardResponse) ProtoMessage ¶
func (*DeleteCardResponse) ProtoMessage()
func (*DeleteCardResponse) ProtoReflect ¶
func (x *DeleteCardResponse) ProtoReflect() protoreflect.Message
func (*DeleteCardResponse) Reset ¶
func (x *DeleteCardResponse) Reset()
func (*DeleteCardResponse) String ¶
func (x *DeleteCardResponse) String() string
type GetPaymentRequest ¶
type GetPaymentRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetPaymentRequest) Descriptor
deprecated
func (*GetPaymentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPaymentRequest.ProtoReflect.Descriptor instead.
func (*GetPaymentRequest) GetId ¶
func (x *GetPaymentRequest) GetId() string
func (*GetPaymentRequest) ProtoMessage ¶
func (*GetPaymentRequest) ProtoMessage()
func (*GetPaymentRequest) ProtoReflect ¶
func (x *GetPaymentRequest) ProtoReflect() protoreflect.Message
func (*GetPaymentRequest) Reset ¶
func (x *GetPaymentRequest) Reset()
func (*GetPaymentRequest) String ¶
func (x *GetPaymentRequest) String() string
type GetPaymentResponse ¶
type GetPaymentResponse struct { Payment *Payment `protobuf:"bytes,1,opt,name=payment,proto3" json:"payment,omitempty"` // contains filtered or unexported fields }
func (*GetPaymentResponse) Descriptor
deprecated
func (*GetPaymentResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPaymentResponse.ProtoReflect.Descriptor instead.
func (*GetPaymentResponse) GetPayment ¶
func (x *GetPaymentResponse) GetPayment() *Payment
func (*GetPaymentResponse) ProtoMessage ¶
func (*GetPaymentResponse) ProtoMessage()
func (*GetPaymentResponse) ProtoReflect ¶
func (x *GetPaymentResponse) ProtoReflect() protoreflect.Message
func (*GetPaymentResponse) Reset ¶
func (x *GetPaymentResponse) Reset()
func (*GetPaymentResponse) String ¶
func (x *GetPaymentResponse) String() string
type ListCardsRequest ¶
type ListCardsRequest struct {
// contains filtered or unexported fields
}
func (*ListCardsRequest) Descriptor
deprecated
func (*ListCardsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCardsRequest.ProtoReflect.Descriptor instead.
func (*ListCardsRequest) ProtoMessage ¶
func (*ListCardsRequest) ProtoMessage()
func (*ListCardsRequest) ProtoReflect ¶
func (x *ListCardsRequest) ProtoReflect() protoreflect.Message
func (*ListCardsRequest) Reset ¶
func (x *ListCardsRequest) Reset()
func (*ListCardsRequest) String ¶
func (x *ListCardsRequest) String() string
type ListCardsResponse ¶
type ListCardsResponse struct { Cards []*Card `protobuf:"bytes,1,rep,name=cards,proto3" json:"cards,omitempty"` // contains filtered or unexported fields }
func (*ListCardsResponse) Descriptor
deprecated
func (*ListCardsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCardsResponse.ProtoReflect.Descriptor instead.
func (*ListCardsResponse) GetCards ¶
func (x *ListCardsResponse) GetCards() []*Card
func (*ListCardsResponse) ProtoMessage ¶
func (*ListCardsResponse) ProtoMessage()
func (*ListCardsResponse) ProtoReflect ¶
func (x *ListCardsResponse) ProtoReflect() protoreflect.Message
func (*ListCardsResponse) Reset ¶
func (x *ListCardsResponse) Reset()
func (*ListCardsResponse) String ¶
func (x *ListCardsResponse) String() string
type ListPaymentsRequest ¶
type ListPaymentsRequest struct {
// contains filtered or unexported fields
}
func (*ListPaymentsRequest) Descriptor
deprecated
func (*ListPaymentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPaymentsRequest.ProtoReflect.Descriptor instead.
func (*ListPaymentsRequest) ProtoMessage ¶
func (*ListPaymentsRequest) ProtoMessage()
func (*ListPaymentsRequest) ProtoReflect ¶
func (x *ListPaymentsRequest) ProtoReflect() protoreflect.Message
func (*ListPaymentsRequest) Reset ¶
func (x *ListPaymentsRequest) Reset()
func (*ListPaymentsRequest) String ¶
func (x *ListPaymentsRequest) String() string
type ListPaymentsResponse ¶
type ListPaymentsResponse struct { Payments []*Payment `protobuf:"bytes,1,rep,name=payments,proto3" json:"payments,omitempty"` // contains filtered or unexported fields }
func (*ListPaymentsResponse) Descriptor
deprecated
func (*ListPaymentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPaymentsResponse.ProtoReflect.Descriptor instead.
func (*ListPaymentsResponse) GetPayments ¶
func (x *ListPaymentsResponse) GetPayments() []*Payment
func (*ListPaymentsResponse) ProtoMessage ¶
func (*ListPaymentsResponse) ProtoMessage()
func (*ListPaymentsResponse) ProtoReflect ¶
func (x *ListPaymentsResponse) ProtoReflect() protoreflect.Message
func (*ListPaymentsResponse) Reset ¶
func (x *ListPaymentsResponse) Reset()
func (*ListPaymentsResponse) String ¶
func (x *ListPaymentsResponse) String() string
type Payment ¶
type Payment struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` Currency string `protobuf:"bytes,3,opt,name=currency,proto3" json:"currency,omitempty"` Date int64 `protobuf:"varint,4,opt,name=date,proto3" json:"date,omitempty"` ReceiptUrl string `protobuf:"bytes,5,opt,name=receipt_url,json=receiptUrl,proto3" json:"receipt_url,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*Payment) Descriptor
deprecated
func (*Payment) GetCurrency ¶
func (*Payment) GetDescription ¶
func (*Payment) GetReceiptUrl ¶
func (*Payment) ProtoMessage ¶
func (*Payment) ProtoMessage()
func (*Payment) ProtoReflect ¶
func (x *Payment) ProtoReflect() protoreflect.Message
type SetupCardRequest ¶
type SetupCardRequest struct {
// contains filtered or unexported fields
}
func (*SetupCardRequest) Descriptor
deprecated
func (*SetupCardRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetupCardRequest.ProtoReflect.Descriptor instead.
func (*SetupCardRequest) ProtoMessage ¶
func (*SetupCardRequest) ProtoMessage()
func (*SetupCardRequest) ProtoReflect ¶
func (x *SetupCardRequest) ProtoReflect() protoreflect.Message
func (*SetupCardRequest) Reset ¶
func (x *SetupCardRequest) Reset()
func (*SetupCardRequest) String ¶
func (x *SetupCardRequest) String() string
type SetupCardResponse ¶
type SetupCardResponse struct { ClientSecret string `protobuf:"bytes,1,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` // contains filtered or unexported fields }
func (*SetupCardResponse) Descriptor
deprecated
func (*SetupCardResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetupCardResponse.ProtoReflect.Descriptor instead.
func (*SetupCardResponse) GetClientSecret ¶
func (x *SetupCardResponse) GetClientSecret() string
func (*SetupCardResponse) ProtoMessage ¶
func (*SetupCardResponse) ProtoMessage()
func (*SetupCardResponse) ProtoReflect ¶
func (x *SetupCardResponse) ProtoReflect() protoreflect.Message
func (*SetupCardResponse) Reset ¶
func (x *SetupCardResponse) Reset()
func (*SetupCardResponse) String ¶
func (x *SetupCardResponse) String() string
type StripeHandler ¶
type StripeHandler interface { CreateCheckoutSession(context.Context, *CreateCheckoutSessionRequest, *CreateCheckoutSessionResponse) error ListCards(context.Context, *ListCardsRequest, *ListCardsResponse) error ChargeCard(context.Context, *ChargeCardRequest, *ChargeCardResponse) error DeleteCard(context.Context, *DeleteCardRequest, *DeleteCardResponse) error ListPayments(context.Context, *ListPaymentsRequest, *ListPaymentsResponse) error GetPayment(context.Context, *GetPaymentRequest, *GetPaymentResponse) error Subscribe(context.Context, *SubscribeRequest, *SubscribeResponse) error Unsubscribe(context.Context, *UnsubscribeRequest, *UnsubscribeResponse) error SetupCard(context.Context, *SetupCardRequest, *SetupCardResponse) error }
type StripeService ¶
type StripeService interface { CreateCheckoutSession(ctx context.Context, in *CreateCheckoutSessionRequest, opts ...client.CallOption) (*CreateCheckoutSessionResponse, error) ListCards(ctx context.Context, in *ListCardsRequest, opts ...client.CallOption) (*ListCardsResponse, error) ChargeCard(ctx context.Context, in *ChargeCardRequest, opts ...client.CallOption) (*ChargeCardResponse, error) DeleteCard(ctx context.Context, in *DeleteCardRequest, opts ...client.CallOption) (*DeleteCardResponse, error) ListPayments(ctx context.Context, in *ListPaymentsRequest, opts ...client.CallOption) (*ListPaymentsResponse, error) GetPayment(ctx context.Context, in *GetPaymentRequest, opts ...client.CallOption) (*GetPaymentResponse, error) Subscribe(ctx context.Context, in *SubscribeRequest, opts ...client.CallOption) (*SubscribeResponse, error) Unsubscribe(ctx context.Context, in *UnsubscribeRequest, opts ...client.CallOption) (*UnsubscribeResponse, error) SetupCard(ctx context.Context, in *SetupCardRequest, opts ...client.CallOption) (*SetupCardResponse, error) }
func NewStripeService ¶
func NewStripeService(name string, c client.Client) StripeService
type SubscribeRequest ¶
type SubscribeRequest struct { PriceId string `protobuf:"bytes,1,opt,name=price_id,json=priceId,proto3" json:"price_id,omitempty"` CardId string `protobuf:"bytes,2,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` // contains filtered or unexported fields }
func (*SubscribeRequest) Descriptor
deprecated
func (*SubscribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead.
func (*SubscribeRequest) GetCardId ¶
func (x *SubscribeRequest) GetCardId() string
func (*SubscribeRequest) GetPriceId ¶
func (x *SubscribeRequest) GetPriceId() string
func (*SubscribeRequest) ProtoMessage ¶
func (*SubscribeRequest) ProtoMessage()
func (*SubscribeRequest) ProtoReflect ¶
func (x *SubscribeRequest) ProtoReflect() protoreflect.Message
func (*SubscribeRequest) Reset ¶
func (x *SubscribeRequest) Reset()
func (*SubscribeRequest) String ¶
func (x *SubscribeRequest) String() string
type SubscribeResponse ¶
type SubscribeResponse struct { SubscriptionId string `protobuf:"bytes,1,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty"` // contains filtered or unexported fields }
func (*SubscribeResponse) Descriptor
deprecated
func (*SubscribeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeResponse.ProtoReflect.Descriptor instead.
func (*SubscribeResponse) GetSubscriptionId ¶
func (x *SubscribeResponse) GetSubscriptionId() string
func (*SubscribeResponse) ProtoMessage ¶
func (*SubscribeResponse) ProtoMessage()
func (*SubscribeResponse) ProtoReflect ¶
func (x *SubscribeResponse) ProtoReflect() protoreflect.Message
func (*SubscribeResponse) Reset ¶
func (x *SubscribeResponse) Reset()
func (*SubscribeResponse) String ¶
func (x *SubscribeResponse) String() string
type UnsubscribeRequest ¶
type UnsubscribeRequest struct { SubscriptionId string `protobuf:"bytes,1,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty"` // contains filtered or unexported fields }
func (*UnsubscribeRequest) Descriptor
deprecated
func (*UnsubscribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnsubscribeRequest.ProtoReflect.Descriptor instead.
func (*UnsubscribeRequest) GetSubscriptionId ¶
func (x *UnsubscribeRequest) GetSubscriptionId() string
func (*UnsubscribeRequest) ProtoMessage ¶
func (*UnsubscribeRequest) ProtoMessage()
func (*UnsubscribeRequest) ProtoReflect ¶
func (x *UnsubscribeRequest) ProtoReflect() protoreflect.Message
func (*UnsubscribeRequest) Reset ¶
func (x *UnsubscribeRequest) Reset()
func (*UnsubscribeRequest) String ¶
func (x *UnsubscribeRequest) String() string
type UnsubscribeResponse ¶
type UnsubscribeResponse struct {
// contains filtered or unexported fields
}
func (*UnsubscribeResponse) Descriptor
deprecated
func (*UnsubscribeResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnsubscribeResponse.ProtoReflect.Descriptor instead.
func (*UnsubscribeResponse) ProtoMessage ¶
func (*UnsubscribeResponse) ProtoMessage()
func (*UnsubscribeResponse) ProtoReflect ¶
func (x *UnsubscribeResponse) ProtoReflect() protoreflect.Message
func (*UnsubscribeResponse) Reset ¶
func (x *UnsubscribeResponse) Reset()
func (*UnsubscribeResponse) String ¶
func (x *UnsubscribeResponse) String() string