113 lines
4.4 KiB
Go
113 lines
4.4 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: yandex/cloud/api/operation.proto
|
|
|
|
package api
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor"
|
|
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.ProtoPackageIsVersion3 // 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_6f0479639ad85daa, []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 (m *Operation) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Operation.Merge(m, 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.cloud.api.operation",
|
|
Tag: "bytes,87334,opt,name=operation",
|
|
Filename: "yandex/cloud/api/operation.proto",
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*Operation)(nil), "yandex.cloud.api.Operation")
|
|
proto.RegisterExtension(E_Operation)
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterFile("yandex/cloud/api/operation.proto", fileDescriptor_6f0479639ad85daa)
|
|
}
|
|
|
|
var fileDescriptor_6f0479639ad85daa = []byte{
|
|
// 222 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0xbf, 0x4a, 0x03, 0x41,
|
|
0x10, 0xc6, 0x39, 0x41, 0xf1, 0xce, 0x46, 0xae, 0x3a, 0x22, 0xc8, 0x62, 0x95, 0x26, 0xb3, 0xa0,
|
|
0x8d, 0xc4, 0x4e, 0x6b, 0x09, 0xa4, 0xd4, 0x6a, 0xee, 0x76, 0xdc, 0x2c, 0x24, 0x3b, 0xc3, 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