Class AvroProto.AvroRows.Builder

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

public static final class AvroProto.AvroRows.Builder extends com.google.protobuf.GeneratedMessage.Builder<AvroProto.AvroRows.Builder> implements AvroProto.AvroRowsOrBuilder
 Avro rows.
 
Protobuf type google.cloud.bigquery.storage.v1beta1.AvroRows
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    The count of rows in the returning block.
    Binary serialized rows in a block.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    long
    The count of rows in the returning block.
    com.google.protobuf.ByteString
    Binary serialized rows in a block.
    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)
     
    setRowCount(long value)
    The count of rows in the returning block.
    setSerializedBinaryRows(com.google.protobuf.ByteString value)
    Binary serialized rows in a block.

    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<AvroProto.AvroRows.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<AvroProto.AvroRows.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<AvroProto.AvroRows.Builder>
    • getDefaultInstanceForType

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

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

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

      public AvroProto.AvroRows.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<AvroProto.AvroRows.Builder>
    • mergeFrom

    • isInitialized

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

      public AvroProto.AvroRows.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<AvroProto.AvroRows.Builder>
      Throws:
      IOException
    • getSerializedBinaryRows

      public com.google.protobuf.ByteString getSerializedBinaryRows()
       Binary serialized rows in a block.
       
      bytes serialized_binary_rows = 1;
      Specified by:
      getSerializedBinaryRows in interface AvroProto.AvroRowsOrBuilder
      Returns:
      The serializedBinaryRows.
    • setSerializedBinaryRows

      public AvroProto.AvroRows.Builder setSerializedBinaryRows(com.google.protobuf.ByteString value)
       Binary serialized rows in a block.
       
      bytes serialized_binary_rows = 1;
      Parameters:
      value - The serializedBinaryRows to set.
      Returns:
      This builder for chaining.
    • clearSerializedBinaryRows

      public AvroProto.AvroRows.Builder clearSerializedBinaryRows()
       Binary serialized rows in a block.
       
      bytes serialized_binary_rows = 1;
      Returns:
      This builder for chaining.
    • getRowCount

      public long getRowCount()
       The count of rows in the returning block.
       
      int64 row_count = 2;
      Specified by:
      getRowCount in interface AvroProto.AvroRowsOrBuilder
      Returns:
      The rowCount.
    • setRowCount

      public AvroProto.AvroRows.Builder setRowCount(long value)
       The count of rows in the returning block.
       
      int64 row_count = 2;
      Parameters:
      value - The rowCount to set.
      Returns:
      This builder for chaining.
    • clearRowCount

      public AvroProto.AvroRows.Builder clearRowCount()
       The count of rows in the returning block.
       
      int64 row_count = 2;
      Returns:
      This builder for chaining.