Class FlushRowsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FlushRowsRequest.Builder>
com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest.Builder
All Implemented Interfaces:
FlushRowsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FlushRowsRequest

public static final class FlushRowsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<FlushRowsRequest.Builder> implements FlushRowsRequestOrBuilder
 Request message for `FlushRows`.
 
Protobuf type google.cloud.bigquery.storage.v1beta2.FlushRowsRequest
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Ending offset of the flush operation.
    Required.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Int64Value
    Ending offset of the flush operation.
    com.google.protobuf.Int64Value.Builder
    Ending offset of the flush operation.
    com.google.protobuf.Int64ValueOrBuilder
    Ending offset of the flush operation.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    Ending offset of the flush operation.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    mergeOffset(com.google.protobuf.Int64Value value)
    Ending offset of the flush operation.
    setOffset(com.google.protobuf.Int64Value value)
    Ending offset of the flush operation.
    setOffset(com.google.protobuf.Int64Value.Builder builderForValue)
    Ending offset of the flush operation.
    Required.
    setWriteStreamBytes(com.google.protobuf.ByteString value)
    Required.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FlushRowsRequest.Builder>
    • clear

      public FlushRowsRequest.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<FlushRowsRequest.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.GeneratedMessage.Builder<FlushRowsRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public FlushRowsRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FlushRowsRequest.Builder>
    • mergeFrom

      public FlushRowsRequest.Builder mergeFrom(FlushRowsRequest other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<FlushRowsRequest.Builder>
    • mergeFrom

      public FlushRowsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FlushRowsRequest.Builder>
      Throws:
      IOException
    • getWriteStream

      public String getWriteStream()
       Required. The stream that is the target of the flush operation.
       
      string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getWriteStream in interface FlushRowsRequestOrBuilder
      Returns:
      The writeStream.
    • getWriteStreamBytes

      public com.google.protobuf.ByteString getWriteStreamBytes()
       Required. The stream that is the target of the flush operation.
       
      string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getWriteStreamBytes in interface FlushRowsRequestOrBuilder
      Returns:
      The bytes for writeStream.
    • setWriteStream

      public FlushRowsRequest.Builder setWriteStream(String value)
       Required. The stream that is the target of the flush operation.
       
      string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The writeStream to set.
      Returns:
      This builder for chaining.
    • clearWriteStream

      public FlushRowsRequest.Builder clearWriteStream()
       Required. The stream that is the target of the flush operation.
       
      string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setWriteStreamBytes

      public FlushRowsRequest.Builder setWriteStreamBytes(com.google.protobuf.ByteString value)
       Required. The stream that is the target of the flush operation.
       
      string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for writeStream to set.
      Returns:
      This builder for chaining.
    • hasOffset

      public boolean hasOffset()
       Ending offset of the flush operation. Rows before this offset(including
       this offset) will be flushed.
       
      .google.protobuf.Int64Value offset = 2;
      Specified by:
      hasOffset in interface FlushRowsRequestOrBuilder
      Returns:
      Whether the offset field is set.
    • getOffset

      public com.google.protobuf.Int64Value getOffset()
       Ending offset of the flush operation. Rows before this offset(including
       this offset) will be flushed.
       
      .google.protobuf.Int64Value offset = 2;
      Specified by:
      getOffset in interface FlushRowsRequestOrBuilder
      Returns:
      The offset.
    • setOffset

      public FlushRowsRequest.Builder setOffset(com.google.protobuf.Int64Value value)
       Ending offset of the flush operation. Rows before this offset(including
       this offset) will be flushed.
       
      .google.protobuf.Int64Value offset = 2;
    • setOffset

      public FlushRowsRequest.Builder setOffset(com.google.protobuf.Int64Value.Builder builderForValue)
       Ending offset of the flush operation. Rows before this offset(including
       this offset) will be flushed.
       
      .google.protobuf.Int64Value offset = 2;
    • mergeOffset

      public FlushRowsRequest.Builder mergeOffset(com.google.protobuf.Int64Value value)
       Ending offset of the flush operation. Rows before this offset(including
       this offset) will be flushed.
       
      .google.protobuf.Int64Value offset = 2;
    • clearOffset

      public FlushRowsRequest.Builder clearOffset()
       Ending offset of the flush operation. Rows before this offset(including
       this offset) will be flushed.
       
      .google.protobuf.Int64Value offset = 2;
    • getOffsetBuilder

      public com.google.protobuf.Int64Value.Builder getOffsetBuilder()
       Ending offset of the flush operation. Rows before this offset(including
       this offset) will be flushed.
       
      .google.protobuf.Int64Value offset = 2;
    • getOffsetOrBuilder

      public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder()
       Ending offset of the flush operation. Rows before this offset(including
       this offset) will be flushed.
       
      .google.protobuf.Int64Value offset = 2;
      Specified by:
      getOffsetOrBuilder in interface FlushRowsRequestOrBuilder