• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/longrunning/operations.proto
18 
19 package com.google.longrunning;
20 
21 public final class OperationsProto {
OperationsProto()22   private OperationsProto() {}
23 
registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)24   public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {
25     registry.add(com.google.longrunning.OperationsProto.operationInfo);
26   }
27 
registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)28   public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
29     registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
30   }
31 
32   public static final int OPERATION_INFO_FIELD_NUMBER = 1049;
33   /**
34    *
35    *
36    * <pre>
37    * Additional information regarding long-running operations.
38    * In particular, this specifies the types that are returned from
39    * long-running operations.
40    * Required for methods that return `google.longrunning.Operation`; invalid
41    * otherwise.
42    * </pre>
43    *
44    * <code>extend .google.protobuf.MethodOptions { ... }</code>
45    */
46   public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
47           com.google.protobuf.DescriptorProtos.MethodOptions, com.google.longrunning.OperationInfo>
48       operationInfo =
49           com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
50               com.google.longrunning.OperationInfo.class,
51               com.google.longrunning.OperationInfo.getDefaultInstance());
52 
53   static final com.google.protobuf.Descriptors.Descriptor
54       internal_static_google_longrunning_Operation_descriptor;
55   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
56       internal_static_google_longrunning_Operation_fieldAccessorTable;
57   static final com.google.protobuf.Descriptors.Descriptor
58       internal_static_google_longrunning_GetOperationRequest_descriptor;
59   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
60       internal_static_google_longrunning_GetOperationRequest_fieldAccessorTable;
61   static final com.google.protobuf.Descriptors.Descriptor
62       internal_static_google_longrunning_ListOperationsRequest_descriptor;
63   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
64       internal_static_google_longrunning_ListOperationsRequest_fieldAccessorTable;
65   static final com.google.protobuf.Descriptors.Descriptor
66       internal_static_google_longrunning_ListOperationsResponse_descriptor;
67   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
68       internal_static_google_longrunning_ListOperationsResponse_fieldAccessorTable;
69   static final com.google.protobuf.Descriptors.Descriptor
70       internal_static_google_longrunning_CancelOperationRequest_descriptor;
71   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
72       internal_static_google_longrunning_CancelOperationRequest_fieldAccessorTable;
73   static final com.google.protobuf.Descriptors.Descriptor
74       internal_static_google_longrunning_DeleteOperationRequest_descriptor;
75   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
76       internal_static_google_longrunning_DeleteOperationRequest_fieldAccessorTable;
77   static final com.google.protobuf.Descriptors.Descriptor
78       internal_static_google_longrunning_WaitOperationRequest_descriptor;
79   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
80       internal_static_google_longrunning_WaitOperationRequest_fieldAccessorTable;
81   static final com.google.protobuf.Descriptors.Descriptor
82       internal_static_google_longrunning_OperationInfo_descriptor;
83   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
84       internal_static_google_longrunning_OperationInfo_fieldAccessorTable;
85 
getDescriptor()86   public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
87     return descriptor;
88   }
89 
90   private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
91 
92   static {
93     java.lang.String[] descriptorData = {
94       "\n#google/longrunning/operations.proto\022\022g"
95           + "oogle.longrunning\032\034google/api/annotation"
96           + "s.proto\032\027google/api/client.proto\032\031google"
97           + "/protobuf/any.proto\032\036google/protobuf/dur"
98           + "ation.proto\032\033google/protobuf/empty.proto"
99           + "\032\027google/rpc/status.proto\032 google/protob"
100           + "uf/descriptor.proto\"\250\001\n\tOperation\022\014\n\004nam"
101           + "e\030\001 \001(\t\022&\n\010metadata\030\002 \001(\0132\024.google.proto"
102           + "buf.Any\022\014\n\004done\030\003 \001(\010\022#\n\005error\030\004 \001(\0132\022.g"
103           + "oogle.rpc.StatusH\000\022(\n\010response\030\005 \001(\0132\024.g"
104           + "oogle.protobuf.AnyH\000B\010\n\006result\"#\n\023GetOpe"
105           + "rationRequest\022\014\n\004name\030\001 \001(\t\"\\\n\025ListOpera"
106           + "tionsRequest\022\014\n\004name\030\004 \001(\t\022\016\n\006filter\030\001 \001"
107           + "(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001("
108           + "\t\"d\n\026ListOperationsResponse\0221\n\noperation"
109           + "s\030\001 \003(\0132\035.google.longrunning.Operation\022\027"
110           + "\n\017next_page_token\030\002 \001(\t\"&\n\026CancelOperati"
111           + "onRequest\022\014\n\004name\030\001 \001(\t\"&\n\026DeleteOperati"
112           + "onRequest\022\014\n\004name\030\001 \001(\t\"P\n\024WaitOperation"
113           + "Request\022\014\n\004name\030\001 \001(\t\022*\n\007timeout\030\002 \001(\0132\031"
114           + ".google.protobuf.Duration\"=\n\rOperationIn"
115           + "fo\022\025\n\rresponse_type\030\001 \001(\t\022\025\n\rmetadata_ty"
116           + "pe\030\002 \001(\t2\252\005\n\nOperations\022\224\001\n\016ListOperatio"
117           + "ns\022).google.longrunning.ListOperationsRe"
118           + "quest\032*.google.longrunning.ListOperation"
119           + "sResponse\"+\202\323\344\223\002\027\022\025/v1/{name=operations}"
120           + "\332A\013name,filter\022\177\n\014GetOperation\022\'.google."
121           + "longrunning.GetOperationRequest\032\035.google"
122           + ".longrunning.Operation\"\'\202\323\344\223\002\032\022\030/v1/{nam"
123           + "e=operations/**}\332A\004name\022~\n\017DeleteOperati"
124           + "on\022*.google.longrunning.DeleteOperationR"
125           + "equest\032\026.google.protobuf.Empty\"\'\202\323\344\223\002\032*\030"
126           + "/v1/{name=operations/**}\332A\004name\022\210\001\n\017Canc"
127           + "elOperation\022*.google.longrunning.CancelO"
128           + "perationRequest\032\026.google.protobuf.Empty\""
129           + "1\202\323\344\223\002$\"\037/v1/{name=operations/**}:cancel"
130           + ":\001*\332A\004name\022Z\n\rWaitOperation\022(.google.lon"
131           + "grunning.WaitOperationRequest\032\035.google.l"
132           + "ongrunning.Operation\"\000\032\035\312A\032longrunning.g"
133           + "oogleapis.com:Z\n\016operation_info\022\036.google"
134           + ".protobuf.MethodOptions\030\231\010 \001(\0132!.google."
135           + "longrunning.OperationInfoB\235\001\n\026com.google"
136           + ".longrunningB\017OperationsProtoP\001ZCcloud.g"
137           + "oogle.com/go/longrunning/autogen/longrun"
138           + "ningpb;longrunningpb\370\001\001\252\002\022Google.LongRun"
139           + "ning\312\002\022Google\\LongRunningb\006proto3"
140     };
141     descriptor =
142         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
143             descriptorData,
144             new com.google.protobuf.Descriptors.FileDescriptor[] {
145               com.google.api.AnnotationsProto.getDescriptor(),
146               com.google.api.ClientProto.getDescriptor(),
147               com.google.protobuf.AnyProto.getDescriptor(),
148               com.google.protobuf.DurationProto.getDescriptor(),
149               com.google.protobuf.EmptyProto.getDescriptor(),
150               com.google.rpc.StatusProto.getDescriptor(),
151               com.google.protobuf.DescriptorProtos.getDescriptor(),
152             });
153     internal_static_google_longrunning_Operation_descriptor =
154         getDescriptor().getMessageTypes().get(0);
155     internal_static_google_longrunning_Operation_fieldAccessorTable =
156         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
157             internal_static_google_longrunning_Operation_descriptor,
158             new java.lang.String[] {
159               "Name", "Metadata", "Done", "Error", "Response", "Result",
160             });
161     internal_static_google_longrunning_GetOperationRequest_descriptor =
162         getDescriptor().getMessageTypes().get(1);
163     internal_static_google_longrunning_GetOperationRequest_fieldAccessorTable =
164         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
165             internal_static_google_longrunning_GetOperationRequest_descriptor,
166             new java.lang.String[] {
167               "Name",
168             });
169     internal_static_google_longrunning_ListOperationsRequest_descriptor =
170         getDescriptor().getMessageTypes().get(2);
171     internal_static_google_longrunning_ListOperationsRequest_fieldAccessorTable =
172         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
173             internal_static_google_longrunning_ListOperationsRequest_descriptor,
174             new java.lang.String[] {
175               "Name", "Filter", "PageSize", "PageToken",
176             });
177     internal_static_google_longrunning_ListOperationsResponse_descriptor =
178         getDescriptor().getMessageTypes().get(3);
179     internal_static_google_longrunning_ListOperationsResponse_fieldAccessorTable =
180         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
181             internal_static_google_longrunning_ListOperationsResponse_descriptor,
182             new java.lang.String[] {
183               "Operations", "NextPageToken",
184             });
185     internal_static_google_longrunning_CancelOperationRequest_descriptor =
186         getDescriptor().getMessageTypes().get(4);
187     internal_static_google_longrunning_CancelOperationRequest_fieldAccessorTable =
188         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
189             internal_static_google_longrunning_CancelOperationRequest_descriptor,
190             new java.lang.String[] {
191               "Name",
192             });
193     internal_static_google_longrunning_DeleteOperationRequest_descriptor =
194         getDescriptor().getMessageTypes().get(5);
195     internal_static_google_longrunning_DeleteOperationRequest_fieldAccessorTable =
196         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
197             internal_static_google_longrunning_DeleteOperationRequest_descriptor,
198             new java.lang.String[] {
199               "Name",
200             });
201     internal_static_google_longrunning_WaitOperationRequest_descriptor =
202         getDescriptor().getMessageTypes().get(6);
203     internal_static_google_longrunning_WaitOperationRequest_fieldAccessorTable =
204         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
205             internal_static_google_longrunning_WaitOperationRequest_descriptor,
206             new java.lang.String[] {
207               "Name", "Timeout",
208             });
209     internal_static_google_longrunning_OperationInfo_descriptor =
210         getDescriptor().getMessageTypes().get(7);
211     internal_static_google_longrunning_OperationInfo_fieldAccessorTable =
212         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
213             internal_static_google_longrunning_OperationInfo_descriptor,
214             new java.lang.String[] {
215               "ResponseType", "MetadataType",
216             });
217     operationInfo.internalInit(descriptor.getExtensions().get(0));
218     com.google.protobuf.ExtensionRegistry registry =
219         com.google.protobuf.ExtensionRegistry.newInstance();
220     registry.add(com.google.api.ClientProto.defaultHost);
221     registry.add(com.google.api.AnnotationsProto.http);
222     registry.add(com.google.api.ClientProto.methodSignature);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry)223     com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
224         descriptor, registry);
com.google.api.AnnotationsProto.getDescriptor()225     com.google.api.AnnotationsProto.getDescriptor();
com.google.api.ClientProto.getDescriptor()226     com.google.api.ClientProto.getDescriptor();
com.google.protobuf.AnyProto.getDescriptor()227     com.google.protobuf.AnyProto.getDescriptor();
com.google.protobuf.DurationProto.getDescriptor()228     com.google.protobuf.DurationProto.getDescriptor();
com.google.protobuf.EmptyProto.getDescriptor()229     com.google.protobuf.EmptyProto.getDescriptor();
com.google.rpc.StatusProto.getDescriptor()230     com.google.rpc.StatusProto.getDescriptor();
com.google.protobuf.DescriptorProtos.getDescriptor()231     com.google.protobuf.DescriptorProtos.getDescriptor();
232   }
233 
234   // @@protoc_insertion_point(outer_class_scope)
235 }
236