Class TimestampMetadata.Builder

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

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

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

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

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

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

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

      public TimestampMetadata.Builder mergeFrom(TimestampMetadata other)
    • isInitialized

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

      public TimestampMetadata.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<TimestampMetadata.Builder>
      Throws:
      IOException
    • getTimeFormat

      public String getTimeFormat()
       Time format of the timestamp column.
       
      string time_format = 1;
      Specified by:
      getTimeFormat in interface TimestampMetadataOrBuilder
      Returns:
      The timeFormat.
    • getTimeFormatBytes

      public com.google.protobuf.ByteString getTimeFormatBytes()
       Time format of the timestamp column.
       
      string time_format = 1;
      Specified by:
      getTimeFormatBytes in interface TimestampMetadataOrBuilder
      Returns:
      The bytes for timeFormat.
    • setTimeFormat

      public TimestampMetadata.Builder setTimeFormat(String value)
       Time format of the timestamp column.
       
      string time_format = 1;
      Parameters:
      value - The timeFormat to set.
      Returns:
      This builder for chaining.
    • clearTimeFormat

      public TimestampMetadata.Builder clearTimeFormat()
       Time format of the timestamp column.
       
      string time_format = 1;
      Returns:
      This builder for chaining.
    • setTimeFormatBytes

      public TimestampMetadata.Builder setTimeFormatBytes(com.google.protobuf.ByteString value)
       Time format of the timestamp column.
       
      string time_format = 1;
      Parameters:
      value - The bytes for timeFormat to set.
      Returns:
      This builder for chaining.
    • getTimeZone

      public String getTimeZone()
       Time zone of the timestamp column.
       
      string time_zone = 2;
      Specified by:
      getTimeZone in interface TimestampMetadataOrBuilder
      Returns:
      The timeZone.
    • getTimeZoneBytes

      public com.google.protobuf.ByteString getTimeZoneBytes()
       Time zone of the timestamp column.
       
      string time_zone = 2;
      Specified by:
      getTimeZoneBytes in interface TimestampMetadataOrBuilder
      Returns:
      The bytes for timeZone.
    • setTimeZone

      public TimestampMetadata.Builder setTimeZone(String value)
       Time zone of the timestamp column.
       
      string time_zone = 2;
      Parameters:
      value - The timeZone to set.
      Returns:
      This builder for chaining.
    • clearTimeZone

      public TimestampMetadata.Builder clearTimeZone()
       Time zone of the timestamp column.
       
      string time_zone = 2;
      Returns:
      This builder for chaining.
    • setTimeZoneBytes

      public TimestampMetadata.Builder setTimeZoneBytes(com.google.protobuf.ByteString value)
       Time zone of the timestamp column.
       
      string time_zone = 2;
      Parameters:
      value - The bytes for timeZone to set.
      Returns:
      This builder for chaining.
    • getTimeGranularity

      public String getTimeGranularity()
       Time granularity of the timestamp column.
       
      string time_granularity = 3;
      Specified by:
      getTimeGranularity in interface TimestampMetadataOrBuilder
      Returns:
      The timeGranularity.
    • getTimeGranularityBytes

      public com.google.protobuf.ByteString getTimeGranularityBytes()
       Time granularity of the timestamp column.
       
      string time_granularity = 3;
      Specified by:
      getTimeGranularityBytes in interface TimestampMetadataOrBuilder
      Returns:
      The bytes for timeGranularity.
    • setTimeGranularity

      public TimestampMetadata.Builder setTimeGranularity(String value)
       Time granularity of the timestamp column.
       
      string time_granularity = 3;
      Parameters:
      value - The timeGranularity to set.
      Returns:
      This builder for chaining.
    • clearTimeGranularity

      public TimestampMetadata.Builder clearTimeGranularity()
       Time granularity of the timestamp column.
       
      string time_granularity = 3;
      Returns:
      This builder for chaining.
    • setTimeGranularityBytes

      public TimestampMetadata.Builder setTimeGranularityBytes(com.google.protobuf.ByteString value)
       Time granularity of the timestamp column.
       
      string time_granularity = 3;
      Parameters:
      value - The bytes for timeGranularity to set.
      Returns:
      This builder for chaining.
    • getIsSortable

      public boolean getIsSortable()
       Whether the timestamp column is sortable in UI.
       
      bool is_sortable = 4;
      Specified by:
      getIsSortable in interface TimestampMetadataOrBuilder
      Returns:
      The isSortable.
    • setIsSortable

      public TimestampMetadata.Builder setIsSortable(boolean value)
       Whether the timestamp column is sortable in UI.
       
      bool is_sortable = 4;
      Parameters:
      value - The isSortable to set.
      Returns:
      This builder for chaining.
    • clearIsSortable

      public TimestampMetadata.Builder clearIsSortable()
       Whether the timestamp column is sortable in UI.
       
      bool is_sortable = 4;
      Returns:
      This builder for chaining.
    • getIsInterpolable

      public boolean getIsInterpolable()
       Whether the timestamp column is interpolable in UI.
       
      bool is_interpolable = 5;
      Specified by:
      getIsInterpolable in interface TimestampMetadataOrBuilder
      Returns:
      The isInterpolable.
    • setIsInterpolable

      public TimestampMetadata.Builder setIsInterpolable(boolean value)
       Whether the timestamp column is interpolable in UI.
       
      bool is_interpolable = 5;
      Parameters:
      value - The isInterpolable to set.
      Returns:
      This builder for chaining.
    • clearIsInterpolable

      public TimestampMetadata.Builder clearIsInterpolable()
       Whether the timestamp column is interpolable in UI.
       
      bool is_interpolable = 5;
      Returns:
      This builder for chaining.