public static final class SerialPortOutput.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SerialPortOutput.Builder> implements SerialPortOutputOrBuilder
An instance serial console output.Protobuf type
google.cloud.compute.v1.SerialPortOutput| Modifier and Type | Method and Description |
|---|---|
SerialPortOutput.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SerialPortOutput |
build() |
SerialPortOutput |
buildPartial() |
SerialPortOutput.Builder |
clear() |
SerialPortOutput.Builder |
clearContents()
[Output Only] The contents of the console output.
|
SerialPortOutput.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SerialPortOutput.Builder |
clearKind()
[Output Only] Type of the resource.
|
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.
|
SerialPortOutput.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SerialPortOutput.Builder |
clearSelfLink()
[Output Only] Server-defined URL for this resource.
|
SerialPortOutput.Builder |
clearStart()
The starting byte position of the output that was returned.
|
SerialPortOutput.Builder |
clone() |
String |
getContents()
[Output Only] The contents of the console output.
|
com.google.protobuf.ByteString |
getContentsBytes()
[Output Only] The contents of the console output.
|
SerialPortOutput |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SerialPortOutput.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SerialPortOutput.Builder |
mergeFrom(com.google.protobuf.Message other) |
SerialPortOutput.Builder |
mergeFrom(SerialPortOutput other) |
SerialPortOutput.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SerialPortOutput.Builder |
setContents(String value)
[Output Only] The contents of the console output.
|
SerialPortOutput.Builder |
setContentsBytes(com.google.protobuf.ByteString value)
[Output Only] The contents of the console output.
|
SerialPortOutput.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SerialPortOutput.Builder |
setKind(String value)
[Output Only] Type of the resource.
|
SerialPortOutput.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource.
|
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.
|
SerialPortOutput.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SerialPortOutput.Builder |
setSelfLink(String value)
[Output Only] Server-defined URL for this resource.
|
SerialPortOutput.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for this resource.
|
SerialPortOutput.Builder |
setStart(long value)
The starting byte position of the output that was returned.
|
SerialPortOutput.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SerialPortOutput.Builder>public SerialPortOutput.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SerialPortOutput.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SerialPortOutput.Builder>public SerialPortOutput getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SerialPortOutput build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SerialPortOutput buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SerialPortOutput.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SerialPortOutput.Builder>public SerialPortOutput.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SerialPortOutput.Builder>public SerialPortOutput.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SerialPortOutput.Builder>public SerialPortOutput.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SerialPortOutput.Builder>public SerialPortOutput.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SerialPortOutput.Builder>public SerialPortOutput.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SerialPortOutput.Builder>public SerialPortOutput.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SerialPortOutput.Builder>public SerialPortOutput.Builder mergeFrom(SerialPortOutput other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SerialPortOutput.Builder>public SerialPortOutput.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SerialPortOutput.Builder>IOExceptionpublic boolean hasContents()
[Output Only] The contents of the console output.
optional string contents = 506419994;hasContents in interface SerialPortOutputOrBuilderpublic String getContents()
[Output Only] The contents of the console output.
optional string contents = 506419994;getContents in interface SerialPortOutputOrBuilderpublic com.google.protobuf.ByteString getContentsBytes()
[Output Only] The contents of the console output.
optional string contents = 506419994;getContentsBytes in interface SerialPortOutputOrBuilderpublic SerialPortOutput.Builder setContents(String value)
[Output Only] The contents of the console output.
optional string contents = 506419994;value - The contents to set.public SerialPortOutput.Builder clearContents()
[Output Only] The contents of the console output.
optional string contents = 506419994;public SerialPortOutput.Builder setContentsBytes(com.google.protobuf.ByteString value)
[Output Only] The contents of the console output.
optional string contents = 506419994;value - The bytes for contents to set.public boolean hasKind()
[Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.
optional string kind = 3292052;hasKind in interface SerialPortOutputOrBuilderpublic String getKind()
[Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.
optional string kind = 3292052;getKind in interface SerialPortOutputOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.
optional string kind = 3292052;getKindBytes in interface SerialPortOutputOrBuilderpublic SerialPortOutput.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.
optional string kind = 3292052;value - The kind to set.public SerialPortOutput.Builder clearKind()
[Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.
optional string kind = 3292052;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;value - The bytes for kind to set.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;hasNext in interface SerialPortOutputOrBuilderpublic 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;getNext in interface SerialPortOutputOrBuilderpublic 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;value - The next to set.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;public boolean hasSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;hasSelfLink in interface SerialPortOutputOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;getSelfLink in interface SerialPortOutputOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;getSelfLinkBytes in interface SerialPortOutputOrBuilderpublic SerialPortOutput.Builder setSelfLink(String value)
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;value - The selfLink to set.public SerialPortOutput.Builder clearSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;public SerialPortOutput.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;value - The bytes for selfLink to set.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;hasStart in interface SerialPortOutputOrBuilderpublic 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;getStart in interface SerialPortOutputOrBuilderpublic 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;value - The start to set.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;public final SerialPortOutput.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SerialPortOutput.Builder>public final SerialPortOutput.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SerialPortOutput.Builder>Copyright © 2023 Google LLC. All rights reserved.