Package com.google.cloud.compute.v1
Class GetSerialPortOutputInstanceRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GetSerialPortOutputInstanceRequest.Builder>
-
- com.google.cloud.compute.v1.GetSerialPortOutputInstanceRequest.Builder
-
- All Implemented Interfaces:
GetSerialPortOutputInstanceRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GetSerialPortOutputInstanceRequest
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 typegoogle.cloud.compute.v1.GetSerialPortOutputInstanceRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetSerialPortOutputInstanceRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GetSerialPortOutputInstanceRequestbuild()GetSerialPortOutputInstanceRequestbuildPartial()GetSerialPortOutputInstanceRequest.Builderclear()GetSerialPortOutputInstanceRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)GetSerialPortOutputInstanceRequest.BuilderclearInstance()Name of the instance for this request.GetSerialPortOutputInstanceRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)GetSerialPortOutputInstanceRequest.BuilderclearPort()Specifies which COM or serial port to retrieve data from.GetSerialPortOutputInstanceRequest.BuilderclearProject()Project ID for this request.GetSerialPortOutputInstanceRequest.BuilderclearStart()Specifies the starting byte position of the output to return.GetSerialPortOutputInstanceRequest.BuilderclearZone()The name of the zone for this request.GetSerialPortOutputInstanceRequest.Builderclone()GetSerialPortOutputInstanceRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetInstance()Name of the instance for this request.com.google.protobuf.ByteStringgetInstanceBytes()Name of the instance for this request.intgetPort()Specifies which COM or serial port to retrieve data from.StringgetProject()Project ID for this request.com.google.protobuf.ByteStringgetProjectBytes()Project ID for this request.longgetStart()Specifies the starting byte position of the output to return.StringgetZone()The name of the zone for this request.com.google.protobuf.ByteStringgetZoneBytes()The 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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()GetSerialPortOutputInstanceRequest.BuildermergeFrom(GetSerialPortOutputInstanceRequest other)GetSerialPortOutputInstanceRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)GetSerialPortOutputInstanceRequest.BuildermergeFrom(com.google.protobuf.Message other)GetSerialPortOutputInstanceRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GetSerialPortOutputInstanceRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GetSerialPortOutputInstanceRequest.BuildersetInstance(String value)Name of the instance for this request.GetSerialPortOutputInstanceRequest.BuildersetInstanceBytes(com.google.protobuf.ByteString value)Name of the instance for this request.GetSerialPortOutputInstanceRequest.BuildersetPort(int value)Specifies which COM or serial port to retrieve data from.GetSerialPortOutputInstanceRequest.BuildersetProject(String value)Project ID for this request.GetSerialPortOutputInstanceRequest.BuildersetProjectBytes(com.google.protobuf.ByteString value)Project ID for this request.GetSerialPortOutputInstanceRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)GetSerialPortOutputInstanceRequest.BuildersetStart(long value)Specifies the starting byte position of the output to return.GetSerialPortOutputInstanceRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GetSerialPortOutputInstanceRequest.BuildersetZone(String value)The name of the zone for this request.GetSerialPortOutputInstanceRequest.BuildersetZoneBytes(com.google.protobuf.ByteString value)The name of the zone for this request.-
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<GetSerialPortOutputInstanceRequest.Builder>
-
clear
public GetSerialPortOutputInstanceRequest.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<GetSerialPortOutputInstanceRequest.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<GetSerialPortOutputInstanceRequest.Builder>
-
getDefaultInstanceForType
public GetSerialPortOutputInstanceRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public GetSerialPortOutputInstanceRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GetSerialPortOutputInstanceRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GetSerialPortOutputInstanceRequest.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<GetSerialPortOutputInstanceRequest.Builder>
-
setField
public GetSerialPortOutputInstanceRequest.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<GetSerialPortOutputInstanceRequest.Builder>
-
clearField
public GetSerialPortOutputInstanceRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetSerialPortOutputInstanceRequest.Builder>
-
clearOneof
public GetSerialPortOutputInstanceRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GetSerialPortOutputInstanceRequest.Builder>
-
setRepeatedField
public GetSerialPortOutputInstanceRequest.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<GetSerialPortOutputInstanceRequest.Builder>
-
addRepeatedField
public GetSerialPortOutputInstanceRequest.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<GetSerialPortOutputInstanceRequest.Builder>
-
mergeFrom
public GetSerialPortOutputInstanceRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetSerialPortOutputInstanceRequest.Builder>
-
mergeFrom
public GetSerialPortOutputInstanceRequest.Builder mergeFrom(GetSerialPortOutputInstanceRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GetSerialPortOutputInstanceRequest.Builder>
-
mergeFrom
public GetSerialPortOutputInstanceRequest.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<GetSerialPortOutputInstanceRequest.Builder>- Throws:
IOException
-
getInstance
public String getInstance()
Name of the instance for this request.
string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInstancein interfaceGetSerialPortOutputInstanceRequestOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()
Name of the instance for this request.
string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInstanceBytesin interfaceGetSerialPortOutputInstanceRequestOrBuilder- Returns:
- The bytes for instance.
-
setInstance
public GetSerialPortOutputInstanceRequest.Builder setInstance(String value)
Name of the instance for this request.
string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The instance to set.- Returns:
- This builder for chaining.
-
clearInstance
public GetSerialPortOutputInstanceRequest.Builder clearInstance()
Name of the instance for this request.
string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setInstanceBytes
public GetSerialPortOutputInstanceRequest.Builder setInstanceBytes(com.google.protobuf.ByteString value)
Name of the instance for this request.
string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for instance to set.- Returns:
- This builder for chaining.
-
hasPort
public boolean hasPort()
Specifies which COM or serial port to retrieve data from.
optional int32 port = 3446913;- Specified by:
hasPortin interfaceGetSerialPortOutputInstanceRequestOrBuilder- Returns:
- Whether the port field is set.
-
getPort
public int getPort()
Specifies which COM or serial port to retrieve data from.
optional int32 port = 3446913;- Specified by:
getPortin interfaceGetSerialPortOutputInstanceRequestOrBuilder- Returns:
- The port.
-
setPort
public GetSerialPortOutputInstanceRequest.Builder setPort(int value)
Specifies which COM or serial port to retrieve data from.
optional int32 port = 3446913;- Parameters:
value- The port to set.- Returns:
- This builder for chaining.
-
clearPort
public GetSerialPortOutputInstanceRequest.Builder clearPort()
Specifies which COM or serial port to retrieve data from.
optional int32 port = 3446913;- Returns:
- This builder for chaining.
-
getProject
public String getProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getProjectin interfaceGetSerialPortOutputInstanceRequestOrBuilder- Returns:
- The project.
-
getProjectBytes
public com.google.protobuf.ByteString getProjectBytes()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getProjectBytesin interfaceGetSerialPortOutputInstanceRequestOrBuilder- Returns:
- The bytes for project.
-
setProject
public GetSerialPortOutputInstanceRequest.Builder setProject(String value)
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The project to set.- Returns:
- This builder for chaining.
-
clearProject
public GetSerialPortOutputInstanceRequest.Builder clearProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setProjectBytes
public GetSerialPortOutputInstanceRequest.Builder setProjectBytes(com.google.protobuf.ByteString value)
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for project to set.- Returns:
- This builder for chaining.
-
hasStart
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;- Specified by:
hasStartin interfaceGetSerialPortOutputInstanceRequestOrBuilder- Returns:
- Whether the start field is set.
-
getStart
public 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;- Specified by:
getStartin interfaceGetSerialPortOutputInstanceRequestOrBuilder- Returns:
- The start.
-
setStart
public 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;- Parameters:
value- The start to set.- Returns:
- This builder for chaining.
-
clearStart
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;- Returns:
- This builder for chaining.
-
getZone
public String getZone()
The name of the zone for this request.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getZonein interfaceGetSerialPortOutputInstanceRequestOrBuilder- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.ByteString getZoneBytes()
The name of the zone for this request.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getZoneBytesin interfaceGetSerialPortOutputInstanceRequestOrBuilder- Returns:
- The bytes for zone.
-
setZone
public GetSerialPortOutputInstanceRequest.Builder setZone(String value)
The name of the zone for this request.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The zone to set.- Returns:
- This builder for chaining.
-
clearZone
public GetSerialPortOutputInstanceRequest.Builder clearZone()
The name of the zone for this request.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setZoneBytes
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];- Parameters:
value- The bytes for zone to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final GetSerialPortOutputInstanceRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetSerialPortOutputInstanceRequest.Builder>
-
mergeUnknownFields
public final GetSerialPortOutputInstanceRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetSerialPortOutputInstanceRequest.Builder>
-
-