• 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/devtools/source/v1/source_context.proto
18 
19 package com.google.devtools.source.v1;
20 
21 public final class SourceContextProto {
SourceContextProto()22   private SourceContextProto() {}
23 
registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)24   public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
25 
registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)26   public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
27     registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
28   }
29 
30   static final com.google.protobuf.Descriptors.Descriptor
31       internal_static_google_devtools_source_v1_SourceContext_descriptor;
32   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
33       internal_static_google_devtools_source_v1_SourceContext_fieldAccessorTable;
34   static final com.google.protobuf.Descriptors.Descriptor
35       internal_static_google_devtools_source_v1_ExtendedSourceContext_descriptor;
36   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
37       internal_static_google_devtools_source_v1_ExtendedSourceContext_fieldAccessorTable;
38   static final com.google.protobuf.Descriptors.Descriptor
39       internal_static_google_devtools_source_v1_ExtendedSourceContext_LabelsEntry_descriptor;
40   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
41       internal_static_google_devtools_source_v1_ExtendedSourceContext_LabelsEntry_fieldAccessorTable;
42   static final com.google.protobuf.Descriptors.Descriptor
43       internal_static_google_devtools_source_v1_AliasContext_descriptor;
44   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
45       internal_static_google_devtools_source_v1_AliasContext_fieldAccessorTable;
46   static final com.google.protobuf.Descriptors.Descriptor
47       internal_static_google_devtools_source_v1_CloudRepoSourceContext_descriptor;
48   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
49       internal_static_google_devtools_source_v1_CloudRepoSourceContext_fieldAccessorTable;
50   static final com.google.protobuf.Descriptors.Descriptor
51       internal_static_google_devtools_source_v1_CloudWorkspaceSourceContext_descriptor;
52   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
53       internal_static_google_devtools_source_v1_CloudWorkspaceSourceContext_fieldAccessorTable;
54   static final com.google.protobuf.Descriptors.Descriptor
55       internal_static_google_devtools_source_v1_GerritSourceContext_descriptor;
56   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
57       internal_static_google_devtools_source_v1_GerritSourceContext_fieldAccessorTable;
58   static final com.google.protobuf.Descriptors.Descriptor
59       internal_static_google_devtools_source_v1_GitSourceContext_descriptor;
60   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
61       internal_static_google_devtools_source_v1_GitSourceContext_fieldAccessorTable;
62   static final com.google.protobuf.Descriptors.Descriptor
63       internal_static_google_devtools_source_v1_RepoId_descriptor;
64   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
65       internal_static_google_devtools_source_v1_RepoId_fieldAccessorTable;
66   static final com.google.protobuf.Descriptors.Descriptor
67       internal_static_google_devtools_source_v1_ProjectRepoId_descriptor;
68   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
69       internal_static_google_devtools_source_v1_ProjectRepoId_fieldAccessorTable;
70   static final com.google.protobuf.Descriptors.Descriptor
71       internal_static_google_devtools_source_v1_CloudWorkspaceId_descriptor;
72   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
73       internal_static_google_devtools_source_v1_CloudWorkspaceId_fieldAccessorTable;
74 
getDescriptor()75   public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
76     return descriptor;
77   }
78 
79   private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
80 
81   static {
82     java.lang.String[] descriptorData = {
83       "\n.google/devtools/source/v1/source_conte"
84           + "xt.proto\022\031google.devtools.source.v1\"\264\002\n\r"
85           + "SourceContext\022G\n\ncloud_repo\030\001 \001(\01321.goog"
86           + "le.devtools.source.v1.CloudRepoSourceCon"
87           + "textH\000\022Q\n\017cloud_workspace\030\002 \001(\01326.google"
88           + ".devtools.source.v1.CloudWorkspaceSource"
89           + "ContextH\000\022@\n\006gerrit\030\003 \001(\0132..google.devto"
90           + "ols.source.v1.GerritSourceContextH\000\022:\n\003g"
91           + "it\030\006 \001(\0132+.google.devtools.source.v1.Git"
92           + "SourceContextH\000B\t\n\007context\"\317\001\n\025ExtendedS"
93           + "ourceContext\0229\n\007context\030\001 \001(\0132(.google.d"
94           + "evtools.source.v1.SourceContext\022L\n\006label"
95           + "s\030\002 \003(\0132<.google.devtools.source.v1.Exte"
96           + "ndedSourceContext.LabelsEntry\032-\n\013LabelsE"
97           + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\214\001\n"
98           + "\014AliasContext\022:\n\004kind\030\001 \001(\0162,.google.dev"
99           + "tools.source.v1.AliasContext.Kind\022\014\n\004nam"
100           + "e\030\002 \001(\t\"2\n\004Kind\022\007\n\003ANY\020\000\022\t\n\005FIXED\020\001\022\013\n\007M"
101           + "OVABLE\020\002\022\t\n\005OTHER\020\004\"\313\001\n\026CloudRepoSourceC"
102           + "ontext\0222\n\007repo_id\030\001 \001(\0132!.google.devtool"
103           + "s.source.v1.RepoId\022\025\n\013revision_id\030\002 \001(\tH"
104           + "\000\022\030\n\nalias_name\030\003 \001(\tB\002\030\001H\000\022@\n\ralias_con"
105           + "text\030\004 \001(\0132\'.google.devtools.source.v1.A"
106           + "liasContextH\000B\n\n\010revision\"u\n\033CloudWorksp"
107           + "aceSourceContext\022A\n\014workspace_id\030\001 \001(\0132+"
108           + ".google.devtools.source.v1.CloudWorkspac"
109           + "eId\022\023\n\013snapshot_id\030\002 \001(\t\"\276\001\n\023GerritSourc"
110           + "eContext\022\020\n\010host_uri\030\001 \001(\t\022\026\n\016gerrit_pro"
111           + "ject\030\002 \001(\t\022\025\n\013revision_id\030\003 \001(\tH\000\022\030\n\nali"
112           + "as_name\030\004 \001(\tB\002\030\001H\000\022@\n\ralias_context\030\005 \001"
113           + "(\0132\'.google.devtools.source.v1.AliasCont"
114           + "extH\000B\n\n\010revision\"4\n\020GitSourceContext\022\013\n"
115           + "\003url\030\001 \001(\t\022\023\n\013revision_id\030\002 \001(\t\"b\n\006RepoI"
116           + "d\022C\n\017project_repo_id\030\001 \001(\0132(.google.devt"
117           + "ools.source.v1.ProjectRepoIdH\000\022\r\n\003uid\030\002 "
118           + "\001(\tH\000B\004\n\002id\"6\n\rProjectRepoId\022\022\n\nproject_"
119           + "id\030\001 \001(\t\022\021\n\trepo_name\030\002 \001(\t\"T\n\020CloudWork"
120           + "spaceId\0222\n\007repo_id\030\001 \001(\0132!.google.devtoo"
121           + "ls.source.v1.RepoId\022\014\n\004name\030\002 \001(\tB\275\001\n\035co"
122           + "m.google.devtools.source.v1B\022SourceConte"
123           + "xtProtoP\001Z?google.golang.org/genproto/go"
124           + "ogleapis/devtools/source/v1;source\370\001\001\252\002\037"
125           + "Google.Cloud.DevTools.Source.V1\312\002\037Google"
126           + "\\Cloud\\DevTools\\Source\\V1b\006proto3"
127     };
128     descriptor =
129         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
130             descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
131     internal_static_google_devtools_source_v1_SourceContext_descriptor =
132         getDescriptor().getMessageTypes().get(0);
133     internal_static_google_devtools_source_v1_SourceContext_fieldAccessorTable =
134         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
135             internal_static_google_devtools_source_v1_SourceContext_descriptor,
136             new java.lang.String[] {
137               "CloudRepo", "CloudWorkspace", "Gerrit", "Git", "Context",
138             });
139     internal_static_google_devtools_source_v1_ExtendedSourceContext_descriptor =
140         getDescriptor().getMessageTypes().get(1);
141     internal_static_google_devtools_source_v1_ExtendedSourceContext_fieldAccessorTable =
142         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
143             internal_static_google_devtools_source_v1_ExtendedSourceContext_descriptor,
144             new java.lang.String[] {
145               "Context", "Labels",
146             });
147     internal_static_google_devtools_source_v1_ExtendedSourceContext_LabelsEntry_descriptor =
148         internal_static_google_devtools_source_v1_ExtendedSourceContext_descriptor
149             .getNestedTypes()
150             .get(0);
151     internal_static_google_devtools_source_v1_ExtendedSourceContext_LabelsEntry_fieldAccessorTable =
152         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
153             internal_static_google_devtools_source_v1_ExtendedSourceContext_LabelsEntry_descriptor,
154             new java.lang.String[] {
155               "Key", "Value",
156             });
157     internal_static_google_devtools_source_v1_AliasContext_descriptor =
158         getDescriptor().getMessageTypes().get(2);
159     internal_static_google_devtools_source_v1_AliasContext_fieldAccessorTable =
160         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
161             internal_static_google_devtools_source_v1_AliasContext_descriptor,
162             new java.lang.String[] {
163               "Kind", "Name",
164             });
165     internal_static_google_devtools_source_v1_CloudRepoSourceContext_descriptor =
166         getDescriptor().getMessageTypes().get(3);
167     internal_static_google_devtools_source_v1_CloudRepoSourceContext_fieldAccessorTable =
168         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
169             internal_static_google_devtools_source_v1_CloudRepoSourceContext_descriptor,
170             new java.lang.String[] {
171               "RepoId", "RevisionId", "AliasName", "AliasContext", "Revision",
172             });
173     internal_static_google_devtools_source_v1_CloudWorkspaceSourceContext_descriptor =
174         getDescriptor().getMessageTypes().get(4);
175     internal_static_google_devtools_source_v1_CloudWorkspaceSourceContext_fieldAccessorTable =
176         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
177             internal_static_google_devtools_source_v1_CloudWorkspaceSourceContext_descriptor,
178             new java.lang.String[] {
179               "WorkspaceId", "SnapshotId",
180             });
181     internal_static_google_devtools_source_v1_GerritSourceContext_descriptor =
182         getDescriptor().getMessageTypes().get(5);
183     internal_static_google_devtools_source_v1_GerritSourceContext_fieldAccessorTable =
184         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
185             internal_static_google_devtools_source_v1_GerritSourceContext_descriptor,
186             new java.lang.String[] {
187               "HostUri", "GerritProject", "RevisionId", "AliasName", "AliasContext", "Revision",
188             });
189     internal_static_google_devtools_source_v1_GitSourceContext_descriptor =
190         getDescriptor().getMessageTypes().get(6);
191     internal_static_google_devtools_source_v1_GitSourceContext_fieldAccessorTable =
192         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
193             internal_static_google_devtools_source_v1_GitSourceContext_descriptor,
194             new java.lang.String[] {
195               "Url", "RevisionId",
196             });
197     internal_static_google_devtools_source_v1_RepoId_descriptor =
198         getDescriptor().getMessageTypes().get(7);
199     internal_static_google_devtools_source_v1_RepoId_fieldAccessorTable =
200         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
201             internal_static_google_devtools_source_v1_RepoId_descriptor,
202             new java.lang.String[] {
203               "ProjectRepoId", "Uid", "Id",
204             });
205     internal_static_google_devtools_source_v1_ProjectRepoId_descriptor =
206         getDescriptor().getMessageTypes().get(8);
207     internal_static_google_devtools_source_v1_ProjectRepoId_fieldAccessorTable =
208         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
209             internal_static_google_devtools_source_v1_ProjectRepoId_descriptor,
210             new java.lang.String[] {
211               "ProjectId", "RepoName",
212             });
213     internal_static_google_devtools_source_v1_CloudWorkspaceId_descriptor =
214         getDescriptor().getMessageTypes().get(9);
215     internal_static_google_devtools_source_v1_CloudWorkspaceId_fieldAccessorTable =
216         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
217             internal_static_google_devtools_source_v1_CloudWorkspaceId_descriptor,
218             new java.lang.String[] {
219               "RepoId", "Name",
220             });
221   }
222 
223   // @@protoc_insertion_point(outer_class_scope)
224 }
225