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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<SerialPortOutput.Builder> implements SerialPortOutputOrBuilder
An instance serial console output.
Protobuf typegoogle.cloud.compute.v1.SerialPortOutput
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SerialPortOutput.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SerialPortOutputbuild()SerialPortOutputbuildPartial()SerialPortOutput.Builderclear()SerialPortOutput.BuilderclearContents()[Output Only] The contents of the console output.SerialPortOutput.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)SerialPortOutput.BuilderclearKind()[Output Only] Type of the resource.SerialPortOutput.BuilderclearNext()[Output Only] The position of the next byte of content, regardless of whether the content exists, following the output returned in the `contents` property.SerialPortOutput.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)SerialPortOutput.BuilderclearSelfLink()[Output Only] Server-defined URL for this resource.SerialPortOutput.BuilderclearStart()The starting byte position of the output that was returned.SerialPortOutput.Builderclone()StringgetContents()[Output Only] The contents of the console output.com.google.protobuf.ByteStringgetContentsBytes()[Output Only] The contents of the console output.SerialPortOutputgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetKind()[Output Only] Type of the resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] Type of the resource.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.StringgetSelfLink()[Output Only] Server-defined URL for this resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined URL for this resource.longgetStart()The starting byte position of the output that was returned.booleanhasContents()[Output Only] The contents of the console output.booleanhasKind()[Output Only] Type of the resource.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.booleanhasSelfLink()[Output Only] Server-defined URL for this resource.booleanhasStart()The starting byte position of the output that was returned.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()SerialPortOutput.BuildermergeFrom(SerialPortOutput other)SerialPortOutput.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)SerialPortOutput.BuildermergeFrom(com.google.protobuf.Message other)SerialPortOutput.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SerialPortOutput.BuildersetContents(String value)[Output Only] The contents of the console output.SerialPortOutput.BuildersetContentsBytes(com.google.protobuf.ByteString value)[Output Only] The contents of the console output.SerialPortOutput.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SerialPortOutput.BuildersetKind(String value)[Output Only] Type of the resource.SerialPortOutput.BuildersetKindBytes(com.google.protobuf.ByteString value)[Output Only] Type of the resource.SerialPortOutput.BuildersetNext(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.SerialPortOutput.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)SerialPortOutput.BuildersetSelfLink(String value)[Output Only] Server-defined URL for this resource.SerialPortOutput.BuildersetSelfLinkBytes(com.google.protobuf.ByteString value)[Output Only] Server-defined URL for this resource.SerialPortOutput.BuildersetStart(long value)The starting byte position of the output that was returned.SerialPortOutput.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SerialPortOutput.Builder>
-
clear
public SerialPortOutput.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<SerialPortOutput.Builder>
-
getDefaultInstanceForType
public SerialPortOutput getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public SerialPortOutput build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SerialPortOutput buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SerialPortOutput.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SerialPortOutput.Builder>
-
setField
public SerialPortOutput.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SerialPortOutput.Builder>
-
clearField
public SerialPortOutput.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SerialPortOutput.Builder>
-
clearOneof
public SerialPortOutput.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SerialPortOutput.Builder>
-
setRepeatedField
public SerialPortOutput.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SerialPortOutput.Builder>
-
addRepeatedField
public SerialPortOutput.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SerialPortOutput.Builder>
-
mergeFrom
public SerialPortOutput.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SerialPortOutput.Builder>
-
mergeFrom
public SerialPortOutput.Builder mergeFrom(SerialPortOutput other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public String 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
public SerialPortOutput.Builder setContents(String value)
[Output Only] The contents of the console output.
optional string contents = 506419994;- Parameters:
value- The contents to set.- Returns:
- This builder for chaining.
-
clearContents
public SerialPortOutput.Builder clearContents()
[Output Only] The contents of the console output.
optional string contents = 506419994;- Returns:
- This builder for chaining.
-
setContentsBytes
public SerialPortOutput.Builder setContentsBytes(com.google.protobuf.ByteString value)
[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] Type of the resource. Always compute#serialPortOutput for serial port output.
optional string kind = 3292052;- Specified by:
hasKindin interfaceSerialPortOutputOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] Type of the resource. Always compute#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] Type of the resource. Always compute#serialPortOutput for serial port output.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceSerialPortOutputOrBuilder- Returns:
- The bytes for kind.
-
setKind
public SerialPortOutput.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
public SerialPortOutput.Builder clearKind()
[Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
public SerialPortOutput.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource. Always compute#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
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;- Parameters:
value- The next to set.- Returns:
- 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;- Returns:
- This builder for chaining.
-
hasSelfLink
public boolean hasSelfLink()
[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
public String getSelfLink()
[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] Server-defined URL for this resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceSerialPortOutputOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
public SerialPortOutput.Builder setSelfLink(String value)
[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
public SerialPortOutput.Builder clearSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
public SerialPortOutput.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[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
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;- Parameters:
value- The start to set.- Returns:
- 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;- Returns:
- This builder for chaining.
-
setUnknownFields
public final SerialPortOutput.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SerialPortOutput.Builder>
-
mergeUnknownFields
public final SerialPortOutput.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SerialPortOutput.Builder>
-
-