blob: afb48fd3e7c63678c6d856348ad5d40b5ae9ee7f [file]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/securitycenter/settings/v1beta1/billing_settings.proto
package settings
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
timestamp "github.com/golang/protobuf/ptypes/timestamp"
_ "google.golang.org/genproto/googleapis/api/annotations"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// Billing tier options
type BillingTier int32
const (
// Default value. This value is unused.
BillingTier_BILLING_TIER_UNSPECIFIED BillingTier = 0
// The standard billing tier.
BillingTier_STANDARD BillingTier = 1
// The premium billing tier.
BillingTier_PREMIUM BillingTier = 2
)
var BillingTier_name = map[int32]string{
0: "BILLING_TIER_UNSPECIFIED",
1: "STANDARD",
2: "PREMIUM",
}
var BillingTier_value = map[string]int32{
"BILLING_TIER_UNSPECIFIED": 0,
"STANDARD": 1,
"PREMIUM": 2,
}
func (x BillingTier) String() string {
return proto.EnumName(BillingTier_name, int32(x))
}
func (BillingTier) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_5cb4b2830c5b4767, []int{0}
}
// Billing type
type BillingType int32
const (
// Default billing type
BillingType_BILLING_TYPE_UNSPECIFIED BillingType = 0
// Subscription for Premium billing tier
BillingType_SUBSCRIPTION BillingType = 1
// Trial subscription for Premium billing tier
BillingType_TRIAL_SUBSCRIPTION BillingType = 2
// Alpha customer for Premium billing tier
BillingType_ALPHA BillingType = 3
)
var BillingType_name = map[int32]string{
0: "BILLING_TYPE_UNSPECIFIED",
1: "SUBSCRIPTION",
2: "TRIAL_SUBSCRIPTION",
3: "ALPHA",
}
var BillingType_value = map[string]int32{
"BILLING_TYPE_UNSPECIFIED": 0,
"SUBSCRIPTION": 1,
"TRIAL_SUBSCRIPTION": 2,
"ALPHA": 3,
}
func (x BillingType) String() string {
return proto.EnumName(BillingType_name, int32(x))
}
func (BillingType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_5cb4b2830c5b4767, []int{1}
}
// Billing settings
type BillingSettings struct {
// Output only. Billing tier selected by customer
BillingTier BillingTier `protobuf:"varint,1,opt,name=billing_tier,json=billingTier,proto3,enum=google.cloud.securitycenter.settings.v1beta1.BillingTier" json:"billing_tier,omitempty"`
// Output only. Type of billing method
BillingType BillingType `protobuf:"varint,2,opt,name=billing_type,json=billingType,proto3,enum=google.cloud.securitycenter.settings.v1beta1.BillingType" json:"billing_type,omitempty"`
// Output only. The absolute point in time when the subscription became effective.
// Can be compared to expire_time value to determine full contract duration
StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Output only. The absolute point in time when the subscription expires.
//
// If this field is populated and billing_tier is STANDARD, this is
// indication of a point in the _past_ when a PREMIUM access ended.
ExpireTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BillingSettings) Reset() { *m = BillingSettings{} }
func (m *BillingSettings) String() string { return proto.CompactTextString(m) }
func (*BillingSettings) ProtoMessage() {}
func (*BillingSettings) Descriptor() ([]byte, []int) {
return fileDescriptor_5cb4b2830c5b4767, []int{0}
}
func (m *BillingSettings) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BillingSettings.Unmarshal(m, b)
}
func (m *BillingSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BillingSettings.Marshal(b, m, deterministic)
}
func (m *BillingSettings) XXX_Merge(src proto.Message) {
xxx_messageInfo_BillingSettings.Merge(m, src)
}
func (m *BillingSettings) XXX_Size() int {
return xxx_messageInfo_BillingSettings.Size(m)
}
func (m *BillingSettings) XXX_DiscardUnknown() {
xxx_messageInfo_BillingSettings.DiscardUnknown(m)
}
var xxx_messageInfo_BillingSettings proto.InternalMessageInfo
func (m *BillingSettings) GetBillingTier() BillingTier {
if m != nil {
return m.BillingTier
}
return BillingTier_BILLING_TIER_UNSPECIFIED
}
func (m *BillingSettings) GetBillingType() BillingType {
if m != nil {
return m.BillingType
}
return BillingType_BILLING_TYPE_UNSPECIFIED
}
func (m *BillingSettings) GetStartTime() *timestamp.Timestamp {
if m != nil {
return m.StartTime
}
return nil
}
func (m *BillingSettings) GetExpireTime() *timestamp.Timestamp {
if m != nil {
return m.ExpireTime
}
return nil
}
func init() {
proto.RegisterEnum("google.cloud.securitycenter.settings.v1beta1.BillingTier", BillingTier_name, BillingTier_value)
proto.RegisterEnum("google.cloud.securitycenter.settings.v1beta1.BillingType", BillingType_name, BillingType_value)
proto.RegisterType((*BillingSettings)(nil), "google.cloud.securitycenter.settings.v1beta1.BillingSettings")
}
func init() {
proto.RegisterFile("google/cloud/securitycenter/settings/v1beta1/billing_settings.proto", fileDescriptor_5cb4b2830c5b4767)
}
var fileDescriptor_5cb4b2830c5b4767 = []byte{
// 503 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x93, 0x4f, 0x6b, 0x9c, 0x40,
0x18, 0xc6, 0xab, 0xdb, 0x7f, 0x19, 0x97, 0x56, 0x86, 0x52, 0x96, 0x10, 0x68, 0xe8, 0x29, 0x84,
0xa0, 0xd9, 0xf4, 0x54, 0x0b, 0xa5, 0xea, 0x9a, 0x54, 0xd8, 0x6c, 0x45, 0xdd, 0x40, 0xcb, 0x82,
0x1d, 0x37, 0x13, 0x3b, 0xe0, 0x3a, 0xa2, 0xb3, 0xa1, 0xfb, 0x95, 0x7a, 0xee, 0xa7, 0xe8, 0x37,
0xe8, 0xad, 0xe7, 0x7e, 0x82, 0x1e, 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