• 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/compute/v1/compute.proto
18 
19 package com.google.cloud.compute.v1;
20 
21 public interface SerialPortOutputOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.SerialPortOutput)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * [Output Only] The contents of the console output.
31    * </pre>
32    *
33    * <code>optional string contents = 506419994;</code>
34    *
35    * @return Whether the contents field is set.
36    */
hasContents()37   boolean hasContents();
38   /**
39    *
40    *
41    * <pre>
42    * [Output Only] The contents of the console output.
43    * </pre>
44    *
45    * <code>optional string contents = 506419994;</code>
46    *
47    * @return The contents.
48    */
getContents()49   java.lang.String getContents();
50   /**
51    *
52    *
53    * <pre>
54    * [Output Only] The contents of the console output.
55    * </pre>
56    *
57    * <code>optional string contents = 506419994;</code>
58    *
59    * @return The bytes for contents.
60    */
getContentsBytes()61   com.google.protobuf.ByteString getContentsBytes();
62 
63   /**
64    *
65    *
66    * <pre>
67    * [Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.
68    * </pre>
69    *
70    * <code>optional string kind = 3292052;</code>
71    *
72    * @return Whether the kind field is set.
73    */
hasKind()74   boolean hasKind();
75   /**
76    *
77    *
78    * <pre>
79    * [Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.
80    * </pre>
81    *
82    * <code>optional string kind = 3292052;</code>
83    *
84    * @return The kind.
85    */
getKind()86   java.lang.String getKind();
87   /**
88    *
89    *
90    * <pre>
91    * [Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.
92    * </pre>
93    *
94    * <code>optional string kind = 3292052;</code>
95    *
96    * @return The bytes for kind.
97    */
getKindBytes()98   com.google.protobuf.ByteString getKindBytes();
99 
100   /**
101    *
102    *
103    * <pre>
104    * [Output Only] The position of the next byte of content, regardless of whether the content exists, following the output returned in the `contents` property. Use this value in the next request as the start parameter.
105    * </pre>
106    *
107    * <code>optional int64 next = 3377907;</code>
108    *
109    * @return Whether the next field is set.
110    */
hasNext()111   boolean hasNext();
112   /**
113    *
114    *
115    * <pre>
116    * [Output Only] The position of the next byte of content, regardless of whether the content exists, following the output returned in the `contents` property. Use this value in the next request as the start parameter.
117    * </pre>
118    *
119    * <code>optional int64 next = 3377907;</code>
120    *
121    * @return The next.
122    */
getNext()123   long getNext();
124 
125   /**
126    *
127    *
128    * <pre>
129    * [Output Only] Server-defined URL for this resource.
130    * </pre>
131    *
132    * <code>optional string self_link = 456214797;</code>
133    *
134    * @return Whether the selfLink field is set.
135    */
hasSelfLink()136   boolean hasSelfLink();
137   /**
138    *
139    *
140    * <pre>
141    * [Output Only] Server-defined URL for this resource.
142    * </pre>
143    *
144    * <code>optional string self_link = 456214797;</code>
145    *
146    * @return The selfLink.
147    */
getSelfLink()148   java.lang.String getSelfLink();
149   /**
150    *
151    *
152    * <pre>
153    * [Output Only] Server-defined URL for this resource.
154    * </pre>
155    *
156    * <code>optional string self_link = 456214797;</code>
157    *
158    * @return The bytes for selfLink.
159    */
getSelfLinkBytes()160   com.google.protobuf.ByteString getSelfLinkBytes();
161 
162   /**
163    *
164    *
165    * <pre>
166    * The starting byte position of the output that was returned. This should match the start parameter sent with the request. If the serial console output exceeds the size of the buffer (1 MB), older output is overwritten by newer content. The output start value will indicate the byte position of the output that was returned, which might be different than the `start` value that was specified in the request.
167    * </pre>
168    *
169    * <code>optional int64 start = 109757538;</code>
170    *
171    * @return Whether the start field is set.
172    */
hasStart()173   boolean hasStart();
174   /**
175    *
176    *
177    * <pre>
178    * The starting byte position of the output that was returned. This should match the start parameter sent with the request. If the serial console output exceeds the size of the buffer (1 MB), older output is overwritten by newer content. The output start value will indicate the byte position of the output that was returned, which might be different than the `start` value that was specified in the request.
179    * </pre>
180    *
181    * <code>optional int64 start = 109757538;</code>
182    *
183    * @return The start.
184    */
getStart()185   long getStart();
186 }
187