- 1.62.0 (latest)
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class SerialPortOutput.Builder extends GeneratedMessageV3.Builder<SerialPortOutput.Builder> implements SerialPortOutputOrBuilder
An instance serial console output.
Protobuf type google.cloud.compute.v1.SerialPortOutput
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SerialPortOutput.BuilderImplements
SerialPortOutputOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SerialPortOutput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SerialPortOutput.Builder |
build()
public SerialPortOutput build()
Type | Description |
SerialPortOutput |
buildPartial()
public SerialPortOutput buildPartial()
Type | Description |
SerialPortOutput |
clear()
public SerialPortOutput.Builder clear()
Type | Description |
SerialPortOutput.Builder |
clearContents()
public SerialPortOutput.Builder clearContents()
[Output Only] The contents of the console output.
optional string contents = 506419994;
Type | Description |
SerialPortOutput.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SerialPortOutput.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
SerialPortOutput.Builder |
clearKind()
public SerialPortOutput.Builder clearKind()
[Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.
optional string kind = 3292052;
Type | Description |
SerialPortOutput.Builder | This builder for chaining. |
clearNext()
public SerialPortOutput.Builder clearNext()
[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;
Type | Description |
SerialPortOutput.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SerialPortOutput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
SerialPortOutput.Builder |
clearSelfLink()
public SerialPortOutput.Builder clearSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;
Type | Description |
SerialPortOutput.Builder | This builder for chaining. |
clearStart()
public SerialPortOutput.Builder clearStart()
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;
Type | Description |
SerialPortOutput.Builder | This builder for chaining. |
clone()
public SerialPortOutput.Builder clone()
Type | Description |
SerialPortOutput.Builder |
getContents()
public String getContents()
[Output Only] The contents of the console output.
optional string contents = 506419994;
Type | Description |
String | The contents. |
getContentsBytes()
public ByteString getContentsBytes()
[Output Only] The contents of the console output.
optional string contents = 506419994;
Type | Description |
ByteString | The bytes for contents. |
getDefaultInstanceForType()
public SerialPortOutput getDefaultInstanceForType()
Type | Description |
SerialPortOutput |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getKind()
public String getKind()
[Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.
optional string kind = 3292052;
Type | Description |
String | The kind. |
getKindBytes()
public ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.
optional string kind = 3292052;
Type | Description |
ByteString | The bytes for kind. |
getNext()
public 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;
Type | Description |
long | The next. |
getSelfLink()
public String getSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;
Type | Description |
String | The selfLink. |
getSelfLinkBytes()
public ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;
Type | Description |
ByteString | The bytes for selfLink. |
getStart()
public 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;
Type | Description |
long | The start. |
hasContents()
public boolean hasContents()
[Output Only] The contents of the console output.
optional string contents = 506419994;
Type | Description |
boolean | Whether the contents field is set. |
hasKind()
public boolean hasKind()
[Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.
optional string kind = 3292052;
Type | Description |
boolean | Whether the kind field is set. |
hasNext()
public 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;
Type | Description |
boolean | Whether the next field is set. |
hasSelfLink()
public boolean hasSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;
Type | Description |
boolean | Whether the selfLink field is set. |
hasStart()
public 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;
Type | Description |
boolean | Whether the start field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(SerialPortOutput other)
public SerialPortOutput.Builder mergeFrom(SerialPortOutput other)
Name | Description |
other | SerialPortOutput |
Type | Description |
SerialPortOutput.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SerialPortOutput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SerialPortOutput.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public SerialPortOutput.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
SerialPortOutput.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SerialPortOutput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SerialPortOutput.Builder |
setContents(String value)
public SerialPortOutput.Builder setContents(String value)
[Output Only] The contents of the console output.
optional string contents = 506419994;
Name | Description |
value | String The contents to set. |
Type | Description |
SerialPortOutput.Builder | This builder for chaining. |
setContentsBytes(ByteString value)
public SerialPortOutput.Builder setContentsBytes(ByteString value)
[Output Only] The contents of the console output.
optional string contents = 506419994;
Name | Description |
value | ByteString The bytes for contents to set. |
Type | Description |
SerialPortOutput.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SerialPortOutput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SerialPortOutput.Builder |
setKind(String value)
public SerialPortOutput.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.
optional string kind = 3292052;
Name | Description |
value | String The kind to set. |
Type | Description |
SerialPortOutput.Builder | This builder for chaining. |
setKindBytes(ByteString value)
public SerialPortOutput.Builder setKindBytes(ByteString value)
[Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.
optional string kind = 3292052;
Name | Description |
value | ByteString The bytes for kind to set. |
Type | Description |
SerialPortOutput.Builder | This builder for chaining. |
setNext(long value)
public SerialPortOutput.Builder setNext(long value)
[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;
Name | Description |
value | long The next to set. |
Type | Description |
SerialPortOutput.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SerialPortOutput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
SerialPortOutput.Builder |
setSelfLink(String value)
public SerialPortOutput.Builder setSelfLink(String value)
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;
Name | Description |
value | String The selfLink to set. |
Type | Description |
SerialPortOutput.Builder | This builder for chaining. |
setSelfLinkBytes(ByteString value)
public SerialPortOutput.Builder setSelfLinkBytes(ByteString value)
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;
Name | Description |
value | ByteString The bytes for selfLink to set. |
Type | Description |
SerialPortOutput.Builder | This builder for chaining. |
setStart(long value)
public SerialPortOutput.Builder setStart(long value)
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;
Name | Description |
value | long The start to set. |
Type | Description |
SerialPortOutput.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SerialPortOutput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SerialPortOutput.Builder |