Class DataStore.BillingEstimation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataStore.BillingEstimation.Builder>
com.google.cloud.discoveryengine.v1beta.DataStore.BillingEstimation.Builder
All Implemented Interfaces:
DataStore.BillingEstimationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DataStore.BillingEstimation

public static final class DataStore.BillingEstimation.Builder extends com.google.protobuf.GeneratedMessage.Builder<DataStore.BillingEstimation.Builder> implements DataStore.BillingEstimationOrBuilder
 Estimation of data size per data store.
 
Protobuf type google.cloud.discoveryengine.v1beta.DataStore.BillingEstimation
  • 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<DataStore.BillingEstimation.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<DataStore.BillingEstimation.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<DataStore.BillingEstimation.Builder>
    • getDefaultInstanceForType

      public DataStore.BillingEstimation 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 DataStore.BillingEstimation buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public DataStore.BillingEstimation.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<DataStore.BillingEstimation.Builder>
      Throws:
      IOException
    • getStructuredDataSize

      public long getStructuredDataSize()
       Data size for structured data in terms of bytes.
       
      int64 structured_data_size = 1;
      Specified by:
      getStructuredDataSize in interface DataStore.BillingEstimationOrBuilder
      Returns:
      The structuredDataSize.
    • setStructuredDataSize

      public DataStore.BillingEstimation.Builder setStructuredDataSize(long value)
       Data size for structured data in terms of bytes.
       
      int64 structured_data_size = 1;
      Parameters:
      value - The structuredDataSize to set.
      Returns:
      This builder for chaining.
    • clearStructuredDataSize

      public DataStore.BillingEstimation.Builder clearStructuredDataSize()
       Data size for structured data in terms of bytes.
       
      int64 structured_data_size = 1;
      Returns:
      This builder for chaining.
    • getUnstructuredDataSize

      public long getUnstructuredDataSize()
       Data size for unstructured data in terms of bytes.
       
      int64 unstructured_data_size = 2;
      Specified by:
      getUnstructuredDataSize in interface DataStore.BillingEstimationOrBuilder
      Returns:
      The unstructuredDataSize.
    • setUnstructuredDataSize

      public DataStore.BillingEstimation.Builder setUnstructuredDataSize(long value)
       Data size for unstructured data in terms of bytes.
       
      int64 unstructured_data_size = 2;
      Parameters:
      value - The unstructuredDataSize to set.
      Returns:
      This builder for chaining.
    • clearUnstructuredDataSize

      public DataStore.BillingEstimation.Builder clearUnstructuredDataSize()
       Data size for unstructured data in terms of bytes.
       
      int64 unstructured_data_size = 2;
      Returns:
      This builder for chaining.
    • getWebsiteDataSize

      public long getWebsiteDataSize()
       Data size for websites in terms of bytes.
       
      int64 website_data_size = 3;
      Specified by:
      getWebsiteDataSize in interface DataStore.BillingEstimationOrBuilder
      Returns:
      The websiteDataSize.
    • setWebsiteDataSize

      public DataStore.BillingEstimation.Builder setWebsiteDataSize(long value)
       Data size for websites in terms of bytes.
       
      int64 website_data_size = 3;
      Parameters:
      value - The websiteDataSize to set.
      Returns:
      This builder for chaining.
    • clearWebsiteDataSize

      public DataStore.BillingEstimation.Builder clearWebsiteDataSize()
       Data size for websites in terms of bytes.
       
      int64 website_data_size = 3;
      Returns:
      This builder for chaining.
    • hasStructuredDataUpdateTime

      public boolean hasStructuredDataUpdateTime()
       Last updated timestamp for structured data.
       
      .google.protobuf.Timestamp structured_data_update_time = 4;
      Specified by:
      hasStructuredDataUpdateTime in interface DataStore.BillingEstimationOrBuilder
      Returns:
      Whether the structuredDataUpdateTime field is set.
    • getStructuredDataUpdateTime

      public com.google.protobuf.Timestamp getStructuredDataUpdateTime()
       Last updated timestamp for structured data.
       
      .google.protobuf.Timestamp structured_data_update_time = 4;
      Specified by:
      getStructuredDataUpdateTime in interface DataStore.BillingEstimationOrBuilder
      Returns:
      The structuredDataUpdateTime.
    • setStructuredDataUpdateTime

      public DataStore.BillingEstimation.Builder setStructuredDataUpdateTime(com.google.protobuf.Timestamp value)
       Last updated timestamp for structured data.
       
      .google.protobuf.Timestamp structured_data_update_time = 4;
    • setStructuredDataUpdateTime

      public DataStore.BillingEstimation.Builder setStructuredDataUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Last updated timestamp for structured data.
       
      .google.protobuf.Timestamp structured_data_update_time = 4;
    • mergeStructuredDataUpdateTime

      public DataStore.BillingEstimation.Builder mergeStructuredDataUpdateTime(com.google.protobuf.Timestamp value)
       Last updated timestamp for structured data.
       
      .google.protobuf.Timestamp structured_data_update_time = 4;
    • clearStructuredDataUpdateTime

      public DataStore.BillingEstimation.Builder clearStructuredDataUpdateTime()
       Last updated timestamp for structured data.
       
      .google.protobuf.Timestamp structured_data_update_time = 4;
    • getStructuredDataUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getStructuredDataUpdateTimeBuilder()
       Last updated timestamp for structured data.
       
      .google.protobuf.Timestamp structured_data_update_time = 4;
    • getStructuredDataUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStructuredDataUpdateTimeOrBuilder()
       Last updated timestamp for structured data.
       
      .google.protobuf.Timestamp structured_data_update_time = 4;
      Specified by:
      getStructuredDataUpdateTimeOrBuilder in interface DataStore.BillingEstimationOrBuilder
    • hasUnstructuredDataUpdateTime

      public boolean hasUnstructuredDataUpdateTime()
       Last updated timestamp for unstructured data.
       
      .google.protobuf.Timestamp unstructured_data_update_time = 5;
      Specified by:
      hasUnstructuredDataUpdateTime in interface DataStore.BillingEstimationOrBuilder
      Returns:
      Whether the unstructuredDataUpdateTime field is set.
    • getUnstructuredDataUpdateTime

      public com.google.protobuf.Timestamp getUnstructuredDataUpdateTime()
       Last updated timestamp for unstructured data.
       
      .google.protobuf.Timestamp unstructured_data_update_time = 5;
      Specified by:
      getUnstructuredDataUpdateTime in interface DataStore.BillingEstimationOrBuilder
      Returns:
      The unstructuredDataUpdateTime.
    • setUnstructuredDataUpdateTime

      public DataStore.BillingEstimation.Builder setUnstructuredDataUpdateTime(com.google.protobuf.Timestamp value)
       Last updated timestamp for unstructured data.
       
      .google.protobuf.Timestamp unstructured_data_update_time = 5;
    • setUnstructuredDataUpdateTime

      public DataStore.BillingEstimation.Builder setUnstructuredDataUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Last updated timestamp for unstructured data.
       
      .google.protobuf.Timestamp unstructured_data_update_time = 5;
    • mergeUnstructuredDataUpdateTime

      public DataStore.BillingEstimation.Builder mergeUnstructuredDataUpdateTime(com.google.protobuf.Timestamp value)
       Last updated timestamp for unstructured data.
       
      .google.protobuf.Timestamp unstructured_data_update_time = 5;
    • clearUnstructuredDataUpdateTime

      public DataStore.BillingEstimation.Builder clearUnstructuredDataUpdateTime()
       Last updated timestamp for unstructured data.
       
      .google.protobuf.Timestamp unstructured_data_update_time = 5;
    • getUnstructuredDataUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUnstructuredDataUpdateTimeBuilder()
       Last updated timestamp for unstructured data.
       
      .google.protobuf.Timestamp unstructured_data_update_time = 5;
    • getUnstructuredDataUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUnstructuredDataUpdateTimeOrBuilder()
       Last updated timestamp for unstructured data.
       
      .google.protobuf.Timestamp unstructured_data_update_time = 5;
      Specified by:
      getUnstructuredDataUpdateTimeOrBuilder in interface DataStore.BillingEstimationOrBuilder
    • hasWebsiteDataUpdateTime

      public boolean hasWebsiteDataUpdateTime()
       Last updated timestamp for websites.
       
      .google.protobuf.Timestamp website_data_update_time = 6;
      Specified by:
      hasWebsiteDataUpdateTime in interface DataStore.BillingEstimationOrBuilder
      Returns:
      Whether the websiteDataUpdateTime field is set.
    • getWebsiteDataUpdateTime

      public com.google.protobuf.Timestamp getWebsiteDataUpdateTime()
       Last updated timestamp for websites.
       
      .google.protobuf.Timestamp website_data_update_time = 6;
      Specified by:
      getWebsiteDataUpdateTime in interface DataStore.BillingEstimationOrBuilder
      Returns:
      The websiteDataUpdateTime.
    • setWebsiteDataUpdateTime

      public DataStore.BillingEstimation.Builder setWebsiteDataUpdateTime(com.google.protobuf.Timestamp value)
       Last updated timestamp for websites.
       
      .google.protobuf.Timestamp website_data_update_time = 6;
    • setWebsiteDataUpdateTime

      public DataStore.BillingEstimation.Builder setWebsiteDataUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Last updated timestamp for websites.
       
      .google.protobuf.Timestamp website_data_update_time = 6;
    • mergeWebsiteDataUpdateTime

      public DataStore.BillingEstimation.Builder mergeWebsiteDataUpdateTime(com.google.protobuf.Timestamp value)
       Last updated timestamp for websites.
       
      .google.protobuf.Timestamp website_data_update_time = 6;
    • clearWebsiteDataUpdateTime

      public DataStore.BillingEstimation.Builder clearWebsiteDataUpdateTime()
       Last updated timestamp for websites.
       
      .google.protobuf.Timestamp website_data_update_time = 6;
    • getWebsiteDataUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getWebsiteDataUpdateTimeBuilder()
       Last updated timestamp for websites.
       
      .google.protobuf.Timestamp website_data_update_time = 6;
    • getWebsiteDataUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getWebsiteDataUpdateTimeOrBuilder()
       Last updated timestamp for websites.
       
      .google.protobuf.Timestamp website_data_update_time = 6;
      Specified by:
      getWebsiteDataUpdateTimeOrBuilder in interface DataStore.BillingEstimationOrBuilder