Class AppendRowsRequest.ProtoData.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<AppendRowsRequest.ProtoData.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<AppendRowsRequest.ProtoData.Builder>
      • getDefaultInstanceForType

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

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

        public AppendRowsRequest.ProtoData 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<AppendRowsRequest.ProtoData.Builder>
      • mergeFrom

        public AppendRowsRequest.ProtoData.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<AppendRowsRequest.ProtoData.Builder>
        Throws:
        IOException
      • hasWriterSchema

        public boolean hasWriterSchema()
         The protocol buffer schema used to serialize the data. Provide this value
         whenever:
        
         * You send the first request of an RPC connection.
        
         * You change the input schema.
        
         * You specify a new destination table.
         
        .google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1;
        Specified by:
        hasWriterSchema in interface AppendRowsRequest.ProtoDataOrBuilder
        Returns:
        Whether the writerSchema field is set.
      • getWriterSchema

        public ProtoSchema getWriterSchema()
         The protocol buffer schema used to serialize the data. Provide this value
         whenever:
        
         * You send the first request of an RPC connection.
        
         * You change the input schema.
        
         * You specify a new destination table.
         
        .google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1;
        Specified by:
        getWriterSchema in interface AppendRowsRequest.ProtoDataOrBuilder
        Returns:
        The writerSchema.
      • setWriterSchema

        public AppendRowsRequest.ProtoData.Builder setWriterSchema​(ProtoSchema value)
         The protocol buffer schema used to serialize the data. Provide this value
         whenever:
        
         * You send the first request of an RPC connection.
        
         * You change the input schema.
        
         * You specify a new destination table.
         
        .google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1;
      • setWriterSchema

        public AppendRowsRequest.ProtoData.Builder setWriterSchema​(ProtoSchema.Builder builderForValue)
         The protocol buffer schema used to serialize the data. Provide this value
         whenever:
        
         * You send the first request of an RPC connection.
        
         * You change the input schema.
        
         * You specify a new destination table.
         
        .google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1;
      • mergeWriterSchema

        public AppendRowsRequest.ProtoData.Builder mergeWriterSchema​(ProtoSchema value)
         The protocol buffer schema used to serialize the data. Provide this value
         whenever:
        
         * You send the first request of an RPC connection.
        
         * You change the input schema.
        
         * You specify a new destination table.
         
        .google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1;
      • clearWriterSchema

        public AppendRowsRequest.ProtoData.Builder clearWriterSchema()
         The protocol buffer schema used to serialize the data. Provide this value
         whenever:
        
         * You send the first request of an RPC connection.
        
         * You change the input schema.
        
         * You specify a new destination table.
         
        .google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1;
      • getWriterSchemaBuilder

        public ProtoSchema.Builder getWriterSchemaBuilder()
         The protocol buffer schema used to serialize the data. Provide this value
         whenever:
        
         * You send the first request of an RPC connection.
        
         * You change the input schema.
        
         * You specify a new destination table.
         
        .google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1;
      • getWriterSchemaOrBuilder

        public ProtoSchemaOrBuilder getWriterSchemaOrBuilder()
         The protocol buffer schema used to serialize the data. Provide this value
         whenever:
        
         * You send the first request of an RPC connection.
        
         * You change the input schema.
        
         * You specify a new destination table.
         
        .google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1;
        Specified by:
        getWriterSchemaOrBuilder in interface AppendRowsRequest.ProtoDataOrBuilder
      • hasRows

        public boolean hasRows()
         Serialized row data in protobuf message format.
         Currently, the backend expects the serialized rows to adhere to
         proto2 semantics when appending rows, particularly with respect to
         how default values are encoded.
         
        .google.cloud.bigquery.storage.v1.ProtoRows rows = 2;
        Specified by:
        hasRows in interface AppendRowsRequest.ProtoDataOrBuilder
        Returns:
        Whether the rows field is set.
      • getRows

        public ProtoRows getRows()
         Serialized row data in protobuf message format.
         Currently, the backend expects the serialized rows to adhere to
         proto2 semantics when appending rows, particularly with respect to
         how default values are encoded.
         
        .google.cloud.bigquery.storage.v1.ProtoRows rows = 2;
        Specified by:
        getRows in interface AppendRowsRequest.ProtoDataOrBuilder
        Returns:
        The rows.
      • setRows

        public AppendRowsRequest.ProtoData.Builder setRows​(ProtoRows value)
         Serialized row data in protobuf message format.
         Currently, the backend expects the serialized rows to adhere to
         proto2 semantics when appending rows, particularly with respect to
         how default values are encoded.
         
        .google.cloud.bigquery.storage.v1.ProtoRows rows = 2;
      • setRows

        public AppendRowsRequest.ProtoData.Builder setRows​(ProtoRows.Builder builderForValue)
         Serialized row data in protobuf message format.
         Currently, the backend expects the serialized rows to adhere to
         proto2 semantics when appending rows, particularly with respect to
         how default values are encoded.
         
        .google.cloud.bigquery.storage.v1.ProtoRows rows = 2;
      • mergeRows

        public AppendRowsRequest.ProtoData.Builder mergeRows​(ProtoRows value)
         Serialized row data in protobuf message format.
         Currently, the backend expects the serialized rows to adhere to
         proto2 semantics when appending rows, particularly with respect to
         how default values are encoded.
         
        .google.cloud.bigquery.storage.v1.ProtoRows rows = 2;
      • clearRows

        public AppendRowsRequest.ProtoData.Builder clearRows()
         Serialized row data in protobuf message format.
         Currently, the backend expects the serialized rows to adhere to
         proto2 semantics when appending rows, particularly with respect to
         how default values are encoded.
         
        .google.cloud.bigquery.storage.v1.ProtoRows rows = 2;
      • getRowsBuilder

        public ProtoRows.Builder getRowsBuilder()
         Serialized row data in protobuf message format.
         Currently, the backend expects the serialized rows to adhere to
         proto2 semantics when appending rows, particularly with respect to
         how default values are encoded.
         
        .google.cloud.bigquery.storage.v1.ProtoRows rows = 2;
      • getRowsOrBuilder

        public ProtoRowsOrBuilder getRowsOrBuilder()
         Serialized row data in protobuf message format.
         Currently, the backend expects the serialized rows to adhere to
         proto2 semantics when appending rows, particularly with respect to
         how default values are encoded.
         
        .google.cloud.bigquery.storage.v1.ProtoRows rows = 2;
        Specified by:
        getRowsOrBuilder in interface AppendRowsRequest.ProtoDataOrBuilder
      • mergeUnknownFields

        public final AppendRowsRequest.ProtoData.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder>