mirror of
https://github.com/go-gitea/gitea
synced 2024-11-09 19:54:25 +00:00
528 lines
22 KiB
Go
528 lines
22 KiB
Go
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// source: google.golang.org/appengine/internal/urlfetch/urlfetch_service.proto
|
||
|
|
||
|
package urlfetch
|
||
|
|
||
|
import proto "github.com/golang/protobuf/proto"
|
||
|
import fmt "fmt"
|
||
|
import math "math"
|
||
|
|
||
|
// 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 URLFetchServiceError_ErrorCode int32
|
||
|
|
||
|
const (
|
||
|
URLFetchServiceError_OK URLFetchServiceError_ErrorCode = 0
|
||
|
URLFetchServiceError_INVALID_URL URLFetchServiceError_ErrorCode = 1
|
||
|
URLFetchServiceError_FETCH_ERROR URLFetchServiceError_ErrorCode = 2
|
||
|
URLFetchServiceError_UNSPECIFIED_ERROR URLFetchServiceError_ErrorCode = 3
|
||
|
URLFetchServiceError_RESPONSE_TOO_LARGE URLFetchServiceError_ErrorCode = 4
|
||
|
URLFetchServiceError_DEADLINE_EXCEEDED URLFetchServiceError_ErrorCode = 5
|
||
|
URLFetchServiceError_SSL_CERTIFICATE_ERROR URLFetchServiceError_ErrorCode = 6
|
||
|
URLFetchServiceError_DNS_ERROR URLFetchServiceError_ErrorCode = 7
|
||
|
URLFetchServiceError_CLOSED URLFetchServiceError_ErrorCode = 8
|
||
|
URLFetchServiceError_INTERNAL_TRANSIENT_ERROR URLFetchServiceError_ErrorCode = 9
|
||
|
URLFetchServiceError_TOO_MANY_REDIRECTS URLFetchServiceError_ErrorCode = 10
|
||
|
URLFetchServiceError_MALFORMED_REPLY URLFetchServiceError_ErrorCode = 11
|
||
|
URLFetchServiceError_CONNECTION_ERROR URLFetchServiceError_ErrorCode = 12
|
||
|
)
|
||
|
|
||
|
var URLFetchServiceError_ErrorCode_name = map[int32]string{
|
||
|
0: "OK",
|
||
|
1: "INVALID_URL",
|
||
|
2: "FETCH_ERROR",
|
||
|
3: "UNSPECIFIED_ERROR",
|
||
|
4: "RESPONSE_TOO_LARGE",
|
||
|
5: "DEADLINE_EXCEEDED",
|
||
|
6: "SSL_CERTIFICATE_ERROR",
|
||
|
7: "DNS_ERROR",
|
||
|
8: "CLOSED",
|
||
|
9: "INTERNAL_TRANSIENT_ERROR",
|
||
|
10: "TOO_MANY_REDIRECTS",
|
||
|
11: "MALFORMED_REPLY",
|
||
|
12: "CONNECTION_ERROR",
|
||
|
}
|
||
|
var URLFetchServiceError_ErrorCode_value = map[string]int32{
|
||
|
"OK": 0,
|
||
|
"INVALID_URL": 1,
|
||
|
"FETCH_ERROR": 2,
|
||
|
"UNSPECIFIED_ERROR": 3,
|
||
|
"RESPONSE_TOO_LARGE": 4,
|
||
|
"DEADLINE_EXCEEDED": 5,
|
||
|
"SSL_CERTIFICATE_ERROR": 6,
|
||
|
"DNS_ERROR": 7,
|
||
|
"CLOSED": 8,
|
||
|
"INTERNAL_TRANSIENT_ERROR": 9,
|
||
|
"TOO_MANY_REDIRECTS": 10,
|
||
|
"MALFORMED_REPLY": 11,
|
||
|
"CONNECTION_ERROR": 12,
|
||
|
}
|
||
|
|
||
|
func (x URLFetchServiceError_ErrorCode) Enum() *URLFetchServiceError_ErrorCode {
|
||
|
p := new(URLFetchServiceError_ErrorCode)
|
||
|
*p = x
|
||
|
return p
|
||
|
}
|
||
|
func (x URLFetchServiceError_ErrorCode) String() string {
|
||
|
return proto.EnumName(URLFetchServiceError_ErrorCode_name, int32(x))
|
||
|
}
|
||
|
func (x *URLFetchServiceError_ErrorCode) UnmarshalJSON(data []byte) error {
|
||
|
value, err := proto.UnmarshalJSONEnum(URLFetchServiceError_ErrorCode_value, data, "URLFetchServiceError_ErrorCode")
|
||
|
if err != nil {
|
||
|
return err
|
||
|
}
|
||
|
*x = URLFetchServiceError_ErrorCode(value)
|
||
|
return nil
|
||
|
}
|
||
|
func (URLFetchServiceError_ErrorCode) EnumDescriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_urlfetch_service_b245a7065f33bced, []int{0, 0}
|
||
|
}
|
||
|
|
||
|
type URLFetchRequest_RequestMethod int32
|
||
|
|
||
|
const (
|
||
|
URLFetchRequest_GET URLFetchRequest_RequestMethod = 1
|
||
|
URLFetchRequest_POST URLFetchRequest_RequestMethod = 2
|
||
|
URLFetchRequest_HEAD URLFetchRequest_RequestMethod = 3
|
||
|
URLFetchRequest_PUT URLFetchRequest_RequestMethod = 4
|
||
|
URLFetchRequest_DELETE URLFetchRequest_RequestMethod = 5
|
||
|
URLFetchRequest_PATCH URLFetchRequest_RequestMethod = 6
|
||
|
)
|
||
|
|
||
|
var URLFetchRequest_RequestMethod_name = map[int32]string{
|
||
|
1: "GET",
|
||
|
2: "POST",
|
||
|
3: "HEAD",
|
||
|
4: "PUT",
|
||
|
5: "DELETE",
|
||
|
6: "PATCH",
|
||
|
}
|
||
|
var URLFetchRequest_RequestMethod_value = map[string]int32{
|
||
|
"GET": 1,
|
||
|
"POST": 2,
|
||
|
"HEAD": 3,
|
||
|
"PUT": 4,
|
||
|
"DELETE": 5,
|
||
|
"PATCH": 6,
|
||
|
}
|
||
|
|
||
|
func (x URLFetchRequest_RequestMethod) Enum() *URLFetchRequest_RequestMethod {
|
||
|
p := new(URLFetchRequest_RequestMethod)
|
||
|
*p = x
|
||
|
return p
|
||
|
}
|
||
|
func (x URLFetchRequest_RequestMethod) String() string {
|
||
|
return proto.EnumName(URLFetchRequest_RequestMethod_name, int32(x))
|
||
|
}
|
||
|
func (x *URLFetchRequest_RequestMethod) UnmarshalJSON(data []byte) error {
|
||
|
value, err := proto.UnmarshalJSONEnum(URLFetchRequest_RequestMethod_value, data, "URLFetchRequest_RequestMethod")
|
||
|
if err != nil {
|
||
|
return err
|
||
|
}
|
||
|
*x = URLFetchRequest_RequestMethod(value)
|
||
|
return nil
|
||
|
}
|
||
|
func (URLFetchRequest_RequestMethod) EnumDescriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_urlfetch_service_b245a7065f33bced, []int{1, 0}
|
||
|
}
|
||
|
|
||
|
type URLFetchServiceError struct {
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *URLFetchServiceError) Reset() { *m = URLFetchServiceError{} }
|
||
|
func (m *URLFetchServiceError) String() string { return proto.CompactTextString(m) }
|
||
|
func (*URLFetchServiceError) ProtoMessage() {}
|
||
|
func (*URLFetchServiceError) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_urlfetch_service_b245a7065f33bced, []int{0}
|
||
|
}
|
||
|
func (m *URLFetchServiceError) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_URLFetchServiceError.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *URLFetchServiceError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_URLFetchServiceError.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (dst *URLFetchServiceError) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_URLFetchServiceError.Merge(dst, src)
|
||
|
}
|
||
|
func (m *URLFetchServiceError) XXX_Size() int {
|
||
|
return xxx_messageInfo_URLFetchServiceError.Size(m)
|
||
|
}
|
||
|
func (m *URLFetchServiceError) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_URLFetchServiceError.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_URLFetchServiceError proto.InternalMessageInfo
|
||
|
|
||
|
type URLFetchRequest struct {
|
||
|
Method *URLFetchRequest_RequestMethod `protobuf:"varint,1,req,name=Method,enum=appengine.URLFetchRequest_RequestMethod" json:"Method,omitempty"`
|
||
|
Url *string `protobuf:"bytes,2,req,name=Url" json:"Url,omitempty"`
|
||
|
Header []*URLFetchRequest_Header `protobuf:"group,3,rep,name=Header,json=header" json:"header,omitempty"`
|
||
|
Payload []byte `protobuf:"bytes,6,opt,name=Payload" json:"Payload,omitempty"`
|
||
|
FollowRedirects *bool `protobuf:"varint,7,opt,name=FollowRedirects,def=1" json:"FollowRedirects,omitempty"`
|
||
|
Deadline *float64 `protobuf:"fixed64,8,opt,name=Deadline" json:"Deadline,omitempty"`
|
||
|
MustValidateServerCertificate *bool `protobuf:"varint,9,opt,name=MustValidateServerCertificate,def=1" json:"MustValidateServerCertificate,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *URLFetchRequest) Reset() { *m = URLFetchRequest{} }
|
||
|
func (m *URLFetchRequest) String() string { return proto.CompactTextString(m) }
|
||
|
func (*URLFetchRequest) ProtoMessage() {}
|
||
|
func (*URLFetchRequest) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_urlfetch_service_b245a7065f33bced, []int{1}
|
||
|
}
|
||
|
func (m *URLFetchRequest) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_URLFetchRequest.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *URLFetchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_URLFetchRequest.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (dst *URLFetchRequest) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_URLFetchRequest.Merge(dst, src)
|
||
|
}
|
||
|
func (m *URLFetchRequest) XXX_Size() int {
|
||
|
return xxx_messageInfo_URLFetchRequest.Size(m)
|
||
|
}
|
||
|
func (m *URLFetchRequest) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_URLFetchRequest.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_URLFetchRequest proto.InternalMessageInfo
|
||
|
|
||
|
const Default_URLFetchRequest_FollowRedirects bool = true
|
||
|
const Default_URLFetchRequest_MustValidateServerCertificate bool = true
|
||
|
|
||
|
func (m *URLFetchRequest) GetMethod() URLFetchRequest_RequestMethod {
|
||
|
if m != nil && m.Method != nil {
|
||
|
return *m.Method
|
||
|
}
|
||
|
return URLFetchRequest_GET
|
||
|
}
|
||
|
|
||
|
func (m *URLFetchRequest) GetUrl() string {
|
||
|
if m != nil && m.Url != nil {
|
||
|
return *m.Url
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *URLFetchRequest) GetHeader() []*URLFetchRequest_Header {
|
||
|
if m != nil {
|
||
|
return m.Header
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *URLFetchRequest) GetPayload() []byte {
|
||
|
if m != nil {
|
||
|
return m.Payload
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *URLFetchRequest) GetFollowRedirects() bool {
|
||
|
if m != nil && m.FollowRedirects != nil {
|
||
|
return *m.FollowRedirects
|
||
|
}
|
||
|
return Default_URLFetchRequest_FollowRedirects
|
||
|
}
|
||
|
|
||
|
func (m *URLFetchRequest) GetDeadline() float64 {
|
||
|
if m != nil && m.Deadline != nil {
|
||
|
return *m.Deadline
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (m *URLFetchRequest) GetMustValidateServerCertificate() bool {
|
||
|
if m != nil && m.MustValidateServerCertificate != nil {
|
||
|
return *m.MustValidateServerCertificate
|
||
|
}
|
||
|
return Default_URLFetchRequest_MustValidateServerCertificate
|
||
|
}
|
||
|
|
||
|
type URLFetchRequest_Header struct {
|
||
|
Key *string `protobuf:"bytes,4,req,name=Key" json:"Key,omitempty"`
|
||
|
Value *string `protobuf:"bytes,5,req,name=Value" json:"Value,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *URLFetchRequest_Header) Reset() { *m = URLFetchRequest_Header{} }
|
||
|
func (m *URLFetchRequest_Header) String() string { return proto.CompactTextString(m) }
|
||
|
func (*URLFetchRequest_Header) ProtoMessage() {}
|
||
|
func (*URLFetchRequest_Header) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_urlfetch_service_b245a7065f33bced, []int{1, 0}
|
||
|
}
|
||
|
func (m *URLFetchRequest_Header) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_URLFetchRequest_Header.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *URLFetchRequest_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_URLFetchRequest_Header.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (dst *URLFetchRequest_Header) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_URLFetchRequest_Header.Merge(dst, src)
|
||
|
}
|
||
|
func (m *URLFetchRequest_Header) XXX_Size() int {
|
||
|
return xxx_messageInfo_URLFetchRequest_Header.Size(m)
|
||
|
}
|
||
|
func (m *URLFetchRequest_Header) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_URLFetchRequest_Header.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_URLFetchRequest_Header proto.InternalMessageInfo
|
||
|
|
||
|
func (m *URLFetchRequest_Header) GetKey() string {
|
||
|
if m != nil && m.Key != nil {
|
||
|
return *m.Key
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *URLFetchRequest_Header) GetValue() string {
|
||
|
if m != nil && m.Value != nil {
|
||
|
return *m.Value
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type URLFetchResponse struct {
|
||
|
Content []byte `protobuf:"bytes,1,opt,name=Content" json:"Content,omitempty"`
|
||
|
StatusCode *int32 `protobuf:"varint,2,req,name=StatusCode" json:"StatusCode,omitempty"`
|
||
|
Header []*URLFetchResponse_Header `protobuf:"group,3,rep,name=Header,json=header" json:"header,omitempty"`
|
||
|
ContentWasTruncated *bool `protobuf:"varint,6,opt,name=ContentWasTruncated,def=0" json:"ContentWasTruncated,omitempty"`
|
||
|
ExternalBytesSent *int64 `protobuf:"varint,7,opt,name=ExternalBytesSent" json:"ExternalBytesSent,omitempty"`
|
||
|
ExternalBytesReceived *int64 `protobuf:"varint,8,opt,name=ExternalBytesReceived" json:"ExternalBytesReceived,omitempty"`
|
||
|
FinalUrl *string `protobuf:"bytes,9,opt,name=FinalUrl" json:"FinalUrl,omitempty"`
|
||
|
ApiCpuMilliseconds *int64 `protobuf:"varint,10,opt,name=ApiCpuMilliseconds,def=0" json:"ApiCpuMilliseconds,omitempty"`
|
||
|
ApiBytesSent *int64 `protobuf:"varint,11,opt,name=ApiBytesSent,def=0" json:"ApiBytesSent,omitempty"`
|
||
|
ApiBytesReceived *int64 `protobuf:"varint,12,opt,name=ApiBytesReceived,def=0" json:"ApiBytesReceived,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *URLFetchResponse) Reset() { *m = URLFetchResponse{} }
|
||
|
func (m *URLFetchResponse) String() string { return proto.CompactTextString(m) }
|
||
|
func (*URLFetchResponse) ProtoMessage() {}
|
||
|
func (*URLFetchResponse) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_urlfetch_service_b245a7065f33bced, []int{2}
|
||
|
}
|
||
|
func (m *URLFetchResponse) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_URLFetchResponse.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *URLFetchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_URLFetchResponse.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (dst *URLFetchResponse) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_URLFetchResponse.Merge(dst, src)
|
||
|
}
|
||
|
func (m *URLFetchResponse) XXX_Size() int {
|
||
|
return xxx_messageInfo_URLFetchResponse.Size(m)
|
||
|
}
|
||
|
func (m *URLFetchResponse) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_URLFetchResponse.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_URLFetchResponse proto.InternalMessageInfo
|
||
|
|
||
|
const Default_URLFetchResponse_ContentWasTruncated bool = false
|
||
|
const Default_URLFetchResponse_ApiCpuMilliseconds int64 = 0
|
||
|
const Default_URLFetchResponse_ApiBytesSent int64 = 0
|
||
|
const Default_URLFetchResponse_ApiBytesReceived int64 = 0
|
||
|
|
||
|
func (m *URLFetchResponse) GetContent() []byte {
|
||
|
if m != nil {
|
||
|
return m.Content
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *URLFetchResponse) GetStatusCode() int32 {
|
||
|
if m != nil && m.StatusCode != nil {
|
||
|
return *m.StatusCode
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (m *URLFetchResponse) GetHeader() []*URLFetchResponse_Header {
|
||
|
if m != nil {
|
||
|
return m.Header
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *URLFetchResponse) GetContentWasTruncated() bool {
|
||
|
if m != nil && m.ContentWasTruncated != nil {
|
||
|
return *m.ContentWasTruncated
|
||
|
}
|
||
|
return Default_URLFetchResponse_ContentWasTruncated
|
||
|
}
|
||
|
|
||
|
func (m *URLFetchResponse) GetExternalBytesSent() int64 {
|
||
|
if m != nil && m.ExternalBytesSent != nil {
|
||
|
return *m.ExternalBytesSent
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (m *URLFetchResponse) GetExternalBytesReceived() int64 {
|
||
|
if m != nil && m.ExternalBytesReceived != nil {
|
||
|
return *m.ExternalBytesReceived
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (m *URLFetchResponse) GetFinalUrl() string {
|
||
|
if m != nil && m.FinalUrl != nil {
|
||
|
return *m.FinalUrl
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *URLFetchResponse) GetApiCpuMilliseconds() int64 {
|
||
|
if m != nil && m.ApiCpuMilliseconds != nil {
|
||
|
return *m.ApiCpuMilliseconds
|
||
|
}
|
||
|
return Default_URLFetchResponse_ApiCpuMilliseconds
|
||
|
}
|
||
|
|
||
|
func (m *URLFetchResponse) GetApiBytesSent() int64 {
|
||
|
if m != nil && m.ApiBytesSent != nil {
|
||
|
return *m.ApiBytesSent
|
||
|
}
|
||
|
return Default_URLFetchResponse_ApiBytesSent
|
||
|
}
|
||
|
|
||
|
func (m *URLFetchResponse) GetApiBytesReceived() int64 {
|
||
|
if m != nil && m.ApiBytesReceived != nil {
|
||
|
return *m.ApiBytesReceived
|
||
|
}
|
||
|
return Default_URLFetchResponse_ApiBytesReceived
|
||
|
}
|
||
|
|
||
|
type URLFetchResponse_Header struct {
|
||
|
Key *string `protobuf:"bytes,4,req,name=Key" json:"Key,omitempty"`
|
||
|
Value *string `protobuf:"bytes,5,req,name=Value" json:"Value,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *URLFetchResponse_Header) Reset() { *m = URLFetchResponse_Header{} }
|
||
|
func (m *URLFetchResponse_Header) String() string { return proto.CompactTextString(m) }
|
||
|
func (*URLFetchResponse_Header) ProtoMessage() {}
|
||
|
func (*URLFetchResponse_Header) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_urlfetch_service_b245a7065f33bced, []int{2, 0}
|
||
|
}
|
||
|
func (m *URLFetchResponse_Header) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_URLFetchResponse_Header.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *URLFetchResponse_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_URLFetchResponse_Header.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (dst *URLFetchResponse_Header) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_URLFetchResponse_Header.Merge(dst, src)
|
||
|
}
|
||
|
func (m *URLFetchResponse_Header) XXX_Size() int {
|
||
|
return xxx_messageInfo_URLFetchResponse_Header.Size(m)
|
||
|
}
|
||
|
func (m *URLFetchResponse_Header) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_URLFetchResponse_Header.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_URLFetchResponse_Header proto.InternalMessageInfo
|
||
|
|
||
|
func (m *URLFetchResponse_Header) GetKey() string {
|
||
|
if m != nil && m.Key != nil {
|
||
|
return *m.Key
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *URLFetchResponse_Header) GetValue() string {
|
||
|
if m != nil && m.Value != nil {
|
||
|
return *m.Value
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterType((*URLFetchServiceError)(nil), "appengine.URLFetchServiceError")
|
||
|
proto.RegisterType((*URLFetchRequest)(nil), "appengine.URLFetchRequest")
|
||
|
proto.RegisterType((*URLFetchRequest_Header)(nil), "appengine.URLFetchRequest.Header")
|
||
|
proto.RegisterType((*URLFetchResponse)(nil), "appengine.URLFetchResponse")
|
||
|
proto.RegisterType((*URLFetchResponse_Header)(nil), "appengine.URLFetchResponse.Header")
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterFile("google.golang.org/appengine/internal/urlfetch/urlfetch_service.proto", fileDescriptor_urlfetch_service_b245a7065f33bced)
|
||
|
}
|
||
|
|
||
|
var fileDescriptor_urlfetch_service_b245a7065f33bced = []byte{
|
||
|
// 770 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xdd, 0x6e, 0xe3, 0x54,
|
||
|
0x10, 0xc6, 0x76, 0x7e, 0xa7, 0x5d, 0x7a, 0x76, 0xb6, 0x45, 0x66, 0xb5, 0xa0, 0x10, 0x09, 0x29,
|
||
|
0x17, 0x90, 0x2e, 0x2b, 0x24, 0x44, 0xaf, 0x70, 0xed, 0x93, 0xad, 0xa9, 0x63, 0x47, 0xc7, 0x4e,
|
||
|
0x61, 0xb9, 0xb1, 0xac, 0x78, 0x9a, 0x5a, 0xb2, 0xec, 0x60, 0x9f, 0x2c, 0xf4, 0x35, 0x78, 0x0d,
|
||
|
0xde, 0x87, 0xa7, 0xe1, 0x02, 0x9d, 0xc4, 0xc9, 0x6e, 0xbb, 0xd1, 0x4a, 0x5c, 0x65, 0xe6, 0x9b,
|
||
|
0xef, 0xcc, 0x99, 0x7c, 0xdf, 0xf8, 0x80, 0xb3, 0x2c, 0xcb, 0x65, 0x4e, 0xe3, 0x65, 0x99, 0x27,
|
||
|
0xc5, 0x72, 0x5c, 0x56, 0xcb, 0xf3, 0x64, 0xb5, 0xa2, 0x62, 0x99, 0x15, 0x74, 0x9e, 0x15, 0x92,
|
||
|
0xaa, 0x22, 0xc9, 0xcf, 0xd7, 0x55, 0x7e, 0x4b, 0x72, 0x71, 0xb7, 0x0f, 0xe2, 0x9a, 0xaa, 0xb7,
|
||
|
0xd9, 0x82, 0xc6, 0xab, 0xaa, 0x94, 0x25, 0xf6, 0xf7, 0x67, 0x86, 0x7f, 0xeb, 0x70, 0x3a, 0x17,
|
||
|
0xde, 0x44, 0xb1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