forked from googleapis/java-spanner
/
annotation_payload.pb.go
122 lines (104 loc) · 4.9 KB
/
annotation_payload.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/automl/v1/annotation_payload.proto
package automl
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
_ "github.com/golang/protobuf/ptypes/any"
_ "google.golang.org/genproto/googleapis/api/annotations"
)
// 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
// Contains annotation information that is relevant to AutoML.
type AnnotationPayload struct {
// Output only . Additional information about the annotation
// specific to the AutoML domain.
//
// Types that are valid to be assigned to Detail:
// *AnnotationPayload_Translation
Detail isAnnotationPayload_Detail `protobuf_oneof:"detail"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AnnotationPayload) Reset() { *m = AnnotationPayload{} }
func (m *AnnotationPayload) String() string { return proto.CompactTextString(m) }
func (*AnnotationPayload) ProtoMessage() {}
func (*AnnotationPayload) Descriptor() ([]byte, []int) {
return fileDescriptor_a945962355943c79, []int{0}
}
func (m *AnnotationPayload) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AnnotationPayload.Unmarshal(m, b)
}
func (m *AnnotationPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AnnotationPayload.Marshal(b, m, deterministic)
}
func (m *AnnotationPayload) XXX_Merge(src proto.Message) {
xxx_messageInfo_AnnotationPayload.Merge(m, src)
}
func (m *AnnotationPayload) XXX_Size() int {
return xxx_messageInfo_AnnotationPayload.Size(m)
}
func (m *AnnotationPayload) XXX_DiscardUnknown() {
xxx_messageInfo_AnnotationPayload.DiscardUnknown(m)
}
var xxx_messageInfo_AnnotationPayload proto.InternalMessageInfo
type isAnnotationPayload_Detail interface {
isAnnotationPayload_Detail()
}
type AnnotationPayload_Translation struct {
Translation *TranslationAnnotation `protobuf:"bytes,2,opt,name=translation,proto3,oneof"`
}
func (*AnnotationPayload_Translation) isAnnotationPayload_Detail() {}
func (m *AnnotationPayload) GetDetail() isAnnotationPayload_Detail {
if m != nil {
return m.Detail
}
return nil
}
func (m *AnnotationPayload) GetTranslation() *TranslationAnnotation {
if x, ok := m.GetDetail().(*AnnotationPayload_Translation); ok {
return x.Translation
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*AnnotationPayload) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*AnnotationPayload_Translation)(nil),
}
}
func init() {
proto.RegisterType((*AnnotationPayload)(nil), "google.cloud.automl.v1.AnnotationPayload")
}
func init() {
proto.RegisterFile("google/cloud/automl/v1/annotation_payload.proto", fileDescriptor_a945962355943c79)
}
var fileDescriptor_a945962355943c79 = []byte{
// 270 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0xc1, 0x4a, 0xc3, 0x40,
0x10, 0x86, 0x4d, 0x0e, 0x45, 0xb6, 0x27, 0x7b, 0x28, 0x36, 0x78, 0x10, 0x4f, 0xbd, 0xb8, 0xcb,
0xea, 0x6d, 0xf5, 0xd2, 0x7a, 0xd0, 0x83, 0x42, 0x15, 0xc9, 0x41, 0x02, 0x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