Package com.google.cloud.compute.v1
Class SerialPortOutput.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SerialPortOutput.Builder>
com.google.cloud.compute.v1.SerialPortOutput.Builder
- All Implemented Interfaces:
SerialPortOutputOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SerialPortOutput
public static final class SerialPortOutput.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SerialPortOutput.Builder>
implements SerialPortOutputOrBuilder
An instance serial console output.Protobuf type
google.cloud.compute.v1.SerialPortOutput-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()[Output Only] The contents of the console output.Output only.[Output Only] The position of the next byte of content, regardless of whether the content exists, following the output returned in the `contents` property.Output only.The starting byte position of the output that was returned.[Output Only] The contents of the console output.com.google.protobuf.ByteString[Output Only] The contents of the console output.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetKind()Output only.com.google.protobuf.ByteStringOutput only.longgetNext()[Output Only] The position of the next byte of content, regardless of whether the content exists, following the output returned in the `contents` property.Output only.com.google.protobuf.ByteStringOutput only.longgetStart()The starting byte position of the output that was returned.boolean[Output Only] The contents of the console output.booleanhasKind()Output only.booleanhasNext()[Output Only] The position of the next byte of content, regardless of whether the content exists, following the output returned in the `contents` property.booleanOutput only.booleanhasStart()The starting byte position of the output that was returned.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(SerialPortOutput other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setContents(String value) [Output Only] The contents of the console output.setContentsBytes(com.google.protobuf.ByteString value) [Output Only] The contents of the console output.Output only.setKindBytes(com.google.protobuf.ByteString value) Output only.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.setSelfLink(String value) Output only.setSelfLinkBytes(com.google.protobuf.ByteString value) Output only.setStart(long value) The starting byte position of the output that was returned.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SerialPortOutput.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SerialPortOutput.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SerialPortOutput.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SerialPortOutput.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SerialPortOutput.Builder>
-
mergeFrom
public SerialPortOutput.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SerialPortOutput.Builder>- Throws:
IOException
-
hasContents
public boolean hasContents()[Output Only] The contents of the console output.
optional string contents = 506419994;- Specified by:
hasContentsin interfaceSerialPortOutputOrBuilder- Returns:
- Whether the contents field is set.
-
getContents
[Output Only] The contents of the console output.
optional string contents = 506419994;- Specified by:
getContentsin interfaceSerialPortOutputOrBuilder- Returns:
- The contents.
-
getContentsBytes
public com.google.protobuf.ByteString getContentsBytes()[Output Only] The contents of the console output.
optional string contents = 506419994;- Specified by:
getContentsBytesin interfaceSerialPortOutputOrBuilder- Returns:
- The bytes for contents.
-
setContents
[Output Only] The contents of the console output.
optional string contents = 506419994;- Parameters:
value- The contents to set.- Returns:
- This builder for chaining.
-
clearContents
[Output Only] The contents of the console output.
optional string contents = 506419994;- Returns:
- This builder for chaining.
-
setContentsBytes
[Output Only] The contents of the console output.
optional string contents = 506419994;- Parameters:
value- The bytes for contents to set.- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()Output only. [Output Only] Type of the resource. Alwayscompute#serialPortOutput for serial port output.
optional string kind = 3292052;- Specified by:
hasKindin interfaceSerialPortOutputOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. [Output Only] Type of the resource. Alwayscompute#serialPortOutput for serial port output.
optional string kind = 3292052;- Specified by:
getKindin interfaceSerialPortOutputOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource. Alwayscompute#serialPortOutput for serial port output.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceSerialPortOutputOrBuilder- Returns:
- The bytes for kind.
-
setKind
Output only. [Output Only] Type of the resource. Alwayscompute#serialPortOutput for serial port output.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
Output only. [Output Only] Type of the resource. Alwayscompute#serialPortOutput for serial port output.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
Output only. [Output Only] Type of the resource. Alwayscompute#serialPortOutput for serial port output.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasNextin interfaceSerialPortOutputOrBuilder- Returns:
- Whether the next field is set.
-
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;- Specified by:
getNextin interfaceSerialPortOutputOrBuilder- Returns:
- The next.
-
setNext
[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;- Parameters:
value- The next to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
hasSelfLink
public boolean hasSelfLink()Output only. [Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceSerialPortOutputOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
Output only. [Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceSerialPortOutputOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()Output only. [Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceSerialPortOutputOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
Output only. [Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
Output only. [Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
Output only. [Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasStartin interfaceSerialPortOutputOrBuilder- Returns:
- Whether the start field is set.
-
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;- Specified by:
getStartin interfaceSerialPortOutputOrBuilder- Returns:
- The start.
-
setStart
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;- Parameters:
value- The start to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-