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

com.google.pubsub.v1.SchemaProto Maven / Gradle / Ivy

There is a newer version: 1.114.2
Show newest version
/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/pubsub/v1/schema.proto

package com.google.pubsub.v1;

public final class SchemaProto {
  private SchemaProto() {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
  }

  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_pubsub_v1_Schema_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_pubsub_v1_Schema_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_pubsub_v1_CreateSchemaRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_pubsub_v1_CreateSchemaRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_pubsub_v1_GetSchemaRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_pubsub_v1_GetSchemaRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_pubsub_v1_ListSchemasRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_pubsub_v1_ListSchemasRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_pubsub_v1_ListSchemasResponse_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_pubsub_v1_ListSchemasResponse_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_pubsub_v1_DeleteSchemaRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_pubsub_v1_DeleteSchemaRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_pubsub_v1_ValidateSchemaRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_pubsub_v1_ValidateSchemaRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_pubsub_v1_ValidateSchemaResponse_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_pubsub_v1_ValidateSchemaResponse_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_pubsub_v1_ValidateMessageRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_pubsub_v1_ValidateMessageRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_pubsub_v1_ValidateMessageResponse_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_pubsub_v1_ValidateMessageResponse_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
    return descriptor;
  }

  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;

  static {
    java.lang.String[] descriptorData = {
      "\n\035google/pubsub/v1/schema.proto\022\020google."
          + "pubsub.v1\032\034google/api/annotations.proto\032"
          + "\027google/api/client.proto\032\037google/api/fie"
          + "ld_behavior.proto\032\031google/api/resource.p"
          + "roto\032\033google/protobuf/empty.proto\"\341\001\n\006Sc"
          + "hema\022\021\n\004name\030\001 \001(\tB\003\340A\002\022+\n\004type\030\002 \001(\0162\035."
          + "google.pubsub.v1.Schema.Type\022\022\n\ndefiniti"
          + "on\030\003 \001(\t\";\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\023"
          + "\n\017PROTOCOL_BUFFER\020\001\022\010\n\004AVRO\020\002:F\352AC\n\034pubs"
          + "ub.googleapis.com/Schema\022#projects/{proj"
          + "ect}/schemas/{schema}\"\215\001\n\023CreateSchemaRe"
          + "quest\0224\n\006parent\030\001 \001(\tB$\340A\002\372A\036\022\034pubsub.go"
          + "ogleapis.com/Schema\022-\n\006schema\030\002 \001(\0132\030.go"
          + "ogle.pubsub.v1.SchemaB\003\340A\002\022\021\n\tschema_id\030"
          + "\003 \001(\t\"r\n\020GetSchemaRequest\0222\n\004name\030\001 \001(\tB"
          + "$\340A\002\372A\036\n\034pubsub.googleapis.com/Schema\022*\n"
          + "\004view\030\002 \001(\0162\034.google.pubsub.v1.SchemaVie"
          + "w\"\254\001\n\022ListSchemasRequest\022C\n\006parent\030\001 \001(\t"
          + "B3\340A\002\372A-\n+cloudresourcemanager.googleapi"
          + "s.com/Project\022*\n\004view\030\002 \001(\0162\034.google.pub"
          + "sub.v1.SchemaView\022\021\n\tpage_size\030\003 \001(\005\022\022\n\n"
          + "page_token\030\004 \001(\t\"Y\n\023ListSchemasResponse\022"
          + ")\n\007schemas\030\001 \003(\0132\030.google.pubsub.v1.Sche"
          + "ma\022\027\n\017next_page_token\030\002 \001(\t\"I\n\023DeleteSch"
          + "emaRequest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034pubsub"
          + ".googleapis.com/Schema\"\213\001\n\025ValidateSchem"
          + "aRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudr"
          + "esourcemanager.googleapis.com/Project\022-\n"
          + "\006schema\030\002 \001(\0132\030.google.pubsub.v1.SchemaB"
          + "\003\340A\002\"\030\n\026ValidateSchemaResponse\"\212\002\n\026Valid"
          + "ateMessageRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A"
          + "-\n+cloudresourcemanager.googleapis.com/P"
          + "roject\0221\n\004name\030\002 \001(\tB!\372A\036\n\034pubsub.google"
          + "apis.com/SchemaH\000\022*\n\006schema\030\003 \001(\0132\030.goog"
          + "le.pubsub.v1.SchemaH\000\022\017\n\007message\030\004 \001(\014\022,"
          + "\n\010encoding\030\005 \001(\0162\032.google.pubsub.v1.Enco"
          + "dingB\r\n\013schema_spec\"\031\n\027ValidateMessageRe"
          + "sponse*>\n\nSchemaView\022\033\n\027SCHEMA_VIEW_UNSP"
          + "ECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002*:\n\010Encodi"
          + "ng\022\030\n\024ENCODING_UNSPECIFIED\020\000\022\010\n\004JSON\020\001\022\n"
          + "\n\006BINARY\020\0022\367\007\n\rSchemaService\022\232\001\n\014CreateS"
          + "chema\022%.google.pubsub.v1.CreateSchemaReq"
          + "uest\032\030.google.pubsub.v1.Schema\"I\202\323\344\223\002)\"\037"
          + "/v1/{parent=projects/*}/schemas:\006schema\332"
          + "A\027parent,schema,schema_id\022y\n\tGetSchema\022\""
          + ".google.pubsub.v1.GetSchemaRequest\032\030.goo"
          + "gle.pubsub.v1.Schema\".\202\323\344\223\002!\022\037/v1/{name="
          + "projects/*/schemas/*}\332A\004name\022\214\001\n\013ListSch"
          + "emas\022$.google.pubsub.v1.ListSchemasReque"
          + "st\032%.google.pubsub.v1.ListSchemasRespons"
          + "e\"0\202\323\344\223\002!\022\037/v1/{parent=projects/*}/schem"
          + "as\332A\006parent\022}\n\014DeleteSchema\022%.google.pub"
          + "sub.v1.DeleteSchemaRequest\032\026.google.prot"
          + "obuf.Empty\".\202\323\344\223\002!*\037/v1/{name=projects/*"
          + "/schemas/*}\332A\004name\022\250\001\n\016ValidateSchema\022\'."
          + "google.pubsub.v1.ValidateSchemaRequest\032("
          + ".google.pubsub.v1.ValidateSchemaResponse"
          + "\"C\202\323\344\223\002-\"(/v1/{parent=projects/*}/schema"
          + "s:validate:\001*\332A\rparent,schema\022\242\001\n\017Valida"
          + "teMessage\022(.google.pubsub.v1.ValidateMes"
          + "sageRequest\032).google.pubsub.v1.ValidateM"
          + "essageResponse\":\202\323\344\223\0024\"//v1/{parent=proj"
          + "ects/*}/schemas:validateMessage:\001*\032p\312A\025p"
          + "ubsub.googleapis.com\322AUhttps://www.googl"
          + "eapis.com/auth/cloud-platform,https://ww"
          + "w.googleapis.com/auth/pubsubB\256\001\n\024com.goo"
          + "gle.pubsub.v1B\013SchemaProtoP\001Z6google.gol"
          + "ang.org/genproto/googleapis/pubsub/v1;pu"
          + "bsub\370\001\001\252\002\026Google.Cloud.PubSub.V1\312\002\026Googl"
          + "e\\Cloud\\PubSub\\V1\352\002\031Google::Cloud::PubSu"
          + "b::V1b\006proto3"
    };
    descriptor =
        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
            descriptorData,
            new com.google.protobuf.Descriptors.FileDescriptor[] {
              com.google.api.AnnotationsProto.getDescriptor(),
              com.google.api.ClientProto.getDescriptor(),
              com.google.api.FieldBehaviorProto.getDescriptor(),
              com.google.api.ResourceProto.getDescriptor(),
              com.google.protobuf.EmptyProto.getDescriptor(),
            });
    internal_static_google_pubsub_v1_Schema_descriptor = getDescriptor().getMessageTypes().get(0);
    internal_static_google_pubsub_v1_Schema_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_pubsub_v1_Schema_descriptor,
            new java.lang.String[] {
              "Name", "Type", "Definition",
            });
    internal_static_google_pubsub_v1_CreateSchemaRequest_descriptor =
        getDescriptor().getMessageTypes().get(1);
    internal_static_google_pubsub_v1_CreateSchemaRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_pubsub_v1_CreateSchemaRequest_descriptor,
            new java.lang.String[] {
              "Parent", "Schema", "SchemaId",
            });
    internal_static_google_pubsub_v1_GetSchemaRequest_descriptor =
        getDescriptor().getMessageTypes().get(2);
    internal_static_google_pubsub_v1_GetSchemaRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_pubsub_v1_GetSchemaRequest_descriptor,
            new java.lang.String[] {
              "Name", "View",
            });
    internal_static_google_pubsub_v1_ListSchemasRequest_descriptor =
        getDescriptor().getMessageTypes().get(3);
    internal_static_google_pubsub_v1_ListSchemasRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_pubsub_v1_ListSchemasRequest_descriptor,
            new java.lang.String[] {
              "Parent", "View", "PageSize", "PageToken",
            });
    internal_static_google_pubsub_v1_ListSchemasResponse_descriptor =
        getDescriptor().getMessageTypes().get(4);
    internal_static_google_pubsub_v1_ListSchemasResponse_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_pubsub_v1_ListSchemasResponse_descriptor,
            new java.lang.String[] {
              "Schemas", "NextPageToken",
            });
    internal_static_google_pubsub_v1_DeleteSchemaRequest_descriptor =
        getDescriptor().getMessageTypes().get(5);
    internal_static_google_pubsub_v1_DeleteSchemaRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_pubsub_v1_DeleteSchemaRequest_descriptor,
            new java.lang.String[] {
              "Name",
            });
    internal_static_google_pubsub_v1_ValidateSchemaRequest_descriptor =
        getDescriptor().getMessageTypes().get(6);
    internal_static_google_pubsub_v1_ValidateSchemaRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_pubsub_v1_ValidateSchemaRequest_descriptor,
            new java.lang.String[] {
              "Parent", "Schema",
            });
    internal_static_google_pubsub_v1_ValidateSchemaResponse_descriptor =
        getDescriptor().getMessageTypes().get(7);
    internal_static_google_pubsub_v1_ValidateSchemaResponse_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_pubsub_v1_ValidateSchemaResponse_descriptor,
            new java.lang.String[] {});
    internal_static_google_pubsub_v1_ValidateMessageRequest_descriptor =
        getDescriptor().getMessageTypes().get(8);
    internal_static_google_pubsub_v1_ValidateMessageRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_pubsub_v1_ValidateMessageRequest_descriptor,
            new java.lang.String[] {
              "Parent", "Name", "Schema", "Message", "Encoding", "SchemaSpec",
            });
    internal_static_google_pubsub_v1_ValidateMessageResponse_descriptor =
        getDescriptor().getMessageTypes().get(9);
    internal_static_google_pubsub_v1_ValidateMessageResponse_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_pubsub_v1_ValidateMessageResponse_descriptor,
            new java.lang.String[] {});
    com.google.protobuf.ExtensionRegistry registry =
        com.google.protobuf.ExtensionRegistry.newInstance();
    registry.add(com.google.api.ClientProto.defaultHost);
    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
    registry.add(com.google.api.AnnotationsProto.http);
    registry.add(com.google.api.ClientProto.methodSignature);
    registry.add(com.google.api.ClientProto.oauthScopes);
    registry.add(com.google.api.ResourceProto.resource);
    registry.add(com.google.api.ResourceProto.resourceReference);
    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
        descriptor, registry);
    com.google.api.AnnotationsProto.getDescriptor();
    com.google.api.ClientProto.getDescriptor();
    com.google.api.FieldBehaviorProto.getDescriptor();
    com.google.api.ResourceProto.getDescriptor();
    com.google.protobuf.EmptyProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy