Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 312 lines (278 sloc) 13.9 KB
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: envoy/api/v2/core/protocol.proto
package envoy_api_v2_core
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import duration "github.com/golang/protobuf/ptypes/duration"
import wrappers "github.com/golang/protobuf/ptypes/wrappers"
import _ "google.golang.org/grpc/xds/internal/proto/validate"
// 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.ProtoPackageIsVersion2 // please upgrade the proto package
type TcpProtocolOptions struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TcpProtocolOptions) Reset() { *m = TcpProtocolOptions{} }
func (m *TcpProtocolOptions) String() string { return proto.CompactTextString(m) }
func (*TcpProtocolOptions) ProtoMessage() {}
func (*TcpProtocolOptions) Descriptor() ([]byte, []int) {
return fileDescriptor_protocol_2e969372c85b867d, []int{0}
}
func (m *TcpProtocolOptions) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TcpProtocolOptions.Unmarshal(m, b)
}
func (m *TcpProtocolOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TcpProtocolOptions.Marshal(b, m, deterministic)
}
func (dst *TcpProtocolOptions) XXX_Merge(src proto.Message) {
xxx_messageInfo_TcpProtocolOptions.Merge(dst, src)
}
func (m *TcpProtocolOptions) XXX_Size() int {
return xxx_messageInfo_TcpProtocolOptions.Size(m)
}
func (m *TcpProtocolOptions) XXX_DiscardUnknown() {
xxx_messageInfo_TcpProtocolOptions.DiscardUnknown(m)
}
var xxx_messageInfo_TcpProtocolOptions proto.InternalMessageInfo
type HttpProtocolOptions struct {
IdleTimeout *duration.Duration `protobuf:"bytes,1,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *HttpProtocolOptions) Reset() { *m = HttpProtocolOptions{} }
func (m *HttpProtocolOptions) String() string { return proto.CompactTextString(m) }
func (*HttpProtocolOptions) ProtoMessage() {}
func (*HttpProtocolOptions) Descriptor() ([]byte, []int) {
return fileDescriptor_protocol_2e969372c85b867d, []int{1}
}
func (m *HttpProtocolOptions) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_HttpProtocolOptions.Unmarshal(m, b)
}
func (m *HttpProtocolOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_HttpProtocolOptions.Marshal(b, m, deterministic)
}
func (dst *HttpProtocolOptions) XXX_Merge(src proto.Message) {
xxx_messageInfo_HttpProtocolOptions.Merge(dst, src)
}
func (m *HttpProtocolOptions) XXX_Size() int {
return xxx_messageInfo_HttpProtocolOptions.Size(m)
}
func (m *HttpProtocolOptions) XXX_DiscardUnknown() {
xxx_messageInfo_HttpProtocolOptions.DiscardUnknown(m)
}
var xxx_messageInfo_HttpProtocolOptions proto.InternalMessageInfo
func (m *HttpProtocolOptions) GetIdleTimeout() *duration.Duration {
if m != nil {
return m.IdleTimeout
}
return nil
}
type Http1ProtocolOptions struct {
AllowAbsoluteUrl *wrappers.BoolValue `protobuf:"bytes,1,opt,name=allow_absolute_url,json=allowAbsoluteUrl,proto3" json:"allow_absolute_url,omitempty"`
AcceptHttp_10 bool `protobuf:"varint,2,opt,name=accept_http_10,json=acceptHttp10,proto3" json:"accept_http_10,omitempty"`
DefaultHostForHttp_10 string `protobuf:"bytes,3,opt,name=default_host_for_http_10,json=defaultHostForHttp10,proto3" json:"default_host_for_http_10,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Http1ProtocolOptions) Reset() { *m = Http1ProtocolOptions{} }
func (m *Http1ProtocolOptions) String() string { return proto.CompactTextString(m) }
func (*Http1ProtocolOptions) ProtoMessage() {}
func (*Http1ProtocolOptions) Descriptor() ([]byte, []int) {
return fileDescriptor_protocol_2e969372c85b867d, []int{2}
}
func (m *Http1ProtocolOptions) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Http1ProtocolOptions.Unmarshal(m, b)
}
func (m *Http1ProtocolOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Http1ProtocolOptions.Marshal(b, m, deterministic)
}
func (dst *Http1ProtocolOptions) XXX_Merge(src proto.Message) {
xxx_messageInfo_Http1ProtocolOptions.Merge(dst, src)
}
func (m *Http1ProtocolOptions) XXX_Size() int {
return xxx_messageInfo_Http1ProtocolOptions.Size(m)
}
func (m *Http1ProtocolOptions) XXX_DiscardUnknown() {
xxx_messageInfo_Http1ProtocolOptions.DiscardUnknown(m)
}
var xxx_messageInfo_Http1ProtocolOptions proto.InternalMessageInfo
func (m *Http1ProtocolOptions) GetAllowAbsoluteUrl() *wrappers.BoolValue {
if m != nil {
return m.AllowAbsoluteUrl
}
return nil
}
func (m *Http1ProtocolOptions) GetAcceptHttp_10() bool {
if m != nil {
return m.AcceptHttp_10
}
return false
}
func (m *Http1ProtocolOptions) GetDefaultHostForHttp_10() string {
if m != nil {
return m.DefaultHostForHttp_10
}
return ""
}
type Http2ProtocolOptions struct {
HpackTableSize *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=hpack_table_size,json=hpackTableSize,proto3" json:"hpack_table_size,omitempty"`
MaxConcurrentStreams *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=max_concurrent_streams,json=maxConcurrentStreams,proto3" json:"max_concurrent_streams,omitempty"`
InitialStreamWindowSize *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=initial_stream_window_size,json=initialStreamWindowSize,proto3" json:"initial_stream_window_size,omitempty"`
InitialConnectionWindowSize *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=initial_connection_window_size,json=initialConnectionWindowSize,proto3" json:"initial_connection_window_size,omitempty"`
AllowConnect bool `protobuf:"varint,5,opt,name=allow_connect,json=allowConnect,proto3" json:"allow_connect,omitempty"`
AllowMetadata bool `protobuf:"varint,6,opt,name=allow_metadata,json=allowMetadata,proto3" json:"allow_metadata,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Http2ProtocolOptions) Reset() { *m = Http2ProtocolOptions{} }
func (m *Http2ProtocolOptions) String() string { return proto.CompactTextString(m) }
func (*Http2ProtocolOptions) ProtoMessage() {}
func (*Http2ProtocolOptions) Descriptor() ([]byte, []int) {
return fileDescriptor_protocol_2e969372c85b867d, []int{3}
}
func (m *Http2ProtocolOptions) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Http2ProtocolOptions.Unmarshal(m, b)
}
func (m *Http2ProtocolOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Http2ProtocolOptions.Marshal(b, m, deterministic)
}
func (dst *Http2ProtocolOptions) XXX_Merge(src proto.Message) {
xxx_messageInfo_Http2ProtocolOptions.Merge(dst, src)
}
func (m *Http2ProtocolOptions) XXX_Size() int {
return xxx_messageInfo_Http2ProtocolOptions.Size(m)
}
func (m *Http2ProtocolOptions) XXX_DiscardUnknown() {
xxx_messageInfo_Http2ProtocolOptions.DiscardUnknown(m)
}
var xxx_messageInfo_Http2ProtocolOptions proto.InternalMessageInfo
func (m *Http2ProtocolOptions) GetHpackTableSize() *wrappers.UInt32Value {
if m != nil {
return m.HpackTableSize
}
return nil
}
func (m *Http2ProtocolOptions) GetMaxConcurrentStreams() *wrappers.UInt32Value {
if m != nil {
return m.MaxConcurrentStreams
}
return nil
}
func (m *Http2ProtocolOptions) GetInitialStreamWindowSize() *wrappers.UInt32Value {
if m != nil {
return m.InitialStreamWindowSize
}
return nil
}
func (m *Http2ProtocolOptions) GetInitialConnectionWindowSize() *wrappers.UInt32Value {
if m != nil {
return m.InitialConnectionWindowSize
}
return nil
}
func (m *Http2ProtocolOptions) GetAllowConnect() bool {
if m != nil {
return m.AllowConnect
}
return false
}
func (m *Http2ProtocolOptions) GetAllowMetadata() bool {
if m != nil {
return m.AllowMetadata
}
return false
}
type GrpcProtocolOptions struct {
Http2ProtocolOptions *Http2ProtocolOptions `protobuf:"bytes,1,opt,name=http2_protocol_options,json=http2ProtocolOptions,proto3" json:"http2_protocol_options,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GrpcProtocolOptions) Reset() { *m = GrpcProtocolOptions{} }
func (m *GrpcProtocolOptions) String() string { return proto.CompactTextString(m) }
func (*GrpcProtocolOptions) ProtoMessage() {}
func (*GrpcProtocolOptions) Descriptor() ([]byte, []int) {
return fileDescriptor_protocol_2e969372c85b867d, []int{4}
}
func (m *GrpcProtocolOptions) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GrpcProtocolOptions.Unmarshal(m, b)
}
func (m *GrpcProtocolOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GrpcProtocolOptions.Marshal(b, m, deterministic)
}
func (dst *GrpcProtocolOptions) XXX_Merge(src proto.Message) {
xxx_messageInfo_GrpcProtocolOptions.Merge(dst, src)
}
func (m *GrpcProtocolOptions) XXX_Size() int {
return xxx_messageInfo_GrpcProtocolOptions.Size(m)
}
func (m *GrpcProtocolOptions) XXX_DiscardUnknown() {
xxx_messageInfo_GrpcProtocolOptions.DiscardUnknown(m)
}
var xxx_messageInfo_GrpcProtocolOptions proto.InternalMessageInfo
func (m *GrpcProtocolOptions) GetHttp2ProtocolOptions() *Http2ProtocolOptions {
if m != nil {
return m.Http2ProtocolOptions
}
return nil
}
func init() {
proto.RegisterType((*TcpProtocolOptions)(nil), "envoy.api.v2.core.TcpProtocolOptions")
proto.RegisterType((*HttpProtocolOptions)(nil), "envoy.api.v2.core.HttpProtocolOptions")
proto.RegisterType((*Http1ProtocolOptions)(nil), "envoy.api.v2.core.Http1ProtocolOptions")
proto.RegisterType((*Http2ProtocolOptions)(nil), "envoy.api.v2.core.Http2ProtocolOptions")
proto.RegisterType((*GrpcProtocolOptions)(nil), "envoy.api.v2.core.GrpcProtocolOptions")
}
func init() {
proto.RegisterFile("envoy/api/v2/core/protocol.proto", fileDescriptor_protocol_2e969372c85b867d)
}
var fileDescriptor_protocol_2e969372c85b867d = []byte{
// 556 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0x4f, 0x6f, 0xd3, 0x4c,
0x10, 0xc6, 0xe5, 0x37, 0x2f, 0xa5, 0x6c, 0xff, 0xd0, 0xba, 0x51, 0x6b, 0x0a, 0x2a, 0x51, 0x00,
0x11, 0xf5, 0x60, 0xb7, 0xae, 0xc4, 0x89, 0x0b, 0x29, 0x2a, 0xe5, 0x80, 0xa8, 0xdc, 0x16, 0x4e,
0x68, 0xb5, 0x59, 0x6f, 0x9a, 0x15, 0x1b, 0xcf, 0x6a, 0x3d, 0x4e, 0xd2, 0x7e, 0x34, 0x0e, 0x88,
0xaf, 0xc3, 0x99, 0x0f, 0x60, 0x64, 0xef, 0x26, 0x82, 0xa4, 0x12, 0x88, 0x53, 0xac, 0x99, 0xe7,
0xf9, 0x3d, 0x33, 0xf1, 0x98, 0xb4, 0x44, 0x36, 0x82, 0xeb, 0x88, 0x69, 0x19, 0x8d, 0xe2, 0x88,
0x83, 0x11, 0x91, 0x36, 0x80, 0xc0, 0x41, 0x85, 0xf5, 0x83, 0xbf, 0x59, 0x2b, 0x42, 0xa6, 0x65,
0x38, 0x8a, 0xc3, 0x4a, 0xb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6c, 0xbd, 0x31, 0x9a, 0xcf, 0xbf, 0xf3, 0x4f, 0x64, 0xbb, 0xba,
0x99, 0x98, 0x4e, 0x3f, 0x5e, 0x0a, 0xb6, 0xe3, 0xde, 0xfc, 0xf3, 0x70, 0xe1, 0x2b, 0x0e, 0x6f,
0x3b, 0x9e, 0xa4, 0x39, 0xb8, 0xa5, 0xda, 0x8d, 0xc9, 0x63, 0x09, 0x16, 0xa1, 0x0d, 0x4c, 0xae,
0x17, 0x69, 0xdd, 0xb5, 0xa9, 0xa7, 0xfe, 0x3d, 0xf3, 0x7a, 0x4b, 0xf5, 0x28, 0x47, 0x3f, 0x03,
0x00, 0x00, 0xff, 0xff, 0x8f, 0x72, 0x53, 0x8f, 0x62, 0x04, 0x00, 0x00,
}
You can’t perform that action at this time.