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
public interface GetSerialPortOutputInstanceRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
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.
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.
-
-