File: mutate_job.pb.go

package info (click to toggle)
golang-google-genproto 0.0~git20200413.b5235f6-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, bullseye-backports, experimental
  • size: 50,816 kB
  • sloc: sh: 49; makefile: 12
file content (255 lines) | stat: -rw-r--r-- 12,474 bytes parent folder | download | duplicates (2)
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v1/resources/mutate_job.proto

package resources

import (
	fmt "fmt"
	math "math"

	proto "github.com/golang/protobuf/proto"
	wrappers "github.com/golang/protobuf/ptypes/wrappers"
	enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums"
	_ "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

// A list of mutates being processed asynchronously. The mutates are uploaded
// by the user. The mutates themselves aren't readable and the results of the
// job can only be read using MutateJobService.ListMutateJobResults.
type MutateJob struct {
	// Immutable. The resource name of the mutate job.
	// Mutate job resource names have the form:
	//
	// `customers/{customer_id}/mutateJobs/{mutate_job_id}`
	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	// Output only. ID of this mutate job.
	Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Output only. The next sequence token to use when adding operations. Only set when the
	// mutate job status is PENDING.
	NextAddSequenceToken *wrappers.StringValue `protobuf:"bytes,3,opt,name=next_add_sequence_token,json=nextAddSequenceToken,proto3" json:"next_add_sequence_token,omitempty"`
	// Output only. Contains additional information about this mutate job.
	Metadata *MutateJob_MutateJobMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Output only. Status of this mutate job.
	Status enums.MutateJobStatusEnum_MutateJobStatus `protobuf:"varint,5,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.MutateJobStatusEnum_MutateJobStatus" json:"status,omitempty"`
	// Output only. The resource name of the long-running operation that can be used to poll
	// for completion. Only set when the mutate job status is RUNNING or DONE.
	LongRunningOperation *wrappers.StringValue `protobuf:"bytes,6,opt,name=long_running_operation,json=longRunningOperation,proto3" json:"long_running_operation,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (m *MutateJob) Reset()         { *m = MutateJob{} }
func (m *MutateJob) String() string { return proto.CompactTextString(m) }
func (*MutateJob) ProtoMessage()    {}
func (*MutateJob) Descriptor() ([]byte, []int) {
	return fileDescriptor_a5e8cce5a5c605aa, []int{0}
}

func (m *MutateJob) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MutateJob.Unmarshal(m, b)
}
func (m *MutateJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MutateJob.Marshal(b, m, deterministic)
}
func (m *MutateJob) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MutateJob.Merge(m, src)
}
func (m *MutateJob) XXX_Size() int {
	return xxx_messageInfo_MutateJob.Size(m)
}
func (m *MutateJob) XXX_DiscardUnknown() {
	xxx_messageInfo_MutateJob.DiscardUnknown(m)
}

var xxx_messageInfo_MutateJob proto.InternalMessageInfo

func (m *MutateJob) GetResourceName() string {
	if m != nil {
		return m.ResourceName
	}
	return ""
}

func (m *MutateJob) GetId() *wrappers.Int64Value {
	if m != nil {
		return m.Id
	}
	return nil
}

func (m *MutateJob) GetNextAddSequenceToken() *wrappers.StringValue {
	if m != nil {
		return m.NextAddSequenceToken
	}
	return nil
}

func (m *MutateJob) GetMetadata() *MutateJob_MutateJobMetadata {
	if m != nil {
		return m.Metadata
	}
	return nil
}

func (m *MutateJob) GetStatus() enums.MutateJobStatusEnum_MutateJobStatus {
	if m != nil {
		return m.Status
	}
	return enums.MutateJobStatusEnum_UNSPECIFIED
}

func (m *MutateJob) GetLongRunningOperation() *wrappers.StringValue {
	if m != nil {
		return m.LongRunningOperation
	}
	return nil
}

// Additional information about the mutate job. This message is also used as
// metadata returned in mutate job Long Running Operations.
type MutateJob_MutateJobMetadata struct {
	// Output only. The time when this mutate job was created.
	// Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00"
	CreationDateTime *wrappers.StringValue `protobuf:"bytes,1,opt,name=creation_date_time,json=creationDateTime,proto3" json:"creation_date_time,omitempty"`
	// Output only. The time when this mutate job was completed.
	// Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00"
	CompletionDateTime *wrappers.StringValue `protobuf:"bytes,2,opt,name=completion_date_time,json=completionDateTime,proto3" json:"completion_date_time,omitempty"`
	// Output only. The fraction (between 0.0 and 1.0) of mutates that have been processed.
	// This is empty if the job hasn't started running yet.
	EstimatedCompletionRatio *wrappers.DoubleValue `protobuf:"bytes,3,opt,name=estimated_completion_ratio,json=estimatedCompletionRatio,proto3" json:"estimated_completion_ratio,omitempty"`
	// Output only. The number of mutate operations in the mutate job.
	OperationCount *wrappers.Int64Value `protobuf:"bytes,4,opt,name=operation_count,json=operationCount,proto3" json:"operation_count,omitempty"`
	// Output only. The number of mutate operations executed by the mutate job.
	// Present only if the job has started running.
	ExecutedOperationCount *wrappers.Int64Value `protobuf:"bytes,5,opt,name=executed_operation_count,json=executedOperationCount,proto3" json:"executed_operation_count,omitempty"`
	XXX_NoUnkeyedLiteral   struct{}             `json:"-"`
	XXX_unrecognized       []byte               `json:"-"`
	XXX_sizecache          int32                `json:"-"`
}

func (m *MutateJob_MutateJobMetadata) Reset()         { *m = MutateJob_MutateJobMetadata{} }
func (m *MutateJob_MutateJobMetadata) String() string { return proto.CompactTextString(m) }
func (*MutateJob_MutateJobMetadata) ProtoMessage()    {}
func (*MutateJob_MutateJobMetadata) Descriptor() ([]byte, []int) {
	return fileDescriptor_a5e8cce5a5c605aa, []int{0, 0}
}

func (m *MutateJob_MutateJobMetadata) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MutateJob_MutateJobMetadata.Unmarshal(m, b)
}
func (m *MutateJob_MutateJobMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MutateJob_MutateJobMetadata.Marshal(b, m, deterministic)
}
func (m *MutateJob_MutateJobMetadata) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MutateJob_MutateJobMetadata.Merge(m, src)
}
func (m *MutateJob_MutateJobMetadata) XXX_Size() int {
	return xxx_messageInfo_MutateJob_MutateJobMetadata.Size(m)
}
func (m *MutateJob_MutateJobMetadata) XXX_DiscardUnknown() {
	xxx_messageInfo_MutateJob_MutateJobMetadata.DiscardUnknown(m)
}

var xxx_messageInfo_MutateJob_MutateJobMetadata proto.InternalMessageInfo

func (m *MutateJob_MutateJobMetadata) GetCreationDateTime() *wrappers.StringValue {
	if m != nil {
		return m.CreationDateTime
	}
	return nil
}

func (m *MutateJob_MutateJobMetadata) GetCompletionDateTime() *wrappers.StringValue {
	if m != nil {
		return m.CompletionDateTime
	}
	return nil
}

func (m *MutateJob_MutateJobMetadata) GetEstimatedCompletionRatio() *wrappers.DoubleValue {
	if m != nil {
		return m.EstimatedCompletionRatio
	}
	return nil
}

func (m *MutateJob_MutateJobMetadata) GetOperationCount() *wrappers.Int64Value {
	if m != nil {
		return m.OperationCount
	}
	return nil
}

func (m *MutateJob_MutateJobMetadata) GetExecutedOperationCount() *wrappers.Int64Value {
	if m != nil {
		return m.ExecutedOperationCount
	}
	return nil
}

func init() {
	proto.RegisterType((*MutateJob)(nil), "google.ads.googleads.v1.resources.MutateJob")
	proto.RegisterType((*MutateJob_MutateJobMetadata)(nil), "google.ads.googleads.v1.resources.MutateJob.MutateJobMetadata")
}

func init() {
	proto.RegisterFile("google/ads/googleads/v1/resources/mutate_job.proto", fileDescriptor_a5e8cce5a5c605aa)
}

var fileDescriptor_a5e8cce5a5c605aa = []byte{
	// 670 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0x5d, 0x4f, 0xd4, 0x4c,
	0x14, 0xc7, 0xb3, 0xdd, 0x07, 0x02, 0xf3, 0x3c, 0x0f, 0xea, 0x84, 0x60, 0x5d, 0x89, 0x02, 0x91,
	0x84, 0x18, 0xd3, 0xba, 0xf8, 0x72, 0x51, 0x13, 0x93, 0x2e, 0x18, 0x02, 0x09, 0x2e, 0xd9, 0xc5,
	0xd5, 0x90, 0x4d, 0x26, 0xd3, 0xce, 0xa1, 0x56, 0xdb, 0x99, 0xda, 0x99, 0x22, 0x09, 0xe1, 0xab,
	0x78, 0xe1, 0xa5, 0xdf, 0xc2, 0x5b, 0x3f, 0x05, 0xd7, 0x7c, 0x04, 0xbd, 0x31, 0x7d, 0x9b, 0x5d,
	0x21, 0xc8, 0xde, 0x9d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