1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: google/api/backend.proto
6 import proto "github.com/golang/protobuf/proto"
10 // Reference imports to suppress errors if they are not otherwise used.
15 // `Backend` defines the backend configuration for a service.
17 // A list of API backend rules that apply to individual API methods.
19 // **NOTE:** All service configuration rules follow "last one wins" order.
20 Rules []*BackendRule `protobuf:"bytes,1,rep,name=rules" json:"rules,omitempty"`
23 func (m *Backend) Reset() { *m = Backend{} }
24 func (m *Backend) String() string { return proto.CompactTextString(m) }
25 func (*Backend) ProtoMessage() {}
26 func (*Backend) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
28 func (m *Backend) GetRules() []*BackendRule {
35 // A backend rule provides configuration for an individual API element.
36 type BackendRule struct {
37 // Selects the methods to which this rule applies.
39 // Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
40 Selector string `protobuf:"bytes,1,opt,name=selector" json:"selector,omitempty"`
41 // The address of the API backend.
42 Address string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"`
43 // The number of seconds to wait for a response from a request. The
44 // default depends on the deployment context.
45 Deadline float64 `protobuf:"fixed64,3,opt,name=deadline" json:"deadline,omitempty"`
48 func (m *BackendRule) Reset() { *m = BackendRule{} }
49 func (m *BackendRule) String() string { return proto.CompactTextString(m) }
50 func (*BackendRule) ProtoMessage() {}
51 func (*BackendRule) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
53 func (m *BackendRule) GetSelector() string {
60 func (m *BackendRule) GetAddress() string {
67 func (m *BackendRule) GetDeadline() float64 {
75 proto.RegisterType((*Backend)(nil), "google.api.Backend")
76 proto.RegisterType((*BackendRule)(nil), "google.api.BackendRule")
79 func init() { proto.RegisterFile("google/api/backend.proto", fileDescriptor1) }
81 var fileDescriptor1 = []byte{
82 // 227 bytes of a gzipped FileDescriptorProto
83 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0x31, 0x4f, 0x03, 0x21,
84 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