Package com.google.cloud.compute.v1
Interface GetSerialPortOutputInstanceRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GetSerialPortOutputInstanceRequest,GetSerialPortOutputInstanceRequest.Builder
@Generated
public interface GetSerialPortOutputInstanceRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionName of the instance for this request.com.google.protobuf.ByteStringName of the instance for this request.intgetPort()Specifies which COM or serial port to retrieve data from.Project ID for this request.com.google.protobuf.ByteStringProject ID for this request.longgetStart()Specifies the starting byte position of the output to return.getZone()The name of the zone for this request.com.google.protobuf.ByteStringThe name of the zone for this request.booleanhasPort()Specifies which COM or serial port to retrieve data from.booleanhasStart()Specifies the starting byte position of the output to return.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getInstance
String getInstance()Name of the instance for this request.
string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The instance.
-
getInstanceBytes
com.google.protobuf.ByteString getInstanceBytes()Name of the instance for this request.
string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for instance.
-
hasPort
boolean hasPort()Specifies which COM or serial port to retrieve data from.
optional int32 port = 3446913;- Returns:
- Whether the port field is set.
-
getPort
int getPort()Specifies which COM or serial port to retrieve data from.
optional int32 port = 3446913;- Returns:
- The port.
-
getProject
String getProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The project.
-
getProjectBytes
com.google.protobuf.ByteString getProjectBytes()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for project.
-
hasStart
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. Note that the negative start is bounded by the retained buffer size, and the returned serial console output will not exceed the max buffer size.
optional int64 start = 109757538;- Returns:
- Whether the start field is set.
-
getStart
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. Note that the negative start is bounded by the retained buffer size, and the returned serial console output will not exceed the max buffer size.
optional int64 start = 109757538;- Returns:
- The start.
-
getZone
String getZone()The name of the zone for this request.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The zone.
-
getZoneBytes
com.google.protobuf.ByteString getZoneBytes()The name of the zone for this request.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for zone.
-