Class ColumnSpec.CorrelatedColumn.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ColumnSpec.CorrelatedColumn.Builder>
com.google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn.Builder
All Implemented Interfaces:
ColumnSpec.CorrelatedColumnOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ColumnSpec.CorrelatedColumn

public static final class ColumnSpec.CorrelatedColumn.Builder extends com.google.protobuf.GeneratedMessage.Builder<ColumnSpec.CorrelatedColumn.Builder> implements ColumnSpec.CorrelatedColumnOrBuilder
 Identifies the table's column, and its correlation with the column this
 ColumnSpec describes.
 
Protobuf type google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn
  • 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<ColumnSpec.CorrelatedColumn.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<ColumnSpec.CorrelatedColumn.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<ColumnSpec.CorrelatedColumn.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public ColumnSpec.CorrelatedColumn.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<ColumnSpec.CorrelatedColumn.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<ColumnSpec.CorrelatedColumn.Builder>
    • mergeFrom

      public ColumnSpec.CorrelatedColumn.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<ColumnSpec.CorrelatedColumn.Builder>
      Throws:
      IOException
    • getColumnSpecId

      public String getColumnSpecId()
       The column_spec_id of the correlated column, which belongs to the same
       table as the in-context column.
       
      string column_spec_id = 1;
      Specified by:
      getColumnSpecId in interface ColumnSpec.CorrelatedColumnOrBuilder
      Returns:
      The columnSpecId.
    • getColumnSpecIdBytes

      public com.google.protobuf.ByteString getColumnSpecIdBytes()
       The column_spec_id of the correlated column, which belongs to the same
       table as the in-context column.
       
      string column_spec_id = 1;
      Specified by:
      getColumnSpecIdBytes in interface ColumnSpec.CorrelatedColumnOrBuilder
      Returns:
      The bytes for columnSpecId.
    • setColumnSpecId

      public ColumnSpec.CorrelatedColumn.Builder setColumnSpecId(String value)
       The column_spec_id of the correlated column, which belongs to the same
       table as the in-context column.
       
      string column_spec_id = 1;
      Parameters:
      value - The columnSpecId to set.
      Returns:
      This builder for chaining.
    • clearColumnSpecId

      public ColumnSpec.CorrelatedColumn.Builder clearColumnSpecId()
       The column_spec_id of the correlated column, which belongs to the same
       table as the in-context column.
       
      string column_spec_id = 1;
      Returns:
      This builder for chaining.
    • setColumnSpecIdBytes

      public ColumnSpec.CorrelatedColumn.Builder setColumnSpecIdBytes(com.google.protobuf.ByteString value)
       The column_spec_id of the correlated column, which belongs to the same
       table as the in-context column.
       
      string column_spec_id = 1;
      Parameters:
      value - The bytes for columnSpecId to set.
      Returns:
      This builder for chaining.
    • hasCorrelationStats

      public boolean hasCorrelationStats()
       Correlation between this and the in-context column.
       
      .google.cloud.automl.v1beta1.CorrelationStats correlation_stats = 2;
      Specified by:
      hasCorrelationStats in interface ColumnSpec.CorrelatedColumnOrBuilder
      Returns:
      Whether the correlationStats field is set.
    • getCorrelationStats

      public CorrelationStats getCorrelationStats()
       Correlation between this and the in-context column.
       
      .google.cloud.automl.v1beta1.CorrelationStats correlation_stats = 2;
      Specified by:
      getCorrelationStats in interface ColumnSpec.CorrelatedColumnOrBuilder
      Returns:
      The correlationStats.
    • setCorrelationStats

      public ColumnSpec.CorrelatedColumn.Builder setCorrelationStats(CorrelationStats value)
       Correlation between this and the in-context column.
       
      .google.cloud.automl.v1beta1.CorrelationStats correlation_stats = 2;
    • setCorrelationStats

      public ColumnSpec.CorrelatedColumn.Builder setCorrelationStats(CorrelationStats.Builder builderForValue)
       Correlation between this and the in-context column.
       
      .google.cloud.automl.v1beta1.CorrelationStats correlation_stats = 2;
    • mergeCorrelationStats

      public ColumnSpec.CorrelatedColumn.Builder mergeCorrelationStats(CorrelationStats value)
       Correlation between this and the in-context column.
       
      .google.cloud.automl.v1beta1.CorrelationStats correlation_stats = 2;
    • clearCorrelationStats

      public ColumnSpec.CorrelatedColumn.Builder clearCorrelationStats()
       Correlation between this and the in-context column.
       
      .google.cloud.automl.v1beta1.CorrelationStats correlation_stats = 2;
    • getCorrelationStatsBuilder

      public CorrelationStats.Builder getCorrelationStatsBuilder()
       Correlation between this and the in-context column.
       
      .google.cloud.automl.v1beta1.CorrelationStats correlation_stats = 2;
    • getCorrelationStatsOrBuilder

      public CorrelationStatsOrBuilder getCorrelationStatsOrBuilder()
       Correlation between this and the in-context column.
       
      .google.cloud.automl.v1beta1.CorrelationStats correlation_stats = 2;
      Specified by:
      getCorrelationStatsOrBuilder in interface ColumnSpec.CorrelatedColumnOrBuilder