• 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/cloudprofiler/v2/profiler.proto
18 
19 package com.google.devtools.cloudprofiler.v2;
20 
21 public final class ProfilerProto {
ProfilerProto()22   private ProfilerProto() {}
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_cloudprofiler_v2_CreateProfileRequest_descriptor;
32   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
33       internal_static_google_devtools_cloudprofiler_v2_CreateProfileRequest_fieldAccessorTable;
34   static final com.google.protobuf.Descriptors.Descriptor
35       internal_static_google_devtools_cloudprofiler_v2_CreateOfflineProfileRequest_descriptor;
36   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
37       internal_static_google_devtools_cloudprofiler_v2_CreateOfflineProfileRequest_fieldAccessorTable;
38   static final com.google.protobuf.Descriptors.Descriptor
39       internal_static_google_devtools_cloudprofiler_v2_UpdateProfileRequest_descriptor;
40   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
41       internal_static_google_devtools_cloudprofiler_v2_UpdateProfileRequest_fieldAccessorTable;
42   static final com.google.protobuf.Descriptors.Descriptor
43       internal_static_google_devtools_cloudprofiler_v2_Profile_descriptor;
44   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
45       internal_static_google_devtools_cloudprofiler_v2_Profile_fieldAccessorTable;
46   static final com.google.protobuf.Descriptors.Descriptor
47       internal_static_google_devtools_cloudprofiler_v2_Profile_LabelsEntry_descriptor;
48   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
49       internal_static_google_devtools_cloudprofiler_v2_Profile_LabelsEntry_fieldAccessorTable;
50   static final com.google.protobuf.Descriptors.Descriptor
51       internal_static_google_devtools_cloudprofiler_v2_Deployment_descriptor;
52   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
53       internal_static_google_devtools_cloudprofiler_v2_Deployment_fieldAccessorTable;
54   static final com.google.protobuf.Descriptors.Descriptor
55       internal_static_google_devtools_cloudprofiler_v2_Deployment_LabelsEntry_descriptor;
56   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
57       internal_static_google_devtools_cloudprofiler_v2_Deployment_LabelsEntry_fieldAccessorTable;
58 
getDescriptor()59   public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
60     return descriptor;
61   }
62 
63   private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
64 
65   static {
66     java.lang.String[] descriptorData = {
67       "\n/google/devtools/cloudprofiler/v2/profi"
68           + "ler.proto\022 google.devtools.cloudprofiler"
69           + ".v2\032\034google/api/annotations.proto\032\027googl"
70           + "e/api/client.proto\032\037google/api/field_beh"
71           + "avior.proto\032\031google/api/resource.proto\032\036"
72           + "google/protobuf/duration.proto\032 google/p"
73           + "rotobuf/field_mask.proto\"\337\001\n\024CreateProfi"
74           + "leRequest\022@\n\006parent\030\004 \001(\tB0\372A-\n+cloudres"
75           + "ourcemanager.googleapis.com/Project\022@\n\nd"
76           + "eployment\030\001 \001(\0132,.google.devtools.cloudp"
77           + "rofiler.v2.Deployment\022C\n\014profile_type\030\002 "
78           + "\003(\0162-.google.devtools.cloudprofiler.v2.P"
79           + "rofileType\"\233\001\n\033CreateOfflineProfileReque"
80           + "st\022@\n\006parent\030\001 \001(\tB0\372A-\n+cloudresourcema"
81           + "nager.googleapis.com/Project\022:\n\007profile\030"
82           + "\002 \001(\0132).google.devtools.cloudprofiler.v2"
83           + ".Profile\"\203\001\n\024UpdateProfileRequest\022:\n\007pro"
84           + "file\030\001 \001(\0132).google.devtools.cloudprofil"
85           + "er.v2.Profile\022/\n\013update_mask\030\002 \001(\0132\032.goo"
86           + "gle.protobuf.FieldMask\"\271\003\n\007Profile\022\021\n\004na"
87           + "me\030\001 \001(\tB\003\340A\003\022C\n\014profile_type\030\002 \001(\0162-.go"
88           + "ogle.devtools.cloudprofiler.v2.ProfileTy"
89           + "pe\022@\n\ndeployment\030\003 \001(\0132,.google.devtools"
90           + ".cloudprofiler.v2.Deployment\022+\n\010duration"
91           + "\030\004 \001(\0132\031.google.protobuf.Duration\022\032\n\rpro"
92           + "file_bytes\030\005 \001(\014B\003\340A\004\022J\n\006labels\030\006 \003(\01325."
93           + "google.devtools.cloudprofiler.v2.Profile"
94           + ".LabelsEntryB\003\340A\004\032-\n\013LabelsEntry\022\013\n\003key\030"
95           + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:P\352AM\n$cloudprof"
96           + "iler.googleapis.com/Profile\022%projects/{p"
97           + "roject}/profiles/{profile}\"\251\001\n\nDeploymen"
98           + "t\022\022\n\nproject_id\030\001 \001(\t\022\016\n\006target\030\002 \001(\t\022H\n"
99           + "\006labels\030\003 \003(\01328.google.devtools.cloudpro"
100           + "filer.v2.Deployment.LabelsEntry\032-\n\013Label"
101           + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001*\204"
102           + "\001\n\013ProfileType\022\034\n\030PROFILE_TYPE_UNSPECIFI"
103           + "ED\020\000\022\007\n\003CPU\020\001\022\010\n\004WALL\020\002\022\010\n\004HEAP\020\003\022\013\n\007THR"
104           + "EADS\020\004\022\016\n\nCONTENTION\020\005\022\r\n\tPEAK_HEAP\020\006\022\016\n"
105           + "\nHEAP_ALLOC\020\0072\376\005\n\017ProfilerService\022\237\001\n\rCr"
106           + "eateProfile\0226.google.devtools.cloudprofi"
107           + "ler.v2.CreateProfileRequest\032).google.dev"
108           + "tools.cloudprofiler.v2.Profile\"+\202\323\344\223\002%\" "
109           + "/v2/{parent=projects/*}/profiles:\001*\022\322\001\n\024"
110           + "CreateOfflineProfile\022=.google.devtools.c"
111           + "loudprofiler.v2.CreateOfflineProfileRequ"
112           + "est\032).google.devtools.cloudprofiler.v2.P"
113           + "rofile\"P\202\323\344\223\0029\"./v2/{parent=projects/*}/"
114           + "profiles:createOffline:\007profile\332A\016parent"
115           + ",profile\022\303\001\n\rUpdateProfile\0226.google.devt"
116           + "ools.cloudprofiler.v2.UpdateProfileReque"
117           + "st\032).google.devtools.cloudprofiler.v2.Pr"
118           + "ofile\"O\202\323\344\223\00232(/v2/{profile.name=project"
119           + "s/*/profiles/*}:\007profile\332A\023profile,updat"
120           + "e_mask\032\255\001\312A\034cloudprofiler.googleapis.com"
121           + "\322A\212\001https://www.googleapis.com/auth/clou"
122           + "d-platform,https://www.googleapis.com/au"
123           + "th/monitoring,https://www.googleapis.com"
124           + "/auth/monitoring.writeB\332\001\n$com.google.de"
125           + "vtools.cloudprofiler.v2B\rProfilerProtoP\001"
126           + "ZMgoogle.golang.org/genproto/googleapis/"
127           + "devtools/cloudprofiler/v2;cloudprofiler\252"
128           + "\002\030Google.Cloud.Profiler.V2\312\002\030Google\\Clou"
129           + "d\\Profiler\\V2\352\002\033Google::Cloud::Profiler:"
130           + ":V2b\006proto3"
131     };
132     descriptor =
133         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
134             descriptorData,
135             new com.google.protobuf.Descriptors.FileDescriptor[] {
136               com.google.api.AnnotationsProto.getDescriptor(),
137               com.google.api.ClientProto.getDescriptor(),
138               com.google.api.FieldBehaviorProto.getDescriptor(),
139               com.google.api.ResourceProto.getDescriptor(),
140               com.google.protobuf.DurationProto.getDescriptor(),
141               com.google.protobuf.FieldMaskProto.getDescriptor(),
142             });
143     internal_static_google_devtools_cloudprofiler_v2_CreateProfileRequest_descriptor =
144         getDescriptor().getMessageTypes().get(0);
145     internal_static_google_devtools_cloudprofiler_v2_CreateProfileRequest_fieldAccessorTable =
146         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
147             internal_static_google_devtools_cloudprofiler_v2_CreateProfileRequest_descriptor,
148             new java.lang.String[] {
149               "Parent", "Deployment", "ProfileType",
150             });
151     internal_static_google_devtools_cloudprofiler_v2_CreateOfflineProfileRequest_descriptor =
152         getDescriptor().getMessageTypes().get(1);
153     internal_static_google_devtools_cloudprofiler_v2_CreateOfflineProfileRequest_fieldAccessorTable =
154         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
155             internal_static_google_devtools_cloudprofiler_v2_CreateOfflineProfileRequest_descriptor,
156             new java.lang.String[] {
157               "Parent", "Profile",
158             });
159     internal_static_google_devtools_cloudprofiler_v2_UpdateProfileRequest_descriptor =
160         getDescriptor().getMessageTypes().get(2);
161     internal_static_google_devtools_cloudprofiler_v2_UpdateProfileRequest_fieldAccessorTable =
162         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
163             internal_static_google_devtools_cloudprofiler_v2_UpdateProfileRequest_descriptor,
164             new java.lang.String[] {
165               "Profile", "UpdateMask",
166             });
167     internal_static_google_devtools_cloudprofiler_v2_Profile_descriptor =
168         getDescriptor().getMessageTypes().get(3);
169     internal_static_google_devtools_cloudprofiler_v2_Profile_fieldAccessorTable =
170         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
171             internal_static_google_devtools_cloudprofiler_v2_Profile_descriptor,
172             new java.lang.String[] {
173               "Name", "ProfileType", "Deployment", "Duration", "ProfileBytes", "Labels",
174             });
175     internal_static_google_devtools_cloudprofiler_v2_Profile_LabelsEntry_descriptor =
176         internal_static_google_devtools_cloudprofiler_v2_Profile_descriptor.getNestedTypes().get(0);
177     internal_static_google_devtools_cloudprofiler_v2_Profile_LabelsEntry_fieldAccessorTable =
178         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
179             internal_static_google_devtools_cloudprofiler_v2_Profile_LabelsEntry_descriptor,
180             new java.lang.String[] {
181               "Key", "Value",
182             });
183     internal_static_google_devtools_cloudprofiler_v2_Deployment_descriptor =
184         getDescriptor().getMessageTypes().get(4);
185     internal_static_google_devtools_cloudprofiler_v2_Deployment_fieldAccessorTable =
186         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
187             internal_static_google_devtools_cloudprofiler_v2_Deployment_descriptor,
188             new java.lang.String[] {
189               "ProjectId", "Target", "Labels",
190             });
191     internal_static_google_devtools_cloudprofiler_v2_Deployment_LabelsEntry_descriptor =
192         internal_static_google_devtools_cloudprofiler_v2_Deployment_descriptor
193             .getNestedTypes()
194             .get(0);
195     internal_static_google_devtools_cloudprofiler_v2_Deployment_LabelsEntry_fieldAccessorTable =
196         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
197             internal_static_google_devtools_cloudprofiler_v2_Deployment_LabelsEntry_descriptor,
198             new java.lang.String[] {
199               "Key", "Value",
200             });
201     com.google.protobuf.ExtensionRegistry registry =
202         com.google.protobuf.ExtensionRegistry.newInstance();
203     registry.add(com.google.api.ClientProto.defaultHost);
204     registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
205     registry.add(com.google.api.AnnotationsProto.http);
206     registry.add(com.google.api.ClientProto.methodSignature);
207     registry.add(com.google.api.ClientProto.oauthScopes);
208     registry.add(com.google.api.ResourceProto.resource);
209     registry.add(com.google.api.ResourceProto.resourceReference);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry)210     com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
211         descriptor, registry);
com.google.api.AnnotationsProto.getDescriptor()212     com.google.api.AnnotationsProto.getDescriptor();
com.google.api.ClientProto.getDescriptor()213     com.google.api.ClientProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor()214     com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor()215     com.google.api.ResourceProto.getDescriptor();
com.google.protobuf.DurationProto.getDescriptor()216     com.google.protobuf.DurationProto.getDescriptor();
com.google.protobuf.FieldMaskProto.getDescriptor()217     com.google.protobuf.FieldMaskProto.getDescriptor();
218   }
219 
220   // @@protoc_insertion_point(outer_class_scope)
221 }
222