// Code generated by protoc-gen-go. DO NOT EDIT.
// source: yandex/api/operation.proto

package api // import "github.com/yandex-cloud/go-genproto/yandex/api"

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor"

// 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

// Operation is annotation for rpc that returns longrunning operation, describes
// message types that will be returned in metadata [google.protobuf.Any], and
// in response [google.protobuf.Any] (for successful operation).
type Operation struct {
	// Optional. If present, rpc returns operation which metadata field will
	// contains message of specified type.
	Metadata string `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Required. rpc returns operation, in case of success response will contains message of
	// specified field.
	Response             string   `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *Operation) Reset()         { *m = Operation{} }
func (m *Operation) String() string { return proto.CompactTextString(m) }
func (*Operation) ProtoMessage()    {}
func (*Operation) Descriptor() ([]byte, []int) {
	return fileDescriptor_operation_743b45b46a739ce6, []int{0}
}
func (m *Operation) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Operation.Unmarshal(m, b)
}
func (m *Operation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Operation.Marshal(b, m, deterministic)
}
func (dst *Operation) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Operation.Merge(dst, src)
}
func (m *Operation) XXX_Size() int {
	return xxx_messageInfo_Operation.Size(m)
}
func (m *Operation) XXX_DiscardUnknown() {
	xxx_messageInfo_Operation.DiscardUnknown(m)
}

var xxx_messageInfo_Operation proto.InternalMessageInfo

func (m *Operation) GetMetadata() string {
	if m != nil {
		return m.Metadata
	}
	return ""
}

func (m *Operation) GetResponse() string {
	if m != nil {
		return m.Response
	}
	return ""
}

var E_Operation = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MethodOptions)(nil),
	ExtensionType: (*Operation)(nil),
	Field:         87334,
	Name:          "yandex.api.operation",
	Tag:           "bytes,87334,opt,name=operation",
	Filename:      "yandex/api/operation.proto",
}

func init() {
	proto.RegisterType((*Operation)(nil), "yandex.api.Operation")
	proto.RegisterExtension(E_Operation)
}

func init() {
	proto.RegisterFile("yandex/api/operation.proto", fileDescriptor_operation_743b45b46a739ce6)
}

var fileDescriptor_operation_743b45b46a739ce6 = []byte{
	// 217 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x90, 0x31, 0x4b, 0xc4, 0x40,
	0x10, 0x85, 0x89, 0xa0, 0x98, 0xb5, 0x0b, 0x08, 0x21, 0x85, 0x04, 0xab, 0x6b, 0x6e, 0x16, 0x4e,
	0x2b, 0xed, 0xb4, 0x96, 0x83, 0x03, 0x1b, 0xbb, 0x49, 0x76, 0xdc, 0x5b, 0xb8, 0xdb, 0x19, 0x76,
	0x37, 0xa0, 0x7f, 0xc8, 0xc2, 0x5f, 0x79, 0x24, 0x4b, 0x92, 0xf2, 0xcd, 0xf7, 0x78, 0xef, 0x31,
	0xaa, 0xf9, 0x45, 0x6f, 0xe8, 0x47, 0xa3, 0x38, 0xcd, 0x42, 0x01, 0x93, 0x63, 0x0f, 0x12, 0x38,
	0x71, 0xa5, 0x32, 0x03, 0x14, 0xd7, 0xb4, 0x96, 0xd9, 0x9e, 0x48, 0x4f, 0xa4, 0x1b, 0xbe, 0xb5,
	0xa1, 0xd8, 0x07, 0x27, 0x89, 0x43, 0x76, 0x3f, 0xbe, 0xab, 0x72, 0x3f, 0x07, 0x54, 0x8d, 0xba,
	0x3d,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