Class BillingReportSpec.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, BillingReportSpecOrBuilder, java.lang.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 Detail

      • 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,
                                                  java.lang.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,
                                                          java.lang.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,
                                                          java.lang.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>
      • 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 java.io.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:
        java.io.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 java.lang.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​(java.lang.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.
      • 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>