• 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/cloud/vmmigration/v1/vmmigration.proto
18 
19 package com.google.cloud.vmmigration.v1;
20 
21 public interface CreateUtilizationReportRequestOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CreateUtilizationReportRequest)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Required. The Utilization Report's parent.
31    * </pre>
32    *
33    * <code>
34    * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
35    * </code>
36    *
37    * @return The parent.
38    */
getParent()39   java.lang.String getParent();
40   /**
41    *
42    *
43    * <pre>
44    * Required. The Utilization Report's parent.
45    * </pre>
46    *
47    * <code>
48    * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
49    * </code>
50    *
51    * @return The bytes for parent.
52    */
getParentBytes()53   com.google.protobuf.ByteString getParentBytes();
54 
55   /**
56    *
57    *
58    * <pre>
59    * Required. The report to create.
60    * </pre>
61    *
62    * <code>
63    * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED];
64    * </code>
65    *
66    * @return Whether the utilizationReport field is set.
67    */
hasUtilizationReport()68   boolean hasUtilizationReport();
69   /**
70    *
71    *
72    * <pre>
73    * Required. The report to create.
74    * </pre>
75    *
76    * <code>
77    * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED];
78    * </code>
79    *
80    * @return The utilizationReport.
81    */
getUtilizationReport()82   com.google.cloud.vmmigration.v1.UtilizationReport getUtilizationReport();
83   /**
84    *
85    *
86    * <pre>
87    * Required. The report to create.
88    * </pre>
89    *
90    * <code>
91    * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED];
92    * </code>
93    */
getUtilizationReportOrBuilder()94   com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder getUtilizationReportOrBuilder();
95 
96   /**
97    *
98    *
99    * <pre>
100    * Required. The ID to use for the report, which will become the final
101    * component of the reports's resource name.
102    * This value maximum length is 63 characters, and valid characters
103    * are /[a-z][0-9]-/. It must start with an english letter and must not
104    * end with a hyphen.
105    * </pre>
106    *
107    * <code>string utilization_report_id = 3 [(.google.api.field_behavior) = REQUIRED];</code>
108    *
109    * @return The utilizationReportId.
110    */
getUtilizationReportId()111   java.lang.String getUtilizationReportId();
112   /**
113    *
114    *
115    * <pre>
116    * Required. The ID to use for the report, which will become the final
117    * component of the reports's resource name.
118    * This value maximum length is 63 characters, and valid characters
119    * are /[a-z][0-9]-/. It must start with an english letter and must not
120    * end with a hyphen.
121    * </pre>
122    *
123    * <code>string utilization_report_id = 3 [(.google.api.field_behavior) = REQUIRED];</code>
124    *
125    * @return The bytes for utilizationReportId.
126    */
getUtilizationReportIdBytes()127   com.google.protobuf.ByteString getUtilizationReportIdBytes();
128 
129   /**
130    *
131    *
132    * <pre>
133    * A request ID to identify requests. Specify a unique request ID
134    * so that if you must retry your request, the server will know to ignore
135    * the request if it has already been completed. The server will guarantee
136    * that for at least 60 minutes since the first request.
137    * For example, consider a situation where you make an initial request and t
138    * he request times out. If you make the request again with the same request
139    * ID, the server can check if original operation with the same request ID
140    * was received, and if so, will ignore the second request. This prevents
141    * clients from accidentally creating duplicate commitments.
142    * The request ID must be a valid UUID with the exception that zero UUID is
143    * not supported (00000000-0000-0000-0000-000000000000).
144    * </pre>
145    *
146    * <code>string request_id = 4;</code>
147    *
148    * @return The requestId.
149    */
getRequestId()150   java.lang.String getRequestId();
151   /**
152    *
153    *
154    * <pre>
155    * A request ID to identify requests. Specify a unique request ID
156    * so that if you must retry your request, the server will know to ignore
157    * the request if it has already been completed. The server will guarantee
158    * that for at least 60 minutes since the first request.
159    * For example, consider a situation where you make an initial request and t
160    * he request times out. If you make the request again with the same request
161    * ID, the server can check if original operation with the same request ID
162    * was received, and if so, will ignore the second request. This prevents
163    * clients from accidentally creating duplicate commitments.
164    * The request ID must be a valid UUID with the exception that zero UUID is
165    * not supported (00000000-0000-0000-0000-000000000000).
166    * </pre>
167    *
168    * <code>string request_id = 4;</code>
169    *
170    * @return The bytes for requestId.
171    */
getRequestIdBytes()172   com.google.protobuf.ByteString getRequestIdBytes();
173 }
174