Bumping k8s dependencies to 1.13
This commit is contained in:
454
vendor/google.golang.org/grpc/reflection/grpc_reflection_v1alpha/reflection.pb.go
generated
vendored
454
vendor/google.golang.org/grpc/reflection/grpc_reflection_v1alpha/reflection.pb.go
generated
vendored
@@ -1,22 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: grpc_reflection_v1alpha/reflection.proto
|
||||
|
||||
/*
|
||||
Package grpc_reflection_v1alpha is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
grpc_reflection_v1alpha/reflection.proto
|
||||
|
||||
It has these top-level messages:
|
||||
ServerReflectionRequest
|
||||
ExtensionRequest
|
||||
ServerReflectionResponse
|
||||
FileDescriptorResponse
|
||||
ExtensionNumberResponse
|
||||
ListServiceResponse
|
||||
ServiceResponse
|
||||
ErrorResponse
|
||||
*/
|
||||
package grpc_reflection_v1alpha
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
@@ -41,7 +25,7 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// The message sent by the client when calling ServerReflectionInfo method.
|
||||
type ServerReflectionRequest struct {
|
||||
Host string `protobuf:"bytes,1,opt,name=host" json:"host,omitempty"`
|
||||
Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
|
||||
// To use reflection service, the client should set one of the following
|
||||
// fields in message_request. The server distinguishes requests by their
|
||||
// defined field and then handles them using corresponding methods.
|
||||
@@ -52,46 +36,35 @@ type ServerReflectionRequest struct {
|
||||
// *ServerReflectionRequest_FileContainingExtension
|
||||
// *ServerReflectionRequest_AllExtensionNumbersOfType
|
||||
// *ServerReflectionRequest_ListServices
|
||||
MessageRequest isServerReflectionRequest_MessageRequest `protobuf_oneof:"message_request"`
|
||||
MessageRequest isServerReflectionRequest_MessageRequest `protobuf_oneof:"message_request"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ServerReflectionRequest) Reset() { *m = ServerReflectionRequest{} }
|
||||
func (m *ServerReflectionRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ServerReflectionRequest) ProtoMessage() {}
|
||||
func (*ServerReflectionRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
|
||||
type isServerReflectionRequest_MessageRequest interface {
|
||||
isServerReflectionRequest_MessageRequest()
|
||||
func (m *ServerReflectionRequest) Reset() { *m = ServerReflectionRequest{} }
|
||||
func (m *ServerReflectionRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ServerReflectionRequest) ProtoMessage() {}
|
||||
func (*ServerReflectionRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_reflection_178bd1e101bf8b63, []int{0}
|
||||
}
|
||||
func (m *ServerReflectionRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ServerReflectionRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ServerReflectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ServerReflectionRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ServerReflectionRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ServerReflectionRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *ServerReflectionRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_ServerReflectionRequest.Size(m)
|
||||
}
|
||||
func (m *ServerReflectionRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ServerReflectionRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
type ServerReflectionRequest_FileByFilename struct {
|
||||
FileByFilename string `protobuf:"bytes,3,opt,name=file_by_filename,json=fileByFilename,oneof"`
|
||||
}
|
||||
type ServerReflectionRequest_FileContainingSymbol struct {
|
||||
FileContainingSymbol string `protobuf:"bytes,4,opt,name=file_containing_symbol,json=fileContainingSymbol,oneof"`
|
||||
}
|
||||
type ServerReflectionRequest_FileContainingExtension struct {
|
||||
FileContainingExtension *ExtensionRequest `protobuf:"bytes,5,opt,name=file_containing_extension,json=fileContainingExtension,oneof"`
|
||||
}
|
||||
type ServerReflectionRequest_AllExtensionNumbersOfType struct {
|
||||
AllExtensionNumbersOfType string `protobuf:"bytes,6,opt,name=all_extension_numbers_of_type,json=allExtensionNumbersOfType,oneof"`
|
||||
}
|
||||
type ServerReflectionRequest_ListServices struct {
|
||||
ListServices string `protobuf:"bytes,7,opt,name=list_services,json=listServices,oneof"`
|
||||
}
|
||||
|
||||
func (*ServerReflectionRequest_FileByFilename) isServerReflectionRequest_MessageRequest() {}
|
||||
func (*ServerReflectionRequest_FileContainingSymbol) isServerReflectionRequest_MessageRequest() {}
|
||||
func (*ServerReflectionRequest_FileContainingExtension) isServerReflectionRequest_MessageRequest() {}
|
||||
func (*ServerReflectionRequest_AllExtensionNumbersOfType) isServerReflectionRequest_MessageRequest() {}
|
||||
func (*ServerReflectionRequest_ListServices) isServerReflectionRequest_MessageRequest() {}
|
||||
|
||||
func (m *ServerReflectionRequest) GetMessageRequest() isServerReflectionRequest_MessageRequest {
|
||||
if m != nil {
|
||||
return m.MessageRequest
|
||||
}
|
||||
return nil
|
||||
}
|
||||
var xxx_messageInfo_ServerReflectionRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *ServerReflectionRequest) GetHost() string {
|
||||
if m != nil {
|
||||
@@ -100,6 +73,47 @@ func (m *ServerReflectionRequest) GetHost() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
type isServerReflectionRequest_MessageRequest interface {
|
||||
isServerReflectionRequest_MessageRequest()
|
||||
}
|
||||
|
||||
type ServerReflectionRequest_FileByFilename struct {
|
||||
FileByFilename string `protobuf:"bytes,3,opt,name=file_by_filename,json=fileByFilename,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ServerReflectionRequest_FileContainingSymbol struct {
|
||||
FileContainingSymbol string `protobuf:"bytes,4,opt,name=file_containing_symbol,json=fileContainingSymbol,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ServerReflectionRequest_FileContainingExtension struct {
|
||||
FileContainingExtension *ExtensionRequest `protobuf:"bytes,5,opt,name=file_containing_extension,json=fileContainingExtension,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ServerReflectionRequest_AllExtensionNumbersOfType struct {
|
||||
AllExtensionNumbersOfType string `protobuf:"bytes,6,opt,name=all_extension_numbers_of_type,json=allExtensionNumbersOfType,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ServerReflectionRequest_ListServices struct {
|
||||
ListServices string `protobuf:"bytes,7,opt,name=list_services,json=listServices,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*ServerReflectionRequest_FileByFilename) isServerReflectionRequest_MessageRequest() {}
|
||||
|
||||
func (*ServerReflectionRequest_FileContainingSymbol) isServerReflectionRequest_MessageRequest() {}
|
||||
|
||||
func (*ServerReflectionRequest_FileContainingExtension) isServerReflectionRequest_MessageRequest() {}
|
||||
|
||||
func (*ServerReflectionRequest_AllExtensionNumbersOfType) isServerReflectionRequest_MessageRequest() {}
|
||||
|
||||
func (*ServerReflectionRequest_ListServices) isServerReflectionRequest_MessageRequest() {}
|
||||
|
||||
func (m *ServerReflectionRequest) GetMessageRequest() isServerReflectionRequest_MessageRequest {
|
||||
if m != nil {
|
||||
return m.MessageRequest
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ServerReflectionRequest) GetFileByFilename() string {
|
||||
if x, ok := m.GetMessageRequest().(*ServerReflectionRequest_FileByFilename); ok {
|
||||
return x.FileByFilename
|
||||
@@ -223,24 +237,24 @@ func _ServerReflectionRequest_OneofSizer(msg proto.Message) (n int) {
|
||||
// message_request
|
||||
switch x := m.MessageRequest.(type) {
|
||||
case *ServerReflectionRequest_FileByFilename:
|
||||
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.FileByFilename)))
|
||||
n += len(x.FileByFilename)
|
||||
case *ServerReflectionRequest_FileContainingSymbol:
|
||||
n += proto.SizeVarint(4<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.FileContainingSymbol)))
|
||||
n += len(x.FileContainingSymbol)
|
||||
case *ServerReflectionRequest_FileContainingExtension:
|
||||
s := proto.Size(x.FileContainingExtension)
|
||||
n += proto.SizeVarint(5<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *ServerReflectionRequest_AllExtensionNumbersOfType:
|
||||
n += proto.SizeVarint(6<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.AllExtensionNumbersOfType)))
|
||||
n += len(x.AllExtensionNumbersOfType)
|
||||
case *ServerReflectionRequest_ListServices:
|
||||
n += proto.SizeVarint(7<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.ListServices)))
|
||||
n += len(x.ListServices)
|
||||
case nil:
|
||||
@@ -254,14 +268,36 @@ func _ServerReflectionRequest_OneofSizer(msg proto.Message) (n int) {
|
||||
// file_containing_extension.
|
||||
type ExtensionRequest struct {
|
||||
// Fully-qualified type name. The format should be <package>.<type>
|
||||
ContainingType string `protobuf:"bytes,1,opt,name=containing_type,json=containingType" json:"containing_type,omitempty"`
|
||||
ExtensionNumber int32 `protobuf:"varint,2,opt,name=extension_number,json=extensionNumber" json:"extension_number,omitempty"`
|
||||
ContainingType string `protobuf:"bytes,1,opt,name=containing_type,json=containingType,proto3" json:"containing_type,omitempty"`
|
||||
ExtensionNumber int32 `protobuf:"varint,2,opt,name=extension_number,json=extensionNumber,proto3" json:"extension_number,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ExtensionRequest) Reset() { *m = ExtensionRequest{} }
|
||||
func (m *ExtensionRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ExtensionRequest) ProtoMessage() {}
|
||||
func (*ExtensionRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
func (m *ExtensionRequest) Reset() { *m = ExtensionRequest{} }
|
||||
func (m *ExtensionRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ExtensionRequest) ProtoMessage() {}
|
||||
func (*ExtensionRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_reflection_178bd1e101bf8b63, []int{1}
|
||||
}
|
||||
func (m *ExtensionRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ExtensionRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ExtensionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ExtensionRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ExtensionRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ExtensionRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *ExtensionRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_ExtensionRequest.Size(m)
|
||||
}
|
||||
func (m *ExtensionRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ExtensionRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ExtensionRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *ExtensionRequest) GetContainingType() string {
|
||||
if m != nil {
|
||||
@@ -279,53 +315,45 @@ func (m *ExtensionRequest) GetExtensionNumber() int32 {
|
||||
|
||||
// The message sent by the server to answer ServerReflectionInfo method.
|
||||
type ServerReflectionResponse struct {
|
||||
ValidHost string `protobuf:"bytes,1,opt,name=valid_host,json=validHost" json:"valid_host,omitempty"`
|
||||
OriginalRequest *ServerReflectionRequest `protobuf:"bytes,2,opt,name=original_request,json=originalRequest" json:"original_request,omitempty"`
|
||||
// The server set one of the following fields according to the message_request
|
||||
// in the request.
|
||||
ValidHost string `protobuf:"bytes,1,opt,name=valid_host,json=validHost,proto3" json:"valid_host,omitempty"`
|
||||
OriginalRequest *ServerReflectionRequest `protobuf:"bytes,2,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"`
|
||||
// The server sets one of the following fields according to the
|
||||
// message_request in the request.
|
||||
//
|
||||
// Types that are valid to be assigned to MessageResponse:
|
||||
// *ServerReflectionResponse_FileDescriptorResponse
|
||||
// *ServerReflectionResponse_AllExtensionNumbersResponse
|
||||
// *ServerReflectionResponse_ListServicesResponse
|
||||
// *ServerReflectionResponse_ErrorResponse
|
||||
MessageResponse isServerReflectionResponse_MessageResponse `protobuf_oneof:"message_response"`
|
||||
MessageResponse isServerReflectionResponse_MessageResponse `protobuf_oneof:"message_response"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ServerReflectionResponse) Reset() { *m = ServerReflectionResponse{} }
|
||||
func (m *ServerReflectionResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ServerReflectionResponse) ProtoMessage() {}
|
||||
func (*ServerReflectionResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
|
||||
type isServerReflectionResponse_MessageResponse interface {
|
||||
isServerReflectionResponse_MessageResponse()
|
||||
func (m *ServerReflectionResponse) Reset() { *m = ServerReflectionResponse{} }
|
||||
func (m *ServerReflectionResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ServerReflectionResponse) ProtoMessage() {}
|
||||
func (*ServerReflectionResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_reflection_178bd1e101bf8b63, []int{2}
|
||||
}
|
||||
func (m *ServerReflectionResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ServerReflectionResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ServerReflectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ServerReflectionResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ServerReflectionResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ServerReflectionResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *ServerReflectionResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_ServerReflectionResponse.Size(m)
|
||||
}
|
||||
func (m *ServerReflectionResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ServerReflectionResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
type ServerReflectionResponse_FileDescriptorResponse struct {
|
||||
FileDescriptorResponse *FileDescriptorResponse `protobuf:"bytes,4,opt,name=file_descriptor_response,json=fileDescriptorResponse,oneof"`
|
||||
}
|
||||
type ServerReflectionResponse_AllExtensionNumbersResponse struct {
|
||||
AllExtensionNumbersResponse *ExtensionNumberResponse `protobuf:"bytes,5,opt,name=all_extension_numbers_response,json=allExtensionNumbersResponse,oneof"`
|
||||
}
|
||||
type ServerReflectionResponse_ListServicesResponse struct {
|
||||
ListServicesResponse *ListServiceResponse `protobuf:"bytes,6,opt,name=list_services_response,json=listServicesResponse,oneof"`
|
||||
}
|
||||
type ServerReflectionResponse_ErrorResponse struct {
|
||||
ErrorResponse *ErrorResponse `protobuf:"bytes,7,opt,name=error_response,json=errorResponse,oneof"`
|
||||
}
|
||||
|
||||
func (*ServerReflectionResponse_FileDescriptorResponse) isServerReflectionResponse_MessageResponse() {}
|
||||
func (*ServerReflectionResponse_AllExtensionNumbersResponse) isServerReflectionResponse_MessageResponse() {
|
||||
}
|
||||
func (*ServerReflectionResponse_ListServicesResponse) isServerReflectionResponse_MessageResponse() {}
|
||||
func (*ServerReflectionResponse_ErrorResponse) isServerReflectionResponse_MessageResponse() {}
|
||||
|
||||
func (m *ServerReflectionResponse) GetMessageResponse() isServerReflectionResponse_MessageResponse {
|
||||
if m != nil {
|
||||
return m.MessageResponse
|
||||
}
|
||||
return nil
|
||||
}
|
||||
var xxx_messageInfo_ServerReflectionResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *ServerReflectionResponse) GetValidHost() string {
|
||||
if m != nil {
|
||||
@@ -341,6 +369,42 @@ func (m *ServerReflectionResponse) GetOriginalRequest() *ServerReflectionRequest
|
||||
return nil
|
||||
}
|
||||
|
||||
type isServerReflectionResponse_MessageResponse interface {
|
||||
isServerReflectionResponse_MessageResponse()
|
||||
}
|
||||
|
||||
type ServerReflectionResponse_FileDescriptorResponse struct {
|
||||
FileDescriptorResponse *FileDescriptorResponse `protobuf:"bytes,4,opt,name=file_descriptor_response,json=fileDescriptorResponse,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ServerReflectionResponse_AllExtensionNumbersResponse struct {
|
||||
AllExtensionNumbersResponse *ExtensionNumberResponse `protobuf:"bytes,5,opt,name=all_extension_numbers_response,json=allExtensionNumbersResponse,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ServerReflectionResponse_ListServicesResponse struct {
|
||||
ListServicesResponse *ListServiceResponse `protobuf:"bytes,6,opt,name=list_services_response,json=listServicesResponse,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ServerReflectionResponse_ErrorResponse struct {
|
||||
ErrorResponse *ErrorResponse `protobuf:"bytes,7,opt,name=error_response,json=errorResponse,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*ServerReflectionResponse_FileDescriptorResponse) isServerReflectionResponse_MessageResponse() {}
|
||||
|
||||
func (*ServerReflectionResponse_AllExtensionNumbersResponse) isServerReflectionResponse_MessageResponse() {
|
||||
}
|
||||
|
||||
func (*ServerReflectionResponse_ListServicesResponse) isServerReflectionResponse_MessageResponse() {}
|
||||
|
||||
func (*ServerReflectionResponse_ErrorResponse) isServerReflectionResponse_MessageResponse() {}
|
||||
|
||||
func (m *ServerReflectionResponse) GetMessageResponse() isServerReflectionResponse_MessageResponse {
|
||||
if m != nil {
|
||||
return m.MessageResponse
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ServerReflectionResponse) GetFileDescriptorResponse() *FileDescriptorResponse {
|
||||
if x, ok := m.GetMessageResponse().(*ServerReflectionResponse_FileDescriptorResponse); ok {
|
||||
return x.FileDescriptorResponse
|
||||
@@ -456,22 +520,22 @@ func _ServerReflectionResponse_OneofSizer(msg proto.Message) (n int) {
|
||||
switch x := m.MessageResponse.(type) {
|
||||
case *ServerReflectionResponse_FileDescriptorResponse:
|
||||
s := proto.Size(x.FileDescriptorResponse)
|
||||
n += proto.SizeVarint(4<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *ServerReflectionResponse_AllExtensionNumbersResponse:
|
||||
s := proto.Size(x.AllExtensionNumbersResponse)
|
||||
n += proto.SizeVarint(5<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *ServerReflectionResponse_ListServicesResponse:
|
||||
s := proto.Size(x.ListServicesResponse)
|
||||
n += proto.SizeVarint(6<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *ServerReflectionResponse_ErrorResponse:
|
||||
s := proto.Size(x.ErrorResponse)
|
||||
n += proto.SizeVarint(7<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
@@ -488,13 +552,35 @@ type FileDescriptorResponse struct {
|
||||
// Serialized FileDescriptorProto messages. We avoid taking a dependency on
|
||||
// descriptor.proto, which uses proto2 only features, by making them opaque
|
||||
// bytes instead.
|
||||
FileDescriptorProto [][]byte `protobuf:"bytes,1,rep,name=file_descriptor_proto,json=fileDescriptorProto,proto3" json:"file_descriptor_proto,omitempty"`
|
||||
FileDescriptorProto [][]byte `protobuf:"bytes,1,rep,name=file_descriptor_proto,json=fileDescriptorProto,proto3" json:"file_descriptor_proto,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *FileDescriptorResponse) Reset() { *m = FileDescriptorResponse{} }
|
||||
func (m *FileDescriptorResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*FileDescriptorResponse) ProtoMessage() {}
|
||||
func (*FileDescriptorResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||
func (m *FileDescriptorResponse) Reset() { *m = FileDescriptorResponse{} }
|
||||
func (m *FileDescriptorResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*FileDescriptorResponse) ProtoMessage() {}
|
||||
func (*FileDescriptorResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_reflection_178bd1e101bf8b63, []int{3}
|
||||
}
|
||||
func (m *FileDescriptorResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_FileDescriptorResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *FileDescriptorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_FileDescriptorResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *FileDescriptorResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_FileDescriptorResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *FileDescriptorResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_FileDescriptorResponse.Size(m)
|
||||
}
|
||||
func (m *FileDescriptorResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_FileDescriptorResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_FileDescriptorResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *FileDescriptorResponse) GetFileDescriptorProto() [][]byte {
|
||||
if m != nil {
|
||||
@@ -508,14 +594,36 @@ func (m *FileDescriptorResponse) GetFileDescriptorProto() [][]byte {
|
||||
type ExtensionNumberResponse struct {
|
||||
// Full name of the base type, including the package name. The format
|
||||
// is <package>.<type>
|
||||
BaseTypeName string `protobuf:"bytes,1,opt,name=base_type_name,json=baseTypeName" json:"base_type_name,omitempty"`
|
||||
ExtensionNumber []int32 `protobuf:"varint,2,rep,packed,name=extension_number,json=extensionNumber" json:"extension_number,omitempty"`
|
||||
BaseTypeName string `protobuf:"bytes,1,opt,name=base_type_name,json=baseTypeName,proto3" json:"base_type_name,omitempty"`
|
||||
ExtensionNumber []int32 `protobuf:"varint,2,rep,packed,name=extension_number,json=extensionNumber,proto3" json:"extension_number,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ExtensionNumberResponse) Reset() { *m = ExtensionNumberResponse{} }
|
||||
func (m *ExtensionNumberResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ExtensionNumberResponse) ProtoMessage() {}
|
||||
func (*ExtensionNumberResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
||||
func (m *ExtensionNumberResponse) Reset() { *m = ExtensionNumberResponse{} }
|
||||
func (m *ExtensionNumberResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ExtensionNumberResponse) ProtoMessage() {}
|
||||
func (*ExtensionNumberResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_reflection_178bd1e101bf8b63, []int{4}
|
||||
}
|
||||
func (m *ExtensionNumberResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ExtensionNumberResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ExtensionNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ExtensionNumberResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ExtensionNumberResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ExtensionNumberResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *ExtensionNumberResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_ExtensionNumberResponse.Size(m)
|
||||
}
|
||||
func (m *ExtensionNumberResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ExtensionNumberResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ExtensionNumberResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *ExtensionNumberResponse) GetBaseTypeName() string {
|
||||
if m != nil {
|
||||
@@ -535,13 +643,35 @@ func (m *ExtensionNumberResponse) GetExtensionNumber() []int32 {
|
||||
type ListServiceResponse struct {
|
||||
// The information of each service may be expanded in the future, so we use
|
||||
// ServiceResponse message to encapsulate it.
|
||||
Service []*ServiceResponse `protobuf:"bytes,1,rep,name=service" json:"service,omitempty"`
|
||||
Service []*ServiceResponse `protobuf:"bytes,1,rep,name=service,proto3" json:"service,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ListServiceResponse) Reset() { *m = ListServiceResponse{} }
|
||||
func (m *ListServiceResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListServiceResponse) ProtoMessage() {}
|
||||
func (*ListServiceResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||||
func (m *ListServiceResponse) Reset() { *m = ListServiceResponse{} }
|
||||
func (m *ListServiceResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListServiceResponse) ProtoMessage() {}
|
||||
func (*ListServiceResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_reflection_178bd1e101bf8b63, []int{5}
|
||||
}
|
||||
func (m *ListServiceResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ListServiceResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ListServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ListServiceResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ListServiceResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ListServiceResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *ListServiceResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_ListServiceResponse.Size(m)
|
||||
}
|
||||
func (m *ListServiceResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ListServiceResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ListServiceResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *ListServiceResponse) GetService() []*ServiceResponse {
|
||||
if m != nil {
|
||||
@@ -555,13 +685,35 @@ func (m *ListServiceResponse) GetService() []*ServiceResponse {
|
||||
type ServiceResponse struct {
|
||||
// Full name of a registered service, including its package name. The format
|
||||
// is <package>.<service>
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ServiceResponse) Reset() { *m = ServiceResponse{} }
|
||||
func (m *ServiceResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ServiceResponse) ProtoMessage() {}
|
||||
func (*ServiceResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
||||
func (m *ServiceResponse) Reset() { *m = ServiceResponse{} }
|
||||
func (m *ServiceResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ServiceResponse) ProtoMessage() {}
|
||||
func (*ServiceResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_reflection_178bd1e101bf8b63, []int{6}
|
||||
}
|
||||
func (m *ServiceResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ServiceResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ServiceResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ServiceResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ServiceResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *ServiceResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_ServiceResponse.Size(m)
|
||||
}
|
||||
func (m *ServiceResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ServiceResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ServiceResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *ServiceResponse) GetName() string {
|
||||
if m != nil {
|
||||
@@ -573,14 +725,36 @@ func (m *ServiceResponse) GetName() string {
|
||||
// The error code and error message sent by the server when an error occurs.
|
||||
type ErrorResponse struct {
|
||||
// This field uses the error codes defined in grpc::StatusCode.
|
||||
ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"`
|
||||
ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
|
||||
ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
|
||||
ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ErrorResponse) Reset() { *m = ErrorResponse{} }
|
||||
func (m *ErrorResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ErrorResponse) ProtoMessage() {}
|
||||
func (*ErrorResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
||||
func (m *ErrorResponse) Reset() { *m = ErrorResponse{} }
|
||||
func (m *ErrorResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ErrorResponse) ProtoMessage() {}
|
||||
func (*ErrorResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_reflection_178bd1e101bf8b63, []int{7}
|
||||
}
|
||||
func (m *ErrorResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ErrorResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ErrorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ErrorResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ErrorResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ErrorResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *ErrorResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_ErrorResponse.Size(m)
|
||||
}
|
||||
func (m *ErrorResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ErrorResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ErrorResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *ErrorResponse) GetErrorCode() int32 {
|
||||
if m != nil {
|
||||
@@ -615,8 +789,9 @@ var _ grpc.ClientConn
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// Client API for ServerReflection service
|
||||
|
||||
// ServerReflectionClient is the client API for ServerReflection service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
type ServerReflectionClient interface {
|
||||
// The reflection service is structured as a bidirectional stream, ensuring
|
||||
// all related requests go to a single server.
|
||||
@@ -632,7 +807,7 @@ func NewServerReflectionClient(cc *grpc.ClientConn) ServerReflectionClient {
|
||||
}
|
||||
|
||||
func (c *serverReflectionClient) ServerReflectionInfo(ctx context.Context, opts ...grpc.CallOption) (ServerReflection_ServerReflectionInfoClient, error) {
|
||||
stream, err := grpc.NewClientStream(ctx, &_ServerReflection_serviceDesc.Streams[0], c.cc, "/grpc.reflection.v1alpha.ServerReflection/ServerReflectionInfo", opts...)
|
||||
stream, err := c.cc.NewStream(ctx, &_ServerReflection_serviceDesc.Streams[0], "/grpc.reflection.v1alpha.ServerReflection/ServerReflectionInfo", opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -662,8 +837,7 @@ func (x *serverReflectionServerReflectionInfoClient) Recv() (*ServerReflectionRe
|
||||
return m, nil
|
||||
}
|
||||
|
||||
// Server API for ServerReflection service
|
||||
|
||||
// ServerReflectionServer is the server API for ServerReflection service.
|
||||
type ServerReflectionServer interface {
|
||||
// The reflection service is structured as a bidirectional stream, ensuring
|
||||
// all related requests go to a single server.
|
||||
@@ -715,9 +889,11 @@ var _ServerReflection_serviceDesc = grpc.ServiceDesc{
|
||||
Metadata: "grpc_reflection_v1alpha/reflection.proto",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("grpc_reflection_v1alpha/reflection.proto", fileDescriptor0) }
|
||||
func init() {
|
||||
proto.RegisterFile("grpc_reflection_v1alpha/reflection.proto", fileDescriptor_reflection_178bd1e101bf8b63)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_reflection_178bd1e101bf8b63 = []byte{
|
||||
// 656 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x51, 0x73, 0xd2, 0x40,
|
||||
0x10, 0x6e, 0x5a, 0x68, 0x87, 0x85, 0x02, 0x5e, 0x2b, 0xa4, 0x3a, 0x75, 0x98, 0x68, 0x35, 0x75,
|
||||
|
12
vendor/google.golang.org/grpc/reflection/grpc_reflection_v1alpha/reflection.proto
generated
vendored
12
vendor/google.golang.org/grpc/reflection/grpc_reflection_v1alpha/reflection.proto
generated
vendored
@@ -72,21 +72,21 @@ message ExtensionRequest {
|
||||
message ServerReflectionResponse {
|
||||
string valid_host = 1;
|
||||
ServerReflectionRequest original_request = 2;
|
||||
// The server set one of the following fields according to the message_request
|
||||
// in the request.
|
||||
// The server sets one of the following fields according to the
|
||||
// message_request in the request.
|
||||
oneof message_response {
|
||||
// This message is used to answer file_by_filename, file_containing_symbol,
|
||||
// file_containing_extension requests with transitive dependencies. As
|
||||
// the repeated label is not allowed in oneof fields, we use a
|
||||
// file_containing_extension requests with transitive dependencies.
|
||||
// As the repeated label is not allowed in oneof fields, we use a
|
||||
// FileDescriptorResponse message to encapsulate the repeated fields.
|
||||
// The reflection service is allowed to avoid sending FileDescriptorProtos
|
||||
// that were previously sent in response to earlier requests in the stream.
|
||||
FileDescriptorResponse file_descriptor_response = 4;
|
||||
|
||||
// This message is used to answer all_extension_numbers_of_type requst.
|
||||
// This message is used to answer all_extension_numbers_of_type requests.
|
||||
ExtensionNumberResponse all_extension_numbers_response = 5;
|
||||
|
||||
// This message is used to answer list_services request.
|
||||
// This message is used to answer list_services requests.
|
||||
ListServiceResponse list_services_response = 6;
|
||||
|
||||
// This message is used when an error occurs.
|
||||
|
Reference in New Issue
Block a user