Class BillingReportSpec.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BillingReportSpec.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<BillingReportSpec.Builder>
io.temporal.api.cloud.billing.v1.BillingReportSpec.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, BillingReportSpecOrBuilder, Cloneable
Enclosing class:
BillingReportSpec

public static final class BillingReportSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BillingReportSpec.Builder> implements BillingReportSpecOrBuilder
Protobuf type temporal.api.cloud.billing.v1.BillingReportSpec
  • Method Details

    • 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<BillingReportSpec.Builder>
    • clear

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

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

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

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

      public BillingReportSpec.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<BillingReportSpec.Builder>
    • setField

      public BillingReportSpec.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<BillingReportSpec.Builder>
    • clearField

      public BillingReportSpec.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<BillingReportSpec.Builder>
    • clearOneof

      public BillingReportSpec.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<BillingReportSpec.Builder>
    • setRepeatedField

      public BillingReportSpec.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<BillingReportSpec.Builder>
    • addRepeatedField

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

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

      public BillingReportSpec.Builder mergeFrom(BillingReportSpec other)
    • isInitialized

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

      public BillingReportSpec.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<BillingReportSpec.Builder>
      Throws:
      IOException
    • hasStartTimeInclusive

      public boolean hasStartTimeInclusive()
       The start time of the billing report (in UTC).
       
      .google.protobuf.Timestamp start_time_inclusive = 1;
      Specified by:
      hasStartTimeInclusive in interface BillingReportSpecOrBuilder
      Returns:
      Whether the startTimeInclusive field is set.
    • getStartTimeInclusive

      public com.google.protobuf.Timestamp getStartTimeInclusive()
       The start time of the billing report (in UTC).
       
      .google.protobuf.Timestamp start_time_inclusive = 1;
      Specified by:
      getStartTimeInclusive in interface BillingReportSpecOrBuilder
      Returns:
      The startTimeInclusive.
    • setStartTimeInclusive

      public BillingReportSpec.Builder setStartTimeInclusive(com.google.protobuf.Timestamp value)
       The start time of the billing report (in UTC).
       
      .google.protobuf.Timestamp start_time_inclusive = 1;
    • setStartTimeInclusive

      public BillingReportSpec.Builder setStartTimeInclusive(com.google.protobuf.Timestamp.Builder builderForValue)
       The start time of the billing report (in UTC).
       
      .google.protobuf.Timestamp start_time_inclusive = 1;
    • mergeStartTimeInclusive

      public BillingReportSpec.Builder mergeStartTimeInclusive(com.google.protobuf.Timestamp value)
       The start time of the billing report (in UTC).
       
      .google.protobuf.Timestamp start_time_inclusive = 1;
    • clearStartTimeInclusive

      public BillingReportSpec.Builder clearStartTimeInclusive()
       The start time of the billing report (in UTC).
       
      .google.protobuf.Timestamp start_time_inclusive = 1;
    • getStartTimeInclusiveBuilder

      public com.google.protobuf.Timestamp.Builder getStartTimeInclusiveBuilder()
       The start time of the billing report (in UTC).
       
      .google.protobuf.Timestamp start_time_inclusive = 1;
    • getStartTimeInclusiveOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeInclusiveOrBuilder()
       The start time of the billing report (in UTC).
       
      .google.protobuf.Timestamp start_time_inclusive = 1;
      Specified by:
      getStartTimeInclusiveOrBuilder in interface BillingReportSpecOrBuilder
    • hasEndTimeExclusive

      public boolean hasEndTimeExclusive()
       The end time of the billing report (in UTC).
       
      .google.protobuf.Timestamp end_time_exclusive = 2;
      Specified by:
      hasEndTimeExclusive in interface BillingReportSpecOrBuilder
      Returns:
      Whether the endTimeExclusive field is set.
    • getEndTimeExclusive

      public com.google.protobuf.Timestamp getEndTimeExclusive()
       The end time of the billing report (in UTC).
       
      .google.protobuf.Timestamp end_time_exclusive = 2;
      Specified by:
      getEndTimeExclusive in interface BillingReportSpecOrBuilder
      Returns:
      The endTimeExclusive.
    • setEndTimeExclusive

      public BillingReportSpec.Builder setEndTimeExclusive(com.google.protobuf.Timestamp value)
       The end time of the billing report (in UTC).
       
      .google.protobuf.Timestamp end_time_exclusive = 2;
    • setEndTimeExclusive

      public BillingReportSpec.Builder setEndTimeExclusive(com.google.protobuf.Timestamp.Builder builderForValue)
       The end time of the billing report (in UTC).
       
      .google.protobuf.Timestamp end_time_exclusive = 2;
    • mergeEndTimeExclusive

      public BillingReportSpec.Builder mergeEndTimeExclusive(com.google.protobuf.Timestamp value)
       The end time of the billing report (in UTC).
       
      .google.protobuf.Timestamp end_time_exclusive = 2;
    • clearEndTimeExclusive

      public BillingReportSpec.Builder clearEndTimeExclusive()
       The end time of the billing report (in UTC).
       
      .google.protobuf.Timestamp end_time_exclusive = 2;
    • getEndTimeExclusiveBuilder

      public com.google.protobuf.Timestamp.Builder getEndTimeExclusiveBuilder()
       The end time of the billing report (in UTC).
       
      .google.protobuf.Timestamp end_time_exclusive = 2;
    • getEndTimeExclusiveOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEndTimeExclusiveOrBuilder()
       The end time of the billing report (in UTC).
       
      .google.protobuf.Timestamp end_time_exclusive = 2;
      Specified by:
      getEndTimeExclusiveOrBuilder in interface BillingReportSpecOrBuilder
    • hasDownloadUrlExpirationDuration

      public boolean hasDownloadUrlExpirationDuration()
       The duration after which the download url will expire.
       Optional, default is 5 minutes and maximum is 1 hour.
       
      .google.protobuf.Duration download_url_expiration_duration = 3;
      Specified by:
      hasDownloadUrlExpirationDuration in interface BillingReportSpecOrBuilder
      Returns:
      Whether the downloadUrlExpirationDuration field is set.
    • getDownloadUrlExpirationDuration

      public com.google.protobuf.Duration getDownloadUrlExpirationDuration()
       The duration after which the download url will expire.
       Optional, default is 5 minutes and maximum is 1 hour.
       
      .google.protobuf.Duration download_url_expiration_duration = 3;
      Specified by:
      getDownloadUrlExpirationDuration in interface BillingReportSpecOrBuilder
      Returns:
      The downloadUrlExpirationDuration.
    • setDownloadUrlExpirationDuration

      public BillingReportSpec.Builder setDownloadUrlExpirationDuration(com.google.protobuf.Duration value)
       The duration after which the download url will expire.
       Optional, default is 5 minutes and maximum is 1 hour.
       
      .google.protobuf.Duration download_url_expiration_duration = 3;
    • setDownloadUrlExpirationDuration

      public BillingReportSpec.Builder setDownloadUrlExpirationDuration(com.google.protobuf.Duration.Builder builderForValue)
       The duration after which the download url will expire.
       Optional, default is 5 minutes and maximum is 1 hour.
       
      .google.protobuf.Duration download_url_expiration_duration = 3;
    • mergeDownloadUrlExpirationDuration

      public BillingReportSpec.Builder mergeDownloadUrlExpirationDuration(com.google.protobuf.Duration value)
       The duration after which the download url will expire.
       Optional, default is 5 minutes and maximum is 1 hour.
       
      .google.protobuf.Duration download_url_expiration_duration = 3;
    • clearDownloadUrlExpirationDuration

      public BillingReportSpec.Builder clearDownloadUrlExpirationDuration()
       The duration after which the download url will expire.
       Optional, default is 5 minutes and maximum is 1 hour.
       
      .google.protobuf.Duration download_url_expiration_duration = 3;
    • getDownloadUrlExpirationDurationBuilder

      public com.google.protobuf.Duration.Builder getDownloadUrlExpirationDurationBuilder()
       The duration after which the download url will expire.
       Optional, default is 5 minutes and maximum is 1 hour.
       
      .google.protobuf.Duration download_url_expiration_duration = 3;
    • getDownloadUrlExpirationDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getDownloadUrlExpirationDurationOrBuilder()
       The duration after which the download url will expire.
       Optional, default is 5 minutes and maximum is 1 hour.
       
      .google.protobuf.Duration download_url_expiration_duration = 3;
      Specified by:
      getDownloadUrlExpirationDurationOrBuilder in interface BillingReportSpecOrBuilder
    • getDescription

      public String getDescription()
       The description for the billing report.
       Optional, default is empty.
       
      string description = 4;
      Specified by:
      getDescription in interface BillingReportSpecOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       The description for the billing report.
       Optional, default is empty.
       
      string description = 4;
      Specified by:
      getDescriptionBytes in interface BillingReportSpecOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public BillingReportSpec.Builder setDescription(String value)
       The description for the billing report.
       Optional, default is empty.
       
      string description = 4;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public BillingReportSpec.Builder clearDescription()
       The description for the billing report.
       Optional, default is empty.
       
      string description = 4;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public BillingReportSpec.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       The description for the billing report.
       Optional, default is empty.
       
      string description = 4;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getGranularityValue

      public int getGranularityValue()
       The data granularity of the billing report.
       Optional, default is hourly.
       temporal:versioning:min_version=v0.16.0
       
      .temporal.api.cloud.billing.v1.BillingReportSpec.BillingReportGranularity granularity = 5;
      Specified by:
      getGranularityValue in interface BillingReportSpecOrBuilder
      Returns:
      The enum numeric value on the wire for granularity.
    • setGranularityValue

      public BillingReportSpec.Builder setGranularityValue(int value)
       The data granularity of the billing report.
       Optional, default is hourly.
       temporal:versioning:min_version=v0.16.0
       
      .temporal.api.cloud.billing.v1.BillingReportSpec.BillingReportGranularity granularity = 5;
      Parameters:
      value - The enum numeric value on the wire for granularity to set.
      Returns:
      This builder for chaining.
    • getGranularity

       The data granularity of the billing report.
       Optional, default is hourly.
       temporal:versioning:min_version=v0.16.0
       
      .temporal.api.cloud.billing.v1.BillingReportSpec.BillingReportGranularity granularity = 5;
      Specified by:
      getGranularity in interface BillingReportSpecOrBuilder
      Returns:
      The granularity.
    • setGranularity

       The data granularity of the billing report.
       Optional, default is hourly.
       temporal:versioning:min_version=v0.16.0
       
      .temporal.api.cloud.billing.v1.BillingReportSpec.BillingReportGranularity granularity = 5;
      Parameters:
      value - The granularity to set.
      Returns:
      This builder for chaining.
    • clearGranularity

      public BillingReportSpec.Builder clearGranularity()
       The data granularity of the billing report.
       Optional, default is hourly.
       temporal:versioning:min_version=v0.16.0
       
      .temporal.api.cloud.billing.v1.BillingReportSpec.BillingReportGranularity granularity = 5;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final BillingReportSpec.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<BillingReportSpec.Builder>
    • mergeUnknownFields

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