All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.longrunning.OperationsProto Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/longrunning/operations.proto

package com.google.longrunning;

public final class OperationsProto {
  private OperationsProto() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
    registry.add(OperationsProto.operationInfo);
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public static final int OPERATION_INFO_FIELD_NUMBER = 1049;
  /**
   * 
   * Additional information regarding long-running operations.
   * In particular, this specifies the types that are returned from
   * long-running operations.
   * Required for methods that return `google.longrunning.Operation`; invalid
   * otherwise.
   * 
* * extend .google.protobuf.MethodOptions { ... } */ public static final com.google.protobuf.GeneratedMessage.GeneratedExtension< com.google.protobuf.DescriptorProtos.MethodOptions, OperationInfo> operationInfo = com.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( OperationInfo.class, OperationInfo.getDefaultInstance()); static final com.google.protobuf.Descriptors.Descriptor internal_static_google_longrunning_Operation_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_longrunning_Operation_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_longrunning_GetOperationRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_longrunning_GetOperationRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_longrunning_ListOperationsRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_longrunning_ListOperationsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_longrunning_ListOperationsResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_longrunning_ListOperationsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_longrunning_CancelOperationRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_longrunning_CancelOperationRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_longrunning_DeleteOperationRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_longrunning_DeleteOperationRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_longrunning_WaitOperationRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_longrunning_WaitOperationRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_longrunning_OperationInfo_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_longrunning_OperationInfo_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { String[] descriptorData = { "\n#google/longrunning/operations.proto\022\022g" + "oogle.longrunning\032\034google/api/annotation" + "s.proto\032\031google/protobuf/any.proto\032\036goog" + "le/protobuf/duration.proto\032\033google/proto" + "buf/empty.proto\032\027google/rpc/status.proto" + "\032 google/protobuf/descriptor.proto\"\250\001\n\tO" + "peration\022\014\n\004name\030\001 \001(\t\022&\n\010metadata\030\002 \001(\013" + "2\024.google.protobuf.Any\022\014\n\004done\030\003 \001(\010\022#\n\005" + "error\030\004 \001(\0132\022.google.rpc.StatusH\000\022(\n\010res" + "ponse\030\005 \001(\0132\024.google.protobuf.AnyH\000B\010\n\006r" + "esult\"#\n\023GetOperationRequest\022\014\n\004name\030\001 \001" + "(\t\"\\\n\025ListOperationsRequest\022\014\n\004name\030\004 \001(" + "\t\022\016\n\006filter\030\001 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n" + "page_token\030\003 \001(\t\"d\n\026ListOperationsRespon" + "se\0221\n\noperations\030\001 \003(\0132\035.google.longrunn" + "ing.Operation\022\027\n\017next_page_token\030\002 \001(\t\"&" + "\n\026CancelOperationRequest\022\014\n\004name\030\001 \001(\t\"&" + "\n\026DeleteOperationRequest\022\014\n\004name\030\001 \001(\t\"P" + "\n\024WaitOperationRequest\022\014\n\004name\030\001 \001(\t\022*\n\007" + "timeout\030\002 \001(\0132\031.google.protobuf.Duration" + "\"=\n\rOperationInfo\022\025\n\rresponse_type\030\001 \001(\t" + "\022\025\n\rmetadata_type\030\002 \001(\t2\350\004\n\nOperations\022\206" + "\001\n\016ListOperations\022).google.longrunning.L" + "istOperationsRequest\032*.google.longrunnin" + "g.ListOperationsResponse\"\035\202\323\344\223\002\027\022\025/v1/{n" + "ame=operations}\022x\n\014GetOperation\022\'.google" + ".longrunning.GetOperationRequest\032\035.googl" + "e.longrunning.Operation\" \202\323\344\223\002\032\022\030/v1/{na" + "me=operations/**}\022w\n\017DeleteOperation\022*.g" + "oogle.longrunning.DeleteOperationRequest" + "\032\026.google.protobuf.Empty\" \202\323\344\223\002\032*\030/v1/{n" + "ame=operations/**}\022\201\001\n\017CancelOperation\022*" + ".google.longrunning.CancelOperationReque" + "st\032\026.google.protobuf.Empty\"*\202\323\344\223\002$\"\037/v1/" + "{name=operations/**}:cancel:\001*\022Z\n\rWaitOp" + "eration\022(.google.longrunning.WaitOperati" + "onRequest\032\035.google.longrunning.Operation" + "\"\000:Z\n\016operation_info\022\036.google.protobuf.M" + "ethodOptions\030\231\010 \001(\0132!.google.longrunning" + ".OperationInfoB\227\001\n\026com.google.longrunnin" + "gB\017OperationsProtoP\001Z=google.golang.org/" + "genproto/googleapis/longrunning;longrunn" + "ing\370\001\001\252\002\022Google.LongRunning\312\002\022Google\\Lon" + "gRunningb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), com.google.protobuf.AnyProto.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), com.google.rpc.StatusProto.getDescriptor(), com.google.protobuf.DescriptorProtos.getDescriptor(), }, assigner); internal_static_google_longrunning_Operation_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_longrunning_Operation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_longrunning_Operation_descriptor, new String[] { "Name", "Metadata", "Done", "Error", "Response", "Result", }); internal_static_google_longrunning_GetOperationRequest_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_longrunning_GetOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_longrunning_GetOperationRequest_descriptor, new String[] { "Name", }); internal_static_google_longrunning_ListOperationsRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_google_longrunning_ListOperationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_longrunning_ListOperationsRequest_descriptor, new String[] { "Name", "Filter", "PageSize", "PageToken", }); internal_static_google_longrunning_ListOperationsResponse_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_google_longrunning_ListOperationsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_longrunning_ListOperationsResponse_descriptor, new String[] { "Operations", "NextPageToken", }); internal_static_google_longrunning_CancelOperationRequest_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_google_longrunning_CancelOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_longrunning_CancelOperationRequest_descriptor, new String[] { "Name", }); internal_static_google_longrunning_DeleteOperationRequest_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_google_longrunning_DeleteOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_longrunning_DeleteOperationRequest_descriptor, new String[] { "Name", }); internal_static_google_longrunning_WaitOperationRequest_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_google_longrunning_WaitOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_longrunning_WaitOperationRequest_descriptor, new String[] { "Name", "Timeout", }); internal_static_google_longrunning_OperationInfo_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_google_longrunning_OperationInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_longrunning_OperationInfo_descriptor, new String[] { "ResponseType", "MetadataType", }); operationInfo.internalInit(descriptor.getExtensions().get(0)); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.AnnotationsProto.http); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); com.google.protobuf.AnyProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); com.google.rpc.StatusProto.getDescriptor(); com.google.protobuf.DescriptorProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy