Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
fuchsia.googlesource.com-third_party-github.com-googleapis-go-genproto
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fuchsia-mirror
fuchsia.googlesource.com-third_party-github.com-googleapis-go-genproto
Commits
383e8b2c
Commit
383e8b2c
authored
6 years ago
by
Dmitry Doroginin
Committed by
Michael Darakananda
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add response field to HttpRule (#87)
parent
daca9465
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
googleapis/api/annotations/http.pb.go
+45
-33
45 additions, 33 deletions
googleapis/api/annotations/http.pb.go
with
45 additions
and
33 deletions
googleapis/api/annotations/http.pb.go
+
45
−
33
View file @
383e8b2c
...
@@ -42,7 +42,7 @@ func (m *Http) Reset() { *m = Http{} }
...
@@ -42,7 +42,7 @@ func (m *Http) Reset() { *m = Http{} }
func
(
m
*
Http
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
Http
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Http
)
ProtoMessage
()
{}
func
(
*
Http
)
ProtoMessage
()
{}
func
(
*
Http
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
Http
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_http_
98c2ff955ca74b42
,
[]
int
{
0
}
return
fileDescriptor_http_
e457621dddd7365b
,
[]
int
{
0
}
}
}
func
(
m
*
Http
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
Http
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_Http
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_Http
.
Unmarshal
(
m
,
b
)
...
@@ -315,6 +315,10 @@ type HttpRule struct {
...
@@ -315,6 +315,10 @@ type HttpRule struct {
// body. NOTE: the referred field must not be a repeated field and must be
// body. NOTE: the referred field must not be a repeated field and must be
// present at the top-level of request message type.
// present at the top-level of request message type.
Body
string
`protobuf:"bytes,7,opt,name=body,proto3" json:"body,omitempty"`
Body
string
`protobuf:"bytes,7,opt,name=body,proto3" json:"body,omitempty"`
// Optional. The name of the response field whose value is mapped to the HTTP
// body of response. Other response fields are ignored. When
// not set, the response message will be used as HTTP body of response.
ResponseBody
string
`protobuf:"bytes,12,opt,name=response_body,json=responseBody,proto3" json:"response_body,omitempty"`
// Additional HTTP bindings for the selector. Nested bindings must
// Additional HTTP bindings for the selector. Nested bindings must
// not contain an `additional_bindings` field themselves (that is,
// not contain an `additional_bindings` field themselves (that is,
// the nesting may only be one level deep).
// the nesting may only be one level deep).
...
@@ -328,7 +332,7 @@ func (m *HttpRule) Reset() { *m = HttpRule{} }
...
@@ -328,7 +332,7 @@ func (m *HttpRule) Reset() { *m = HttpRule{} }
func
(
m
*
HttpRule
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
HttpRule
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
HttpRule
)
ProtoMessage
()
{}
func
(
*
HttpRule
)
ProtoMessage
()
{}
func
(
*
HttpRule
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
HttpRule
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_http_
98c2ff955ca74b42
,
[]
int
{
1
}
return
fileDescriptor_http_
e457621dddd7365b
,
[]
int
{
1
}
}
}
func
(
m
*
HttpRule
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
HttpRule
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_HttpRule
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_HttpRule
.
Unmarshal
(
m
,
b
)
...
@@ -451,6 +455,13 @@ func (m *HttpRule) GetBody() string {
...
@@ -451,6 +455,13 @@ func (m *HttpRule) GetBody() string {
return
""
return
""
}
}
func
(
m
*
HttpRule
)
GetResponseBody
()
string
{
if
m
!=
nil
{
return
m
.
ResponseBody
}
return
""
}
func
(
m
*
HttpRule
)
GetAdditionalBindings
()
[]
*
HttpRule
{
func
(
m
*
HttpRule
)
GetAdditionalBindings
()
[]
*
HttpRule
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
AdditionalBindings
return
m
.
AdditionalBindings
...
@@ -603,7 +614,7 @@ func (m *CustomHttpPattern) Reset() { *m = CustomHttpPattern{} }
...
@@ -603,7 +614,7 @@ func (m *CustomHttpPattern) Reset() { *m = CustomHttpPattern{} }
func
(
m
*
CustomHttpPattern
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
CustomHttpPattern
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
CustomHttpPattern
)
ProtoMessage
()
{}
func
(
*
CustomHttpPattern
)
ProtoMessage
()
{}
func
(
*
CustomHttpPattern
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
CustomHttpPattern
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_http_
98c2ff955ca74b42
,
[]
int
{
2
}
return
fileDescriptor_http_
e457621dddd7365b
,
[]
int
{
2
}
}
}
func
(
m
*
CustomHttpPattern
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
CustomHttpPattern
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_CustomHttpPattern
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_CustomHttpPattern
.
Unmarshal
(
m
,
b
)
...
@@ -643,34 +654,35 @@ func init() {
...
@@ -643,34 +654,35 @@ func init() {
proto
.
RegisterType
((
*
CustomHttpPattern
)(
nil
),
"google.api.CustomHttpPattern"
)
proto
.
RegisterType
((
*
CustomHttpPattern
)(
nil
),
"google.api.CustomHttpPattern"
)
}
}
func
init
()
{
proto
.
RegisterFile
(
"google/api/http.proto"
,
fileDescriptor_http_98c2ff955ca74b42
)
}
func
init
()
{
proto
.
RegisterFile
(
"google/api/http.proto"
,
fileDescriptor_http_e457621dddd7365b
)
}
var
fileDescriptor_http_98c2ff955ca74b42
=
[]
byte
{
var
fileDescriptor_http_e457621dddd7365b
=
[]
byte
{
// 401 bytes of a gzipped FileDescriptorProto
// 419 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x7c
,
0x92
,
0x41
,
0xab
,
0x13
,
0x31
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x7c
,
0x92
,
0xc1
,
0x8e
,
0xd3
,
0x30
,
0x10
,
0xc7
,
0xdd
,
0x76
,
0xdb
,
0xd7
,
0x4e
,
0x41
,
0x30
,
0x3e
,
0x25
,
0x88
,
0x62
,
0xe9
,
0xa9
,
0x78
,
0x10
,
0x86
,
0x49
,
0x9b
,
0x76
,
0xdb
,
0xe9
,
0x82
,
0x84
,
0x59
,
0x90
,
0x85
,
0x40
,
0x54
,
0xe5
,
0x52
,
0xd8
,
0xc2
,
0xf3
,
0xe0
,
0xe1
,
0x9d
,
0x5e
,
0xb5
,
0xf8
,
0xbc
,
0x95
,
0x3d
,
0x7a
,
0x29
,
0xe9
,
0x66
,
0x71
,
0x48
,
0xa5
,
0xe5
,
0xc0
,
0x61
,
0x4f
,
0x1b
,
0xa8
,
0x58
,
0x6e
,
0x55
,
0x8e
,
0x5c
,
0x22
,
0x37
,
0x4c
,
0xa3
,
0x79
,
0x49
,
0xd8
,
0xcc
,
0x8a
,
0xfd
,
0x3a
,
0x7e
,
0x07
,
0xbf
,
0x9b
,
0x47
,
0x49
,
0x36
,
0x1e
,
0x52
,
0x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
,
0xf1
,
0xef
,
0xa2
,
0xf8
,
0x39
,
0x28
,
0x3f
,
0xde
,
0x6d
,
0x3f
,
0xed
,
0xc7
,
0xcc
,
0x36
,
0xf5
,
0xa6
,
0x46
,
0x13
,
0x6f
,
0x6b
,
0xd3
,
0x59
,
0xc2
,
0x29
,
0x1f
,
0xaf
,
0x4e
,
0x18
,
0xe9
,
0xdd
,
0xdb
,
0x3f
,
0x01
,
0x00
,
0x00
,
0xff
,
0xff
,
0x73
,
0x2c
,
0xed
,
0xfb
,
0x87
,
0x02
,
0x00
,
0x63
,
0x49
,
0x84
,
0x98
,
0xfe
,
0xe6
,
0xac
,
0xfe
,
0x9d
,
0x24
,
0x3f
,
0x47
,
0xe9
,
0xc7
,
0xdb
,
0xdd
,
0x00
,
0xa7
,
0xfd
,
0x34
,
0xbe
,
0x7b
,
0xfb
,
0x27
,
0x00
,
0x00
,
0xff
,
0xff
,
0xae
,
0xde
,
0xa1
,
0xd0
,
0xac
,
0x02
,
0x00
,
0x00
,
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment