public static final class GetSerialPortOutputInstanceRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetSerialPortOutputInstanceRequest.Builder> implements GetSerialPortOutputInstanceRequestOrBuilder
A request message for Instances.GetSerialPortOutput. See the method description for details.Protobuf type
google.cloud.compute.v1.GetSerialPortOutputInstanceRequest| Modifier and Type | Method and Description |
|---|---|
GetSerialPortOutputInstanceRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GetSerialPortOutputInstanceRequest |
build() |
GetSerialPortOutputInstanceRequest |
buildPartial() |
GetSerialPortOutputInstanceRequest.Builder |
clear() |
GetSerialPortOutputInstanceRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GetSerialPortOutputInstanceRequest.Builder |
clearInstance()
Name of the instance for this request.
|
GetSerialPortOutputInstanceRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GetSerialPortOutputInstanceRequest.Builder |
clearPort()
Specifies which COM or serial port to retrieve data from.
|
GetSerialPortOutputInstanceRequest.Builder |
clearProject()
Project ID for this request.
|
GetSerialPortOutputInstanceRequest.Builder |
clearStart()
Specifies the starting byte position of the output to return.
|
GetSerialPortOutputInstanceRequest.Builder |
clearZone()
The name of the zone for this request.
|
GetSerialPortOutputInstanceRequest.Builder |
clone() |
GetSerialPortOutputInstanceRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getInstance()
Name of the instance for this request.
|
com.google.protobuf.ByteString |
getInstanceBytes()
Name of the instance for this request.
|
int |
getPort()
Specifies which COM or serial port to retrieve data from.
|
String |
getProject()
Project ID for this request.
|
com.google.protobuf.ByteString |
getProjectBytes()
Project ID for this request.
|
long |
getStart()
Specifies the starting byte position of the output to return.
|
String |
getZone()
The name of the zone for this request.
|
com.google.protobuf.ByteString |
getZoneBytes()
The name of the zone for this request.
|
boolean |
hasPort()
Specifies which COM or serial port to retrieve data from.
|
boolean |
hasStart()
Specifies the starting byte position of the output to return.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GetSerialPortOutputInstanceRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GetSerialPortOutputInstanceRequest.Builder |
mergeFrom(GetSerialPortOutputInstanceRequest other) |
GetSerialPortOutputInstanceRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
GetSerialPortOutputInstanceRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GetSerialPortOutputInstanceRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GetSerialPortOutputInstanceRequest.Builder |
setInstance(String value)
Name of the instance for this request.
|
GetSerialPortOutputInstanceRequest.Builder |
setInstanceBytes(com.google.protobuf.ByteString value)
Name of the instance for this request.
|
GetSerialPortOutputInstanceRequest.Builder |
setPort(int value)
Specifies which COM or serial port to retrieve data from.
|
GetSerialPortOutputInstanceRequest.Builder |
setProject(String value)
Project ID for this request.
|
GetSerialPortOutputInstanceRequest.Builder |
setProjectBytes(com.google.protobuf.ByteString value)
Project ID for this request.
|
GetSerialPortOutputInstanceRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GetSerialPortOutputInstanceRequest.Builder |
setStart(long value)
Specifies the starting byte position of the output to return.
|
GetSerialPortOutputInstanceRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GetSerialPortOutputInstanceRequest.Builder |
setZone(String value)
The name of the zone for this request.
|
GetSerialPortOutputInstanceRequest.Builder |
setZoneBytes(com.google.protobuf.ByteString value)
The name of the zone for this request.
|
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<GetSerialPortOutputInstanceRequest.Builder>public GetSerialPortOutputInstanceRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<GetSerialPortOutputInstanceRequest.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<GetSerialPortOutputInstanceRequest.Builder>public GetSerialPortOutputInstanceRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GetSerialPortOutputInstanceRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GetSerialPortOutputInstanceRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GetSerialPortOutputInstanceRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GetSerialPortOutputInstanceRequest.Builder>public GetSerialPortOutputInstanceRequest.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<GetSerialPortOutputInstanceRequest.Builder>public GetSerialPortOutputInstanceRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GetSerialPortOutputInstanceRequest.Builder>public GetSerialPortOutputInstanceRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GetSerialPortOutputInstanceRequest.Builder>public GetSerialPortOutputInstanceRequest.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<GetSerialPortOutputInstanceRequest.Builder>public GetSerialPortOutputInstanceRequest.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<GetSerialPortOutputInstanceRequest.Builder>public GetSerialPortOutputInstanceRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetSerialPortOutputInstanceRequest.Builder>public GetSerialPortOutputInstanceRequest.Builder mergeFrom(GetSerialPortOutputInstanceRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GetSerialPortOutputInstanceRequest.Builder>public GetSerialPortOutputInstanceRequest.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<GetSerialPortOutputInstanceRequest.Builder>IOExceptionpublic String getInstance()
Name of the instance for this request.
string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];getInstance in interface GetSerialPortOutputInstanceRequestOrBuilderpublic com.google.protobuf.ByteString getInstanceBytes()
Name of the instance for this request.
string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];getInstanceBytes in interface GetSerialPortOutputInstanceRequestOrBuilderpublic GetSerialPortOutputInstanceRequest.Builder setInstance(String value)
Name of the instance for this request.
string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];value - The instance to set.public GetSerialPortOutputInstanceRequest.Builder clearInstance()
Name of the instance for this request.
string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];public GetSerialPortOutputInstanceRequest.Builder setInstanceBytes(com.google.protobuf.ByteString value)
Name of the instance for this request.
string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];value - The bytes for instance to set.public boolean hasPort()
Specifies which COM or serial port to retrieve data from.
optional int32 port = 3446913;hasPort in interface GetSerialPortOutputInstanceRequestOrBuilderpublic int getPort()
Specifies which COM or serial port to retrieve data from.
optional int32 port = 3446913;getPort in interface GetSerialPortOutputInstanceRequestOrBuilderpublic GetSerialPortOutputInstanceRequest.Builder setPort(int value)
Specifies which COM or serial port to retrieve data from.
optional int32 port = 3446913;value - The port to set.public GetSerialPortOutputInstanceRequest.Builder clearPort()
Specifies which COM or serial port to retrieve data from.
optional int32 port = 3446913;public String getProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];getProject in interface GetSerialPortOutputInstanceRequestOrBuilderpublic com.google.protobuf.ByteString getProjectBytes()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];getProjectBytes in interface GetSerialPortOutputInstanceRequestOrBuilderpublic GetSerialPortOutputInstanceRequest.Builder setProject(String value)
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];value - The project to set.public GetSerialPortOutputInstanceRequest.Builder clearProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];public GetSerialPortOutputInstanceRequest.Builder setProjectBytes(com.google.protobuf.ByteString value)
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];value - The bytes for project to set.public boolean hasStart()
Specifies the starting byte position of the output to return. To start with the first byte of output to the specified port, omit this field or set it to `0`. If the output for that byte position is available, this field matches the `start` parameter sent with the request. If the amount of serial console output exceeds the size of the buffer (1 MB), the oldest output is discarded and is no longer available. If the requested start position refers to discarded output, the start position is adjusted to the oldest output still available, and the adjusted start position is returned as the `start` property value. You can also provide a negative start position, which translates to the most recent number of bytes written to the serial port. For example, -3 is interpreted as the most recent 3 bytes written to the serial console.
optional int64 start = 109757538;hasStart in interface GetSerialPortOutputInstanceRequestOrBuilderpublic long getStart()
Specifies the starting byte position of the output to return. To start with the first byte of output to the specified port, omit this field or set it to `0`. If the output for that byte position is available, this field matches the `start` parameter sent with the request. If the amount of serial console output exceeds the size of the buffer (1 MB), the oldest output is discarded and is no longer available. If the requested start position refers to discarded output, the start position is adjusted to the oldest output still available, and the adjusted start position is returned as the `start` property value. You can also provide a negative start position, which translates to the most recent number of bytes written to the serial port. For example, -3 is interpreted as the most recent 3 bytes written to the serial console.
optional int64 start = 109757538;getStart in interface GetSerialPortOutputInstanceRequestOrBuilderpublic GetSerialPortOutputInstanceRequest.Builder setStart(long value)
Specifies the starting byte position of the output to return. To start with the first byte of output to the specified port, omit this field or set it to `0`. If the output for that byte position is available, this field matches the `start` parameter sent with the request. If the amount of serial console output exceeds the size of the buffer (1 MB), the oldest output is discarded and is no longer available. If the requested start position refers to discarded output, the start position is adjusted to the oldest output still available, and the adjusted start position is returned as the `start` property value. You can also provide a negative start position, which translates to the most recent number of bytes written to the serial port. For example, -3 is interpreted as the most recent 3 bytes written to the serial console.
optional int64 start = 109757538;value - The start to set.public GetSerialPortOutputInstanceRequest.Builder clearStart()
Specifies the starting byte position of the output to return. To start with the first byte of output to the specified port, omit this field or set it to `0`. If the output for that byte position is available, this field matches the `start` parameter sent with the request. If the amount of serial console output exceeds the size of the buffer (1 MB), the oldest output is discarded and is no longer available. If the requested start position refers to discarded output, the start position is adjusted to the oldest output still available, and the adjusted start position is returned as the `start` property value. You can also provide a negative start position, which translates to the most recent number of bytes written to the serial port. For example, -3 is interpreted as the most recent 3 bytes written to the serial console.
optional int64 start = 109757538;public String getZone()
The name of the zone for this request.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];getZone in interface GetSerialPortOutputInstanceRequestOrBuilderpublic com.google.protobuf.ByteString getZoneBytes()
The name of the zone for this request.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];getZoneBytes in interface GetSerialPortOutputInstanceRequestOrBuilderpublic GetSerialPortOutputInstanceRequest.Builder setZone(String value)
The name of the zone for this request.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];value - The zone to set.public GetSerialPortOutputInstanceRequest.Builder clearZone()
The name of the zone for this request.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];public GetSerialPortOutputInstanceRequest.Builder setZoneBytes(com.google.protobuf.ByteString value)
The name of the zone for this request.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];value - The bytes for zone to set.public final GetSerialPortOutputInstanceRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetSerialPortOutputInstanceRequest.Builder>public final GetSerialPortOutputInstanceRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetSerialPortOutputInstanceRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.