grpc: google.golang.org/grpc/xds/internal/proto/envoy/type/percent Index | Files

package envoy_type

import "google.golang.org/grpc/xds/internal/proto/envoy/type/percent"

Index

Package Files

percent.pb.go

Variables

var FractionalPercent_DenominatorType_name = map[int32]string{
    0:  "HUNDRED",
    1:  "TEN_THOUSAND",
    2:  "MILLION",
}
var FractionalPercent_DenominatorType_value = map[string]int32{
    "HUNDRED":      0,
    "TEN_THOUSAND": 1,
    "MILLION":      2,
}

type FractionalPercent Uses

type FractionalPercent struct {
    Numerator            uint32                            `protobuf:"varint,1,opt,name=numerator,proto3" json:"numerator,omitempty"`
    Denominator          FractionalPercent_DenominatorType `protobuf:"varint,2,opt,name=denominator,proto3,enum=envoy.type.FractionalPercent_DenominatorType" json:"denominator,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
    XXX_unrecognized     []byte                            `json:"-"`
    XXX_sizecache        int32                             `json:"-"`
}

func (*FractionalPercent) Descriptor Uses

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

func (*FractionalPercent) GetDenominator Uses

func (m *FractionalPercent) GetDenominator() FractionalPercent_DenominatorType

func (*FractionalPercent) GetNumerator Uses

func (m *FractionalPercent) GetNumerator() uint32

func (*FractionalPercent) ProtoMessage Uses

func (*FractionalPercent) ProtoMessage()

func (*FractionalPercent) Reset Uses

func (m *FractionalPercent) Reset()

func (*FractionalPercent) String Uses

func (m *FractionalPercent) String() string

func (*FractionalPercent) XXX_DiscardUnknown Uses

func (m *FractionalPercent) XXX_DiscardUnknown()

func (*FractionalPercent) XXX_Marshal Uses

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

func (*FractionalPercent) XXX_Merge Uses

func (dst *FractionalPercent) XXX_Merge(src proto.Message)

func (*FractionalPercent) XXX_Size Uses

func (m *FractionalPercent) XXX_Size() int

func (*FractionalPercent) XXX_Unmarshal Uses

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

type FractionalPercent_DenominatorType Uses

type FractionalPercent_DenominatorType int32
const (
    FractionalPercent_HUNDRED      FractionalPercent_DenominatorType = 0
    FractionalPercent_TEN_THOUSAND FractionalPercent_DenominatorType = 1
    FractionalPercent_MILLION      FractionalPercent_DenominatorType = 2
)

func (FractionalPercent_DenominatorType) EnumDescriptor Uses

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

func (FractionalPercent_DenominatorType) String Uses

func (x FractionalPercent_DenominatorType) String() string

type Percent Uses

type Percent struct {
    Value                float64  `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Percent) Descriptor Uses

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

func (*Percent) GetValue Uses

func (m *Percent) GetValue() float64

func (*Percent) ProtoMessage Uses

func (*Percent) ProtoMessage()

func (*Percent) Reset Uses

func (m *Percent) Reset()

func (*Percent) String Uses

func (m *Percent) String() string

func (*Percent) XXX_DiscardUnknown Uses

func (m *Percent) XXX_DiscardUnknown()

func (*Percent) XXX_Marshal Uses

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

func (*Percent) XXX_Merge Uses

func (dst *Percent) XXX_Merge(src proto.Message)

func (*Percent) XXX_Size Uses

func (m *Percent) XXX_Size() int

func (*Percent) XXX_Unmarshal Uses

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

Package envoy_type imports 4 packages (graph) and is imported by 4 packages. Updated 2019-08-11. Refresh now. Tools for package owners.