• 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 interface CreateProfileRequestOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.devtools.cloudprofiler.v2.CreateProfileRequest)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Parent project to create the profile in.
31    * </pre>
32    *
33    * <code>string parent = 4 [(.google.api.resource_reference) = { ... }</code>
34    *
35    * @return The parent.
36    */
getParent()37   java.lang.String getParent();
38   /**
39    *
40    *
41    * <pre>
42    * Parent project to create the profile in.
43    * </pre>
44    *
45    * <code>string parent = 4 [(.google.api.resource_reference) = { ... }</code>
46    *
47    * @return The bytes for parent.
48    */
getParentBytes()49   com.google.protobuf.ByteString getParentBytes();
50 
51   /**
52    *
53    *
54    * <pre>
55    * Deployment details.
56    * </pre>
57    *
58    * <code>.google.devtools.cloudprofiler.v2.Deployment deployment = 1;</code>
59    *
60    * @return Whether the deployment field is set.
61    */
hasDeployment()62   boolean hasDeployment();
63   /**
64    *
65    *
66    * <pre>
67    * Deployment details.
68    * </pre>
69    *
70    * <code>.google.devtools.cloudprofiler.v2.Deployment deployment = 1;</code>
71    *
72    * @return The deployment.
73    */
getDeployment()74   com.google.devtools.cloudprofiler.v2.Deployment getDeployment();
75   /**
76    *
77    *
78    * <pre>
79    * Deployment details.
80    * </pre>
81    *
82    * <code>.google.devtools.cloudprofiler.v2.Deployment deployment = 1;</code>
83    */
getDeploymentOrBuilder()84   com.google.devtools.cloudprofiler.v2.DeploymentOrBuilder getDeploymentOrBuilder();
85 
86   /**
87    *
88    *
89    * <pre>
90    * One or more profile types that the agent is capable of providing.
91    * </pre>
92    *
93    * <code>repeated .google.devtools.cloudprofiler.v2.ProfileType profile_type = 2;</code>
94    *
95    * @return A list containing the profileType.
96    */
getProfileTypeList()97   java.util.List<com.google.devtools.cloudprofiler.v2.ProfileType> getProfileTypeList();
98   /**
99    *
100    *
101    * <pre>
102    * One or more profile types that the agent is capable of providing.
103    * </pre>
104    *
105    * <code>repeated .google.devtools.cloudprofiler.v2.ProfileType profile_type = 2;</code>
106    *
107    * @return The count of profileType.
108    */
getProfileTypeCount()109   int getProfileTypeCount();
110   /**
111    *
112    *
113    * <pre>
114    * One or more profile types that the agent is capable of providing.
115    * </pre>
116    *
117    * <code>repeated .google.devtools.cloudprofiler.v2.ProfileType profile_type = 2;</code>
118    *
119    * @param index The index of the element to return.
120    * @return The profileType at the given index.
121    */
getProfileType(int index)122   com.google.devtools.cloudprofiler.v2.ProfileType getProfileType(int index);
123   /**
124    *
125    *
126    * <pre>
127    * One or more profile types that the agent is capable of providing.
128    * </pre>
129    *
130    * <code>repeated .google.devtools.cloudprofiler.v2.ProfileType profile_type = 2;</code>
131    *
132    * @return A list containing the enum numeric values on the wire for profileType.
133    */
getProfileTypeValueList()134   java.util.List<java.lang.Integer> getProfileTypeValueList();
135   /**
136    *
137    *
138    * <pre>
139    * One or more profile types that the agent is capable of providing.
140    * </pre>
141    *
142    * <code>repeated .google.devtools.cloudprofiler.v2.ProfileType profile_type = 2;</code>
143    *
144    * @param index The index of the value to return.
145    * @return The enum numeric value on the wire of profileType at the given index.
146    */
getProfileTypeValue(int index)147   int getProfileTypeValue(int index);
148 }
149