Package com.google.cloud.compute.v1
Interface SerialPortOutputOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SerialPortOutput
,SerialPortOutput.Builder
public interface SerialPortOutputOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getContents()
[Output Only] The contents of the console output.com.google.protobuf.ByteString
getContentsBytes()
[Output Only] The contents of the console output.String
getKind()
[Output Only] Type of the resource.com.google.protobuf.ByteString
getKindBytes()
[Output Only] Type of the resource.long
getNext()
[Output Only] The position of the next byte of content, regardless of whether the content exists, following the output returned in the `contents` property.String
getSelfLink()
[Output Only] Server-defined URL for this resource.com.google.protobuf.ByteString
getSelfLinkBytes()
[Output Only] Server-defined URL for this resource.long
getStart()
The starting byte position of the output that was returned.boolean
hasContents()
[Output Only] The contents of the console output.boolean
hasKind()
[Output Only] Type of the resource.boolean
hasNext()
[Output Only] The position of the next byte of content, regardless of whether the content exists, following the output returned in the `contents` property.boolean
hasSelfLink()
[Output Only] Server-defined URL for this resource.boolean
hasStart()
The starting byte position of the output that was returned.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasContents
boolean hasContents()
[Output Only] The contents of the console output.
optional string contents = 506419994;
- Returns:
- Whether the contents field is set.
-
getContents
String getContents()
[Output Only] The contents of the console output.
optional string contents = 506419994;
- Returns:
- The contents.
-
getContentsBytes
com.google.protobuf.ByteString getContentsBytes()
[Output Only] The contents of the console output.
optional string contents = 506419994;
- Returns:
- The bytes for contents.
-
hasKind
boolean hasKind()
[Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.
optional string kind = 3292052;
- Returns:
- Whether the kind field is set.
-
getKind
String getKind()
[Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.
optional string kind = 3292052;
- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.
optional string kind = 3292052;
- Returns:
- The bytes for kind.
-
hasNext
boolean hasNext()
[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.
optional int64 next = 3377907;
- Returns:
- Whether the next field is set.
-
getNext
long getNext()
[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.
optional int64 next = 3377907;
- Returns:
- The next.
-
hasSelfLink
boolean hasSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;
- Returns:
- Whether the selfLink field is set.
-
getSelfLink
String getSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;
- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;
- Returns:
- The bytes for selfLink.
-
hasStart
boolean hasStart()
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.
optional int64 start = 109757538;
- Returns:
- Whether the start field is set.
-
getStart
long getStart()
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.
optional int64 start = 109757538;
- Returns:
- The start.
-
-