Class ColumnMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ColumnMetadata.Builder>
com.google.cloud.chronicle.v1.ColumnMetadata.Builder
All Implemented Interfaces:
ColumnMetadataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ColumnMetadata

public static final class ColumnMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<ColumnMetadata.Builder> implements ColumnMetadataOrBuilder
 Metadata of the column.
 
Protobuf type google.cloud.chronicle.v1.ColumnMetadata
  • 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<ColumnMetadata.Builder>
    • clear

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

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

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

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

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

      public ColumnMetadata.Builder mergeFrom(ColumnMetadata other)
    • isInitialized

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

      public ColumnMetadata.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<ColumnMetadata.Builder>
      Throws:
      IOException
    • getColumn

      public String getColumn()
       Name of the column.
       
      string column = 1;
      Specified by:
      getColumn in interface ColumnMetadataOrBuilder
      Returns:
      The column.
    • getColumnBytes

      public com.google.protobuf.ByteString getColumnBytes()
       Name of the column.
       
      string column = 1;
      Specified by:
      getColumnBytes in interface ColumnMetadataOrBuilder
      Returns:
      The bytes for column.
    • setColumn

      public ColumnMetadata.Builder setColumn(String value)
       Name of the column.
       
      string column = 1;
      Parameters:
      value - The column to set.
      Returns:
      This builder for chaining.
    • clearColumn

      public ColumnMetadata.Builder clearColumn()
       Name of the column.
       
      string column = 1;
      Returns:
      This builder for chaining.
    • setColumnBytes

      public ColumnMetadata.Builder setColumnBytes(com.google.protobuf.ByteString value)
       Name of the column.
       
      string column = 1;
      Parameters:
      value - The bytes for column to set.
      Returns:
      This builder for chaining.
    • getFieldPath

      public String getFieldPath()
       Field path of the queried field, if any.
       
      string field_path = 2;
      Specified by:
      getFieldPath in interface ColumnMetadataOrBuilder
      Returns:
      The fieldPath.
    • getFieldPathBytes

      public com.google.protobuf.ByteString getFieldPathBytes()
       Field path of the queried field, if any.
       
      string field_path = 2;
      Specified by:
      getFieldPathBytes in interface ColumnMetadataOrBuilder
      Returns:
      The bytes for fieldPath.
    • setFieldPath

      public ColumnMetadata.Builder setFieldPath(String value)
       Field path of the queried field, if any.
       
      string field_path = 2;
      Parameters:
      value - The fieldPath to set.
      Returns:
      This builder for chaining.
    • clearFieldPath

      public ColumnMetadata.Builder clearFieldPath()
       Field path of the queried field, if any.
       
      string field_path = 2;
      Returns:
      This builder for chaining.
    • setFieldPathBytes

      public ColumnMetadata.Builder setFieldPathBytes(com.google.protobuf.ByteString value)
       Field path of the queried field, if any.
       
      string field_path = 2;
      Parameters:
      value - The bytes for fieldPath to set.
      Returns:
      This builder for chaining.
    • getFunctionName

      public String getFunctionName()
       Name of the function used to query the field, if any.
       
      string function_name = 3;
      Specified by:
      getFunctionName in interface ColumnMetadataOrBuilder
      Returns:
      The functionName.
    • getFunctionNameBytes

      public com.google.protobuf.ByteString getFunctionNameBytes()
       Name of the function used to query the field, if any.
       
      string function_name = 3;
      Specified by:
      getFunctionNameBytes in interface ColumnMetadataOrBuilder
      Returns:
      The bytes for functionName.
    • setFunctionName

      public ColumnMetadata.Builder setFunctionName(String value)
       Name of the function used to query the field, if any.
       
      string function_name = 3;
      Parameters:
      value - The functionName to set.
      Returns:
      This builder for chaining.
    • clearFunctionName

      public ColumnMetadata.Builder clearFunctionName()
       Name of the function used to query the field, if any.
       
      string function_name = 3;
      Returns:
      This builder for chaining.
    • setFunctionNameBytes

      public ColumnMetadata.Builder setFunctionNameBytes(com.google.protobuf.ByteString value)
       Name of the function used to query the field, if any.
       
      string function_name = 3;
      Parameters:
      value - The bytes for functionName to set.
      Returns:
      This builder for chaining.
    • getFunctionModule

      public String getFunctionModule()
       Module of the function used to query the field, if any.
       
      string function_module = 4;
      Specified by:
      getFunctionModule in interface ColumnMetadataOrBuilder
      Returns:
      The functionModule.
    • getFunctionModuleBytes

      public com.google.protobuf.ByteString getFunctionModuleBytes()
       Module of the function used to query the field, if any.
       
      string function_module = 4;
      Specified by:
      getFunctionModuleBytes in interface ColumnMetadataOrBuilder
      Returns:
      The bytes for functionModule.
    • setFunctionModule

      public ColumnMetadata.Builder setFunctionModule(String value)
       Module of the function used to query the field, if any.
       
      string function_module = 4;
      Parameters:
      value - The functionModule to set.
      Returns:
      This builder for chaining.
    • clearFunctionModule

      public ColumnMetadata.Builder clearFunctionModule()
       Module of the function used to query the field, if any.
       
      string function_module = 4;
      Returns:
      This builder for chaining.
    • setFunctionModuleBytes

      public ColumnMetadata.Builder setFunctionModuleBytes(com.google.protobuf.ByteString value)
       Module of the function used to query the field, if any.
       
      string function_module = 4;
      Parameters:
      value - The bytes for functionModule to set.
      Returns:
      This builder for chaining.
    • getDataSourceValue

      public int getDataSourceValue()
       Data source queried.
       
      .google.cloud.chronicle.v1.DataSource data_source = 5;
      Specified by:
      getDataSourceValue in interface ColumnMetadataOrBuilder
      Returns:
      The enum numeric value on the wire for dataSource.
    • setDataSourceValue

      public ColumnMetadata.Builder setDataSourceValue(int value)
       Data source queried.
       
      .google.cloud.chronicle.v1.DataSource data_source = 5;
      Parameters:
      value - The enum numeric value on the wire for dataSource to set.
      Returns:
      This builder for chaining.
    • getDataSource

      public DataSource getDataSource()
       Data source queried.
       
      .google.cloud.chronicle.v1.DataSource data_source = 5;
      Specified by:
      getDataSource in interface ColumnMetadataOrBuilder
      Returns:
      The dataSource.
    • setDataSource

      public ColumnMetadata.Builder setDataSource(DataSource value)
       Data source queried.
       
      .google.cloud.chronicle.v1.DataSource data_source = 5;
      Parameters:
      value - The dataSource to set.
      Returns:
      This builder for chaining.
    • clearDataSource

      public ColumnMetadata.Builder clearDataSource()
       Data source queried.
       
      .google.cloud.chronicle.v1.DataSource data_source = 5;
      Returns:
      This builder for chaining.
    • hasTimestampMetadata

      public boolean hasTimestampMetadata()
       Timestamp Metadata
       
      .google.cloud.chronicle.v1.TimestampMetadata timestamp_metadata = 6;
      Specified by:
      hasTimestampMetadata in interface ColumnMetadataOrBuilder
      Returns:
      Whether the timestampMetadata field is set.
    • getTimestampMetadata

      public TimestampMetadata getTimestampMetadata()
       Timestamp Metadata
       
      .google.cloud.chronicle.v1.TimestampMetadata timestamp_metadata = 6;
      Specified by:
      getTimestampMetadata in interface ColumnMetadataOrBuilder
      Returns:
      The timestampMetadata.
    • setTimestampMetadata

      public ColumnMetadata.Builder setTimestampMetadata(TimestampMetadata value)
       Timestamp Metadata
       
      .google.cloud.chronicle.v1.TimestampMetadata timestamp_metadata = 6;
    • setTimestampMetadata

      public ColumnMetadata.Builder setTimestampMetadata(TimestampMetadata.Builder builderForValue)
       Timestamp Metadata
       
      .google.cloud.chronicle.v1.TimestampMetadata timestamp_metadata = 6;
    • mergeTimestampMetadata

      public ColumnMetadata.Builder mergeTimestampMetadata(TimestampMetadata value)
       Timestamp Metadata
       
      .google.cloud.chronicle.v1.TimestampMetadata timestamp_metadata = 6;
    • clearTimestampMetadata

      public ColumnMetadata.Builder clearTimestampMetadata()
       Timestamp Metadata
       
      .google.cloud.chronicle.v1.TimestampMetadata timestamp_metadata = 6;
    • getTimestampMetadataBuilder

      public TimestampMetadata.Builder getTimestampMetadataBuilder()
       Timestamp Metadata
       
      .google.cloud.chronicle.v1.TimestampMetadata timestamp_metadata = 6;
    • getTimestampMetadataOrBuilder

      public TimestampMetadataOrBuilder getTimestampMetadataOrBuilder()
       Timestamp Metadata
       
      .google.cloud.chronicle.v1.TimestampMetadata timestamp_metadata = 6;
      Specified by:
      getTimestampMetadataOrBuilder in interface ColumnMetadataOrBuilder
    • getLongitude

      public boolean getLongitude()
       Whether the column is a longitude field.
       
      bool longitude = 7;
      Specified by:
      getLongitude in interface ColumnMetadataOrBuilder
      Returns:
      The longitude.
    • setLongitude

      public ColumnMetadata.Builder setLongitude(boolean value)
       Whether the column is a longitude field.
       
      bool longitude = 7;
      Parameters:
      value - The longitude to set.
      Returns:
      This builder for chaining.
    • clearLongitude

      public ColumnMetadata.Builder clearLongitude()
       Whether the column is a longitude field.
       
      bool longitude = 7;
      Returns:
      This builder for chaining.
    • getLatitude

      public boolean getLatitude()
       Whether the column is a latitude field.
       
      bool latitude = 8;
      Specified by:
      getLatitude in interface ColumnMetadataOrBuilder
      Returns:
      The latitude.
    • setLatitude

      public ColumnMetadata.Builder setLatitude(boolean value)
       Whether the column is a latitude field.
       
      bool latitude = 8;
      Parameters:
      value - The latitude to set.
      Returns:
      This builder for chaining.
    • clearLatitude

      public ColumnMetadata.Builder clearLatitude()
       Whether the column is a latitude field.
       
      bool latitude = 8;
      Returns:
      This builder for chaining.
    • getSelected

      public boolean getSelected()
       Whether the column is selected in the final response.
       
      bool selected = 9;
      Specified by:
      getSelected in interface ColumnMetadataOrBuilder
      Returns:
      The selected.
    • setSelected

      public ColumnMetadata.Builder setSelected(boolean value)
       Whether the column is selected in the final response.
       
      bool selected = 9;
      Parameters:
      value - The selected to set.
      Returns:
      This builder for chaining.
    • clearSelected

      public ColumnMetadata.Builder clearSelected()
       Whether the column is selected in the final response.
       
      bool selected = 9;
      Returns:
      This builder for chaining.
    • getUnselected

      public boolean getUnselected()
       Whether the column is unselected in the final response.
       
      bool unselected = 10;
      Specified by:
      getUnselected in interface ColumnMetadataOrBuilder
      Returns:
      The unselected.
    • setUnselected

      public ColumnMetadata.Builder setUnselected(boolean value)
       Whether the column is unselected in the final response.
       
      bool unselected = 10;
      Parameters:
      value - The unselected to set.
      Returns:
      This builder for chaining.
    • clearUnselected

      public ColumnMetadata.Builder clearUnselected()
       Whether the column is unselected in the final response.
       
      bool unselected = 10;
      Returns:
      This builder for chaining.