/*
 * 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/devtools/source/v1/source_context.proto

package com.google.devtools.source.v1;

public final class SourceContextProto {
  private SourceContextProto() {}

  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_devtools_source_v1_SourceContext_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_devtools_source_v1_SourceContext_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_devtools_source_v1_ExtendedSourceContext_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_devtools_source_v1_ExtendedSourceContext_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_devtools_source_v1_ExtendedSourceContext_LabelsEntry_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_devtools_source_v1_ExtendedSourceContext_LabelsEntry_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_devtools_source_v1_AliasContext_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_devtools_source_v1_AliasContext_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_devtools_source_v1_CloudRepoSourceContext_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_devtools_source_v1_CloudRepoSourceContext_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_devtools_source_v1_CloudWorkspaceSourceContext_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_devtools_source_v1_CloudWorkspaceSourceContext_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_devtools_source_v1_GerritSourceContext_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_devtools_source_v1_GerritSourceContext_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_devtools_source_v1_GitSourceContext_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_devtools_source_v1_GitSourceContext_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_devtools_source_v1_RepoId_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_devtools_source_v1_RepoId_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_devtools_source_v1_ProjectRepoId_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_devtools_source_v1_ProjectRepoId_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_devtools_source_v1_CloudWorkspaceId_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_devtools_source_v1_CloudWorkspaceId_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.google/devtools/source/v1/source_conte"
          + "xt.proto\022\031google.devtools.source.v1\"\264\002\n\r"
          + "SourceContext\022G\n\ncloud_repo\030\001 \001(\01321.goog"
          + "le.devtools.source.v1.CloudRepoSourceCon"
          + "textH\000\022Q\n\017cloud_workspace\030\002 \001(\01326.google"
          + ".devtools.source.v1.CloudWorkspaceSource"
          + "ContextH\000\022@\n\006gerrit\030\003 \001(\0132..google.devto"
          + "ols.source.v1.GerritSourceContextH\000\022:\n\003g"
          + "it\030\006 \001(\0132+.google.devtools.source.v1.Git"
          + "SourceContextH\000B\t\n\007context\"\317\001\n\025ExtendedS"
          + "ourceContext\0229\n\007context\030\001 \001(\0132(.google.d"
          + "evtools.source.v1.SourceContext\022L\n\006label"
          + "s\030\002 \003(\0132<.google.devtools.source.v1.Exte"
          + "ndedSourceContext.LabelsEntry\032-\n\013LabelsE"
          + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\214\001\n"
          + "\014AliasContext\022:\n\004kind\030\001 \001(\0162,.google.dev"
          + "tools.source.v1.AliasContext.Kind\022\014\n\004nam"
          + "e\030\002 \001(\t\"2\n\004Kind\022\007\n\003ANY\020\000\022\t\n\005FIXED\020\001\022\013\n\007M"
          + "OVABLE\020\002\022\t\n\005OTHER\020\004\"\313\001\n\026CloudRepoSourceC"
          + "ontext\0222\n\007repo_id\030\001 \001(\0132!.google.devtool"
          + "s.source.v1.RepoId\022\025\n\013revision_id\030\002 \001(\tH"
          + "\000\022\030\n\nalias_name\030\003 \001(\tB\002\030\001H\000\022@\n\ralias_con"
          + "text\030\004 \001(\0132\'.google.devtools.source.v1.A"
          + "liasContextH\000B\n\n\010revision\"u\n\033CloudWorksp"
          + "aceSourceContext\022A\n\014workspace_id\030\001 \001(\0132+"
          + ".google.devtools.source.v1.CloudWorkspac"
          + "eId\022\023\n\013snapshot_id\030\002 \001(\t\"\276\001\n\023GerritSourc"
          + "eContext\022\020\n\010host_uri\030\001 \001(\t\022\026\n\016gerrit_pro"
          + "ject\030\002 \001(\t\022\025\n\013revision_id\030\003 \001(\tH\000\022\030\n\nali"
          + "as_name\030\004 \001(\tB\002\030\001H\000\022@\n\ralias_context\030\005 \001"
          + "(\0132\'.google.devtools.source.v1.AliasCont"
          + "extH\000B\n\n\010revision\"4\n\020GitSourceContext\022\013\n"
          + "\003url\030\001 \001(\t\022\023\n\013revision_id\030\002 \001(\t\"b\n\006RepoI"
          + "d\022C\n\017project_repo_id\030\001 \001(\0132(.google.devt"
          + "ools.source.v1.ProjectRepoIdH\000\022\r\n\003uid\030\002 "
          + "\001(\tH\000B\004\n\002id\"6\n\rProjectRepoId\022\022\n\nproject_"
          + "id\030\001 \001(\t\022\021\n\trepo_name\030\002 \001(\t\"T\n\020CloudWork"
          + "spaceId\0222\n\007repo_id\030\001 \001(\0132!.google.devtoo"
          + "ls.source.v1.RepoId\022\014\n\004name\030\002 \001(\tB\275\001\n\035co"
          + "m.google.devtools.source.v1B\022SourceConte"
          + "xtProtoP\001Z?google.golang.org/genproto/go"
          + "ogleapis/devtools/source/v1;source\370\001\001\252\002\037"
          + "Google.Cloud.DevTools.Source.V1\312\002\037Google"
          + "\\Cloud\\DevTools\\Source\\V1b\006proto3"
    };
    descriptor =
        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
            descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
    internal_static_google_devtools_source_v1_SourceContext_descriptor =
        getDescriptor().getMessageTypes().get(0);
    internal_static_google_devtools_source_v1_SourceContext_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_devtools_source_v1_SourceContext_descriptor,
            new java.lang.String[] {
              "CloudRepo", "CloudWorkspace", "Gerrit", "Git", "Context",
            });
    internal_static_google_devtools_source_v1_ExtendedSourceContext_descriptor =
        getDescriptor().getMessageTypes().get(1);
    internal_static_google_devtools_source_v1_ExtendedSourceContext_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_devtools_source_v1_ExtendedSourceContext_descriptor,
            new java.lang.String[] {
              "Context", "Labels",
            });
    internal_static_google_devtools_source_v1_ExtendedSourceContext_LabelsEntry_descriptor =
        internal_static_google_devtools_source_v1_ExtendedSourceContext_descriptor
            .getNestedTypes()
            .get(0);
    internal_static_google_devtools_source_v1_ExtendedSourceContext_LabelsEntry_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_devtools_source_v1_ExtendedSourceContext_LabelsEntry_descriptor,
            new java.lang.String[] {
              "Key", "Value",
            });
    internal_static_google_devtools_source_v1_AliasContext_descriptor =
        getDescriptor().getMessageTypes().get(2);
    internal_static_google_devtools_source_v1_AliasContext_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_devtools_source_v1_AliasContext_descriptor,
            new java.lang.String[] {
              "Kind", "Name",
            });
    internal_static_google_devtools_source_v1_CloudRepoSourceContext_descriptor =
        getDescriptor().getMessageTypes().get(3);
    internal_static_google_devtools_source_v1_CloudRepoSourceContext_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_devtools_source_v1_CloudRepoSourceContext_descriptor,
            new java.lang.String[] {
              "RepoId", "RevisionId", "AliasName", "AliasContext", "Revision",
            });
    internal_static_google_devtools_source_v1_CloudWorkspaceSourceContext_descriptor =
        getDescriptor().getMessageTypes().get(4);
    internal_static_google_devtools_source_v1_CloudWorkspaceSourceContext_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_devtools_source_v1_CloudWorkspaceSourceContext_descriptor,
            new java.lang.String[] {
              "WorkspaceId", "SnapshotId",
            });
    internal_static_google_devtools_source_v1_GerritSourceContext_descriptor =
        getDescriptor().getMessageTypes().get(5);
    internal_static_google_devtools_source_v1_GerritSourceContext_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_devtools_source_v1_GerritSourceContext_descriptor,
            new java.lang.String[] {
              "HostUri", "GerritProject", "RevisionId", "AliasName", "AliasContext", "Revision",
            });
    internal_static_google_devtools_source_v1_GitSourceContext_descriptor =
        getDescriptor().getMessageTypes().get(6);
    internal_static_google_devtools_source_v1_GitSourceContext_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_devtools_source_v1_GitSourceContext_descriptor,
            new java.lang.String[] {
              "Url", "RevisionId",
            });
    internal_static_google_devtools_source_v1_RepoId_descriptor =
        getDescriptor().getMessageTypes().get(7);
    internal_static_google_devtools_source_v1_RepoId_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_devtools_source_v1_RepoId_descriptor,
            new java.lang.String[] {
              "ProjectRepoId", "Uid", "Id",
            });
    internal_static_google_devtools_source_v1_ProjectRepoId_descriptor =
        getDescriptor().getMessageTypes().get(8);
    internal_static_google_devtools_source_v1_ProjectRepoId_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_devtools_source_v1_ProjectRepoId_descriptor,
            new java.lang.String[] {
              "ProjectId", "RepoName",
            });
    internal_static_google_devtools_source_v1_CloudWorkspaceId_descriptor =
        getDescriptor().getMessageTypes().get(9);
    internal_static_google_devtools_source_v1_CloudWorkspaceId_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_devtools_source_v1_CloudWorkspaceId_descriptor,
            new java.lang.String[] {
              "RepoId", "Name",
            });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
