Interface SerialPortOutputOrBuilder (1.15.0)

public interface SerialPortOutputOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContents()

public abstract String getContents()

[Output Only] The contents of the console output.

optional string contents = 506419994;

Returns
TypeDescription
String

The contents.

getContentsBytes()

public abstract ByteString getContentsBytes()

[Output Only] The contents of the console output.

optional string contents = 506419994;

Returns
TypeDescription
ByteString

The bytes for contents.

getKind()

public abstract String getKind()

[Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.

optional string kind = 3292052;

Returns
TypeDescription
String

The kind.

getKindBytes()

public abstract ByteString getKindBytes()

[Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.

optional string kind = 3292052;

Returns
TypeDescription
ByteString

The bytes for kind.

getNext()

public abstract 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
TypeDescription
long

The next.

public abstract String getSelfLink()

[Output Only] Server-defined URL for this resource.

optional string self_link = 456214797;

Returns
TypeDescription
String

The selfLink.

getSelfLinkBytes()

public abstract ByteString getSelfLinkBytes()

[Output Only] Server-defined URL for this resource.

optional string self_link = 456214797;

Returns
TypeDescription
ByteString

The bytes for selfLink.

getStart()

public abstract 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
TypeDescription
long

The start.

hasContents()

public abstract boolean hasContents()

[Output Only] The contents of the console output.

optional string contents = 506419994;

Returns
TypeDescription
boolean

Whether the contents field is set.

hasKind()

public abstract boolean hasKind()

[Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.

optional string kind = 3292052;

Returns
TypeDescription
boolean

Whether the kind field is set.

hasNext()

public abstract 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
TypeDescription
boolean

Whether the next field is set.

public abstract boolean hasSelfLink()

[Output Only] Server-defined URL for this resource.

optional string self_link = 456214797;

Returns
TypeDescription
boolean

Whether the selfLink field is set.

hasStart()

public abstract 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
TypeDescription
boolean

Whether the start field is set.