Class GetSerialPortOutputInstanceRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GetSerialPortOutputInstanceRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GetSerialPortOutputInstanceRequest.Builder>
      • getDefaultInstanceForType

        public GetSerialPortOutputInstanceRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public GetSerialPortOutputInstanceRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public GetSerialPortOutputInstanceRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GetSerialPortOutputInstanceRequest.Builder>
      • getInstanceBytes

        public com.google.protobuf.ByteString getInstanceBytes()
         Name of the instance for this request.
         
        string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getInstanceBytes in interface GetSerialPortOutputInstanceRequestOrBuilder
        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.
      • 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.
      • getProjectBytes

        public com.google.protobuf.ByteString getProjectBytes()
         Project ID for this request.
         
        string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getProjectBytes in interface GetSerialPortOutputInstanceRequestOrBuilder
        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:
        hasStart in interface GetSerialPortOutputInstanceRequestOrBuilder
        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:
        getStart in interface GetSerialPortOutputInstanceRequestOrBuilder
        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.
      • 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:
        getZoneBytes in interface GetSerialPortOutputInstanceRequestOrBuilder
        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.