/*
 * Copyright 2025 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

// Protobuf Java Version: 3.25.8
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_ListSchemaRevisionsRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_pubsub_v1_ListSchemaRevisionsRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_pubsub_v1_ListSchemaRevisionsResponse_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_pubsub_v1_ListSchemaRevisionsResponse_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_pubsub_v1_CommitSchemaRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_pubsub_v1_CommitSchemaRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_pubsub_v1_RollbackSchemaRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_pubsub_v1_RollbackSchemaRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_pubsub_v1_DeleteSchemaRevisionRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_pubsub_v1_DeleteSchemaRevisionRequest_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\032\037googl"
          + "e/protobuf/timestamp.proto\"\275\002\n\006Schema\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\ndefinition\030\003 \001("
          + "\t\022\033\n\013revision_id\030\004 \001(\tB\006\340A\005\340A\003\022=\n\024revisi"
          + "on_create_time\030\006 \001(\0132\032.google.protobuf.T"
          + "imestampB\003\340A\003\";\n\004Type\022\024\n\020TYPE_UNSPECIFIE"
          + "D\020\000\022\023\n\017PROTOCOL_BUFFER\020\001\022\010\n\004AVRO\020\002:F\352AC\n"
          + "\034pubsub.googleapis.com/Schema\022#projects/"
          + "{project}/schemas/{schema}\"\215\001\n\023CreateSch"
          + "emaRequest\0224\n\006parent\030\001 \001(\tB$\340A\002\372A\036\022\034pubs"
          + "ub.googleapis.com/Schema\022-\n\006schema\030\002 \001(\013"
          + "2\030.google.pubsub.v1.SchemaB\003\340A\002\022\021\n\tschem"
          + "a_id\030\003 \001(\t\"r\n\020GetSchemaRequest\0222\n\004name\030\001"
          + " \001(\tB$\340A\002\372A\036\n\034pubsub.googleapis.com/Sche"
          + "ma\022*\n\004view\030\002 \001(\0162\034.google.pubsub.v1.Sche"
          + "maView\"\254\001\n\022ListSchemasRequest\022C\n\006parent\030"
          + "\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.goog"
          + "leapis.com/Project\022*\n\004view\030\002 \001(\0162\034.googl"
          + "e.pubsub.v1.SchemaView\022\021\n\tpage_size\030\003 \001("
          + "\005\022\022\n\npage_token\030\004 \001(\t\"Y\n\023ListSchemasResp"
          + "onse\022)\n\007schemas\030\001 \003(\0132\030.google.pubsub.v1"
          + ".Schema\022\027\n\017next_page_token\030\002 \001(\t\"\243\001\n\032Lis"
          + "tSchemaRevisionsRequest\0222\n\004name\030\001 \001(\tB$\340"
          + "A\002\372A\036\n\034pubsub.googleapis.com/Schema\022*\n\004v"
          + "iew\030\002 \001(\0162\034.google.pubsub.v1.SchemaView\022"
          + "\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"a"
          + "\n\033ListSchemaRevisionsResponse\022)\n\007schemas"
          + "\030\001 \003(\0132\030.google.pubsub.v1.Schema\022\027\n\017next"
          + "_page_token\030\002 \001(\t\"x\n\023CommitSchemaRequest"
          + "\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034pubsub.googleapi"
          + "s.com/Schema\022-\n\006schema\030\002 \001(\0132\030.google.pu"
          + "bsub.v1.SchemaB\003\340A\002\"e\n\025RollbackSchemaReq"
          + "uest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034pubsub.googl"
          + "eapis.com/Schema\022\030\n\013revision_id\030\002 \001(\tB\003\340"
          + "A\002\"m\n\033DeleteSchemaRevisionRequest\0222\n\004nam"
          + "e\030\001 \001(\tB$\340A\002\372A\036\n\034pubsub.googleapis.com/S"
          + "chema\022\032\n\013revision_id\030\002 \001(\tB\005\030\001\340A\001\"I\n\023Del"
          + "eteSchemaRequest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034"
          + "pubsub.googleapis.com/Schema\"\213\001\n\025Validat"
          + "eSchemaRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+"
          + "cloudresourcemanager.googleapis.com/Proj"
          + "ect\022-\n\006schema\030\002 \001(\0132\030.google.pubsub.v1.S"
          + "chemaB\003\340A\002\"\030\n\026ValidateSchemaResponse\"\212\002\n"
          + "\026ValidateMessageRequest\022C\n\006parent\030\001 \001(\tB"
          + "3\340A\002\372A-\n+cloudresourcemanager.googleapis"
          + ".com/Project\0221\n\004name\030\002 \001(\tB!\372A\036\n\034pubsub."
          + "googleapis.com/SchemaH\000\022*\n\006schema\030\003 \001(\0132"
          + "\030.google.pubsub.v1.SchemaH\000\022\017\n\007message\030\004"
          + " \001(\014\022,\n\010encoding\030\005 \001(\0162\032.google.pubsub.v"
          + "1.EncodingB\r\n\013schema_spec\"\031\n\027ValidateMes"
          + "sageResponse*>\n\nSchemaView\022\033\n\027SCHEMA_VIE"
          + "W_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002*:\n\010"
          + "Encoding\022\030\n\024ENCODING_UNSPECIFIED\020\000\022\010\n\004JS"
          + "ON\020\001\022\n\n\006BINARY\020\0022\210\r\n\rSchemaService\022\232\001\n\014C"
          + "reateSchema\022%.google.pubsub.v1.CreateSch"
          + "emaRequest\032\030.google.pubsub.v1.Schema\"I\332A"
          + "\027parent,schema,schema_id\202\323\344\223\002)\"\037/v1/{par"
          + "ent=projects/*}/schemas:\006schema\022y\n\tGetSc"
          + "hema\022\".google.pubsub.v1.GetSchemaRequest"
          + "\032\030.google.pubsub.v1.Schema\".\332A\004name\202\323\344\223\002"
          + "!\022\037/v1/{name=projects/*/schemas/*}\022\214\001\n\013L"
          + "istSchemas\022$.google.pubsub.v1.ListSchema"
          + "sRequest\032%.google.pubsub.v1.ListSchemasR"
          + "esponse\"0\332A\006parent\202\323\344\223\002!\022\037/v1/{parent=pr"
          + "ojects/*}/schemas\022\260\001\n\023ListSchemaRevision"
          + "s\022,.google.pubsub.v1.ListSchemaRevisions"
          + "Request\032-.google.pubsub.v1.ListSchemaRev"
          + "isionsResponse\"<\332A\004name\202\323\344\223\002/\022-/v1/{name"
          + "=projects/*/schemas/*}:listRevisions\022\220\001\n"
          + "\014CommitSchema\022%.google.pubsub.v1.CommitS"
          + "chemaRequest\032\030.google.pubsub.v1.Schema\"?"
          + "\332A\013name,schema\202\323\344\223\002+\"&/v1/{name=projects"
          + "/*/schemas/*}:commit:\001*\022\233\001\n\016RollbackSche"
          + "ma\022\'.google.pubsub.v1.RollbackSchemaRequ"
          + "est\032\030.google.pubsub.v1.Schema\"F\332A\020name,r"
          + "evision_id\202\323\344\223\002-\"(/v1/{name=projects/*/s"
          + "chemas/*}:rollback:\001*\022\252\001\n\024DeleteSchemaRe"
          + "vision\022-.google.pubsub.v1.DeleteSchemaRe"
          + "visionRequest\032\030.google.pubsub.v1.Schema\""
          + "I\332A\020name,revision_id\202\323\344\223\0020*./v1/{name=pr"
          + "ojects/*/schemas/*}:deleteRevision\022}\n\014De"
          + "leteSchema\022%.google.pubsub.v1.DeleteSche"
          + "maRequest\032\026.google.protobuf.Empty\".\332A\004na"
          + "me\202\323\344\223\002!*\037/v1/{name=projects/*/schemas/*"
          + "}\022\250\001\n\016ValidateSchema\022\'.google.pubsub.v1."
          + "ValidateSchemaRequest\032(.google.pubsub.v1"
          + ".ValidateSchemaResponse\"C\332A\rparent,schem"
          + "a\202\323\344\223\002-\"(/v1/{parent=projects/*}/schemas"
          + ":validate:\001*\022\242\001\n\017ValidateMessage\022(.googl"
          + "e.pubsub.v1.ValidateMessageRequest\032).goo"
          + "gle.pubsub.v1.ValidateMessageResponse\":\202"
          + "\323\344\223\0024\"//v1/{parent=projects/*}/schemas:v"
          + "alidateMessage:\001*\032p\312A\025pubsub.googleapis."
          + "com\322AUhttps://www.googleapis.com/auth/cl"
          + "oud-platform,https://www.googleapis.com/"
          + "auth/pubsubB\252\001\n\024com.google.pubsub.v1B\013Sc"
          + "hemaProtoP\001Z5cloud.google.com/go/pubsub/"
          + "v2/apiv1/pubsubpb;pubsubpb\252\002\026Google.Clou"
          + "d.PubSub.V1\312\002\026Google\\Cloud\\PubSub\\V1\352\002\031G"
          + "oogle::Cloud::PubSub::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(),
              com.google.protobuf.TimestampProto.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", "RevisionId", "RevisionCreateTime",
            });
    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_ListSchemaRevisionsRequest_descriptor =
        getDescriptor().getMessageTypes().get(5);
    internal_static_google_pubsub_v1_ListSchemaRevisionsRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_pubsub_v1_ListSchemaRevisionsRequest_descriptor,
            new java.lang.String[] {
              "Name", "View", "PageSize", "PageToken",
            });
    internal_static_google_pubsub_v1_ListSchemaRevisionsResponse_descriptor =
        getDescriptor().getMessageTypes().get(6);
    internal_static_google_pubsub_v1_ListSchemaRevisionsResponse_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_pubsub_v1_ListSchemaRevisionsResponse_descriptor,
            new java.lang.String[] {
              "Schemas", "NextPageToken",
            });
    internal_static_google_pubsub_v1_CommitSchemaRequest_descriptor =
        getDescriptor().getMessageTypes().get(7);
    internal_static_google_pubsub_v1_CommitSchemaRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_pubsub_v1_CommitSchemaRequest_descriptor,
            new java.lang.String[] {
              "Name", "Schema",
            });
    internal_static_google_pubsub_v1_RollbackSchemaRequest_descriptor =
        getDescriptor().getMessageTypes().get(8);
    internal_static_google_pubsub_v1_RollbackSchemaRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_pubsub_v1_RollbackSchemaRequest_descriptor,
            new java.lang.String[] {
              "Name", "RevisionId",
            });
    internal_static_google_pubsub_v1_DeleteSchemaRevisionRequest_descriptor =
        getDescriptor().getMessageTypes().get(9);
    internal_static_google_pubsub_v1_DeleteSchemaRevisionRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_pubsub_v1_DeleteSchemaRevisionRequest_descriptor,
            new java.lang.String[] {
              "Name", "RevisionId",
            });
    internal_static_google_pubsub_v1_DeleteSchemaRequest_descriptor =
        getDescriptor().getMessageTypes().get(10);
    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(11);
    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(12);
    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(13);
    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(14);
    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();
    com.google.protobuf.TimestampProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
