Class Row.Builder

  • All Implemented Interfaces:
    RowOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Row

    public static final class Row.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
    implements RowOrBuilder
     A representation of a row in a relational table.
     
    Protobuf type google.cloud.automl.v1beta1.Row
    • 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<Row.Builder>
      • clear

        public Row.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.GeneratedMessageV3.Builder<Row.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<Row.Builder>
      • getDefaultInstanceForType

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

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

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

        public Row.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
      • setField

        public Row.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                    Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
      • clearField

        public Row.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
      • clearOneof

        public Row.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
      • setRepeatedField

        public Row.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                            int index,
                                            Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
      • addRepeatedField

        public Row.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                            Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
      • mergeFrom

        public Row.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<Row.Builder>
      • isInitialized

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

        public Row.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<Row.Builder>
        Throws:
        IOException
      • getColumnSpecIdsList

        public com.google.protobuf.ProtocolStringList getColumnSpecIdsList()
         The resource IDs of the column specs describing the columns of the row.
         If set must contain, but possibly in a different order, all input
         feature
        
         [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         Note: The below `values` field must match order of this field, if this
         field is set.
         
        repeated string column_spec_ids = 2;
        Specified by:
        getColumnSpecIdsList in interface RowOrBuilder
        Returns:
        A list containing the columnSpecIds.
      • getColumnSpecIdsCount

        public int getColumnSpecIdsCount()
         The resource IDs of the column specs describing the columns of the row.
         If set must contain, but possibly in a different order, all input
         feature
        
         [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         Note: The below `values` field must match order of this field, if this
         field is set.
         
        repeated string column_spec_ids = 2;
        Specified by:
        getColumnSpecIdsCount in interface RowOrBuilder
        Returns:
        The count of columnSpecIds.
      • getColumnSpecIds

        public String getColumnSpecIds​(int index)
         The resource IDs of the column specs describing the columns of the row.
         If set must contain, but possibly in a different order, all input
         feature
        
         [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         Note: The below `values` field must match order of this field, if this
         field is set.
         
        repeated string column_spec_ids = 2;
        Specified by:
        getColumnSpecIds in interface RowOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The columnSpecIds at the given index.
      • getColumnSpecIdsBytes

        public com.google.protobuf.ByteString getColumnSpecIdsBytes​(int index)
         The resource IDs of the column specs describing the columns of the row.
         If set must contain, but possibly in a different order, all input
         feature
        
         [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         Note: The below `values` field must match order of this field, if this
         field is set.
         
        repeated string column_spec_ids = 2;
        Specified by:
        getColumnSpecIdsBytes in interface RowOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the columnSpecIds at the given index.
      • setColumnSpecIds

        public Row.Builder setColumnSpecIds​(int index,
                                            String value)
         The resource IDs of the column specs describing the columns of the row.
         If set must contain, but possibly in a different order, all input
         feature
        
         [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         Note: The below `values` field must match order of this field, if this
         field is set.
         
        repeated string column_spec_ids = 2;
        Parameters:
        index - The index to set the value at.
        value - The columnSpecIds to set.
        Returns:
        This builder for chaining.
      • addColumnSpecIds

        public Row.Builder addColumnSpecIds​(String value)
         The resource IDs of the column specs describing the columns of the row.
         If set must contain, but possibly in a different order, all input
         feature
        
         [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         Note: The below `values` field must match order of this field, if this
         field is set.
         
        repeated string column_spec_ids = 2;
        Parameters:
        value - The columnSpecIds to add.
        Returns:
        This builder for chaining.
      • addAllColumnSpecIds

        public Row.Builder addAllColumnSpecIds​(Iterable<String> values)
         The resource IDs of the column specs describing the columns of the row.
         If set must contain, but possibly in a different order, all input
         feature
        
         [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         Note: The below `values` field must match order of this field, if this
         field is set.
         
        repeated string column_spec_ids = 2;
        Parameters:
        values - The columnSpecIds to add.
        Returns:
        This builder for chaining.
      • clearColumnSpecIds

        public Row.Builder clearColumnSpecIds()
         The resource IDs of the column specs describing the columns of the row.
         If set must contain, but possibly in a different order, all input
         feature
        
         [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         Note: The below `values` field must match order of this field, if this
         field is set.
         
        repeated string column_spec_ids = 2;
        Returns:
        This builder for chaining.
      • addColumnSpecIdsBytes

        public Row.Builder addColumnSpecIdsBytes​(com.google.protobuf.ByteString value)
         The resource IDs of the column specs describing the columns of the row.
         If set must contain, but possibly in a different order, all input
         feature
        
         [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         Note: The below `values` field must match order of this field, if this
         field is set.
         
        repeated string column_spec_ids = 2;
        Parameters:
        value - The bytes of the columnSpecIds to add.
        Returns:
        This builder for chaining.
      • getValuesList

        public List<com.google.protobuf.Value> getValuesList()
         Required. The values of the row cells, given in the same order as the
         column_spec_ids, or, if not set, then in the same order as input
         feature
        
         [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         
        repeated .google.protobuf.Value values = 3;
        Specified by:
        getValuesList in interface RowOrBuilder
      • getValuesCount

        public int getValuesCount()
         Required. The values of the row cells, given in the same order as the
         column_spec_ids, or, if not set, then in the same order as input
         feature
        
         [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         
        repeated .google.protobuf.Value values = 3;
        Specified by:
        getValuesCount in interface RowOrBuilder
      • getValues

        public com.google.protobuf.Value getValues​(int index)
         Required. The values of the row cells, given in the same order as the
         column_spec_ids, or, if not set, then in the same order as input
         feature
        
         [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         
        repeated .google.protobuf.Value values = 3;
        Specified by:
        getValues in interface RowOrBuilder
      • setValues

        public Row.Builder setValues​(int index,
                                     com.google.protobuf.Value value)
         Required. The values of the row cells, given in the same order as the
         column_spec_ids, or, if not set, then in the same order as input
         feature
        
         [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         
        repeated .google.protobuf.Value values = 3;
      • setValues

        public Row.Builder setValues​(int index,
                                     com.google.protobuf.Value.Builder builderForValue)
         Required. The values of the row cells, given in the same order as the
         column_spec_ids, or, if not set, then in the same order as input
         feature
        
         [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         
        repeated .google.protobuf.Value values = 3;
      • addValues

        public Row.Builder addValues​(com.google.protobuf.Value value)
         Required. The values of the row cells, given in the same order as the
         column_spec_ids, or, if not set, then in the same order as input
         feature
        
         [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         
        repeated .google.protobuf.Value values = 3;
      • addValues

        public Row.Builder addValues​(int index,
                                     com.google.protobuf.Value value)
         Required. The values of the row cells, given in the same order as the
         column_spec_ids, or, if not set, then in the same order as input
         feature
        
         [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         
        repeated .google.protobuf.Value values = 3;
      • addValues

        public Row.Builder addValues​(com.google.protobuf.Value.Builder builderForValue)
         Required. The values of the row cells, given in the same order as the
         column_spec_ids, or, if not set, then in the same order as input
         feature
        
         [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         
        repeated .google.protobuf.Value values = 3;
      • addValues

        public Row.Builder addValues​(int index,
                                     com.google.protobuf.Value.Builder builderForValue)
         Required. The values of the row cells, given in the same order as the
         column_spec_ids, or, if not set, then in the same order as input
         feature
        
         [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         
        repeated .google.protobuf.Value values = 3;
      • addAllValues

        public Row.Builder addAllValues​(Iterable<? extends com.google.protobuf.Value> values)
         Required. The values of the row cells, given in the same order as the
         column_spec_ids, or, if not set, then in the same order as input
         feature
        
         [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         
        repeated .google.protobuf.Value values = 3;
      • clearValues

        public Row.Builder clearValues()
         Required. The values of the row cells, given in the same order as the
         column_spec_ids, or, if not set, then in the same order as input
         feature
        
         [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         
        repeated .google.protobuf.Value values = 3;
      • removeValues

        public Row.Builder removeValues​(int index)
         Required. The values of the row cells, given in the same order as the
         column_spec_ids, or, if not set, then in the same order as input
         feature
        
         [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         
        repeated .google.protobuf.Value values = 3;
      • getValuesBuilder

        public com.google.protobuf.Value.Builder getValuesBuilder​(int index)
         Required. The values of the row cells, given in the same order as the
         column_spec_ids, or, if not set, then in the same order as input
         feature
        
         [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         
        repeated .google.protobuf.Value values = 3;
      • getValuesOrBuilder

        public com.google.protobuf.ValueOrBuilder getValuesOrBuilder​(int index)
         Required. The values of the row cells, given in the same order as the
         column_spec_ids, or, if not set, then in the same order as input
         feature
        
         [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         
        repeated .google.protobuf.Value values = 3;
        Specified by:
        getValuesOrBuilder in interface RowOrBuilder
      • getValuesOrBuilderList

        public List<? extends com.google.protobuf.ValueOrBuilder> getValuesOrBuilderList()
         Required. The values of the row cells, given in the same order as the
         column_spec_ids, or, if not set, then in the same order as input
         feature
        
         [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         
        repeated .google.protobuf.Value values = 3;
        Specified by:
        getValuesOrBuilderList in interface RowOrBuilder
      • addValuesBuilder

        public com.google.protobuf.Value.Builder addValuesBuilder()
         Required. The values of the row cells, given in the same order as the
         column_spec_ids, or, if not set, then in the same order as input
         feature
        
         [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         
        repeated .google.protobuf.Value values = 3;
      • addValuesBuilder

        public com.google.protobuf.Value.Builder addValuesBuilder​(int index)
         Required. The values of the row cells, given in the same order as the
         column_spec_ids, or, if not set, then in the same order as input
         feature
        
         [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         
        repeated .google.protobuf.Value values = 3;
      • getValuesBuilderList

        public List<com.google.protobuf.Value.Builder> getValuesBuilderList()
         Required. The values of the row cells, given in the same order as the
         column_spec_ids, or, if not set, then in the same order as input
         feature
        
         [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
         of the Model this row is being passed to.
         
        repeated .google.protobuf.Value values = 3;
      • setUnknownFields

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

        public final Row.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<Row.Builder>