Class BillingReport.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, BillingReportOrBuilder, java.lang.Cloneable
    Enclosing class:
    BillingReport

    public static final class BillingReport.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<BillingReport.Builder>
    implements BillingReportOrBuilder
    Protobuf type temporal.api.cloud.billing.v1.BillingReport
    • 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<BillingReport.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

        public BillingReport.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<BillingReport.Builder>
      • isInitialized

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

        public BillingReport.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<BillingReport.Builder>
        Throws:
        java.io.IOException
      • getId

        public java.lang.String getId()
         The id of the billing report.
         
        string id = 1;
        Specified by:
        getId in interface BillingReportOrBuilder
        Returns:
        The id.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         The id of the billing report.
         
        string id = 1;
        Specified by:
        getIdBytes in interface BillingReportOrBuilder
        Returns:
        The bytes for id.
      • setId

        public BillingReport.Builder setId​(java.lang.String value)
         The id of the billing report.
         
        string id = 1;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public BillingReport.Builder clearId()
         The id of the billing report.
         
        string id = 1;
        Returns:
        This builder for chaining.
      • setIdBytes

        public BillingReport.Builder setIdBytes​(com.google.protobuf.ByteString value)
         The id of the billing report.
         
        string id = 1;
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • getStateValue

        public int getStateValue()
         The current state of the billing report.
         
        .temporal.api.cloud.billing.v1.BillingReport.BillingReportState state = 2;
        Specified by:
        getStateValue in interface BillingReportOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public BillingReport.Builder setStateValue​(int value)
         The current state of the billing report.
         
        .temporal.api.cloud.billing.v1.BillingReport.BillingReportState state = 2;
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • setState

        public BillingReport.Builder setState​(BillingReport.BillingReportState value)
         The current state of the billing report.
         
        .temporal.api.cloud.billing.v1.BillingReport.BillingReportState state = 2;
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public BillingReport.Builder clearState()
         The current state of the billing report.
         
        .temporal.api.cloud.billing.v1.BillingReport.BillingReportState state = 2;
        Returns:
        This builder for chaining.
      • hasSpec

        public boolean hasSpec()
         The spec used to generate this billing report.
         
        .temporal.api.cloud.billing.v1.BillingReportSpec spec = 3;
        Specified by:
        hasSpec in interface BillingReportOrBuilder
        Returns:
        Whether the spec field is set.
      • getSpec

        public BillingReportSpec getSpec()
         The spec used to generate this billing report.
         
        .temporal.api.cloud.billing.v1.BillingReportSpec spec = 3;
        Specified by:
        getSpec in interface BillingReportOrBuilder
        Returns:
        The spec.
      • clearSpec

        public BillingReport.Builder clearSpec()
         The spec used to generate this billing report.
         
        .temporal.api.cloud.billing.v1.BillingReportSpec spec = 3;
      • getSpecBuilder

        public BillingReportSpec.Builder getSpecBuilder()
         The spec used to generate this billing report.
         
        .temporal.api.cloud.billing.v1.BillingReportSpec spec = 3;
      • getDownloadInfoList

        public java.util.List<BillingReport.Download> getDownloadInfoList()
         The download information for the billing report.
         For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
         
        repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4;
        Specified by:
        getDownloadInfoList in interface BillingReportOrBuilder
      • getDownloadInfoCount

        public int getDownloadInfoCount()
         The download information for the billing report.
         For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
         
        repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4;
        Specified by:
        getDownloadInfoCount in interface BillingReportOrBuilder
      • getDownloadInfo

        public BillingReport.Download getDownloadInfo​(int index)
         The download information for the billing report.
         For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
         
        repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4;
        Specified by:
        getDownloadInfo in interface BillingReportOrBuilder
      • setDownloadInfo

        public BillingReport.Builder setDownloadInfo​(int index,
                                                     BillingReport.Download value)
         The download information for the billing report.
         For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
         
        repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4;
      • setDownloadInfo

        public BillingReport.Builder setDownloadInfo​(int index,
                                                     BillingReport.Download.Builder builderForValue)
         The download information for the billing report.
         For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
         
        repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4;
      • addDownloadInfo

        public BillingReport.Builder addDownloadInfo​(BillingReport.Download value)
         The download information for the billing report.
         For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
         
        repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4;
      • addDownloadInfo

        public BillingReport.Builder addDownloadInfo​(int index,
                                                     BillingReport.Download value)
         The download information for the billing report.
         For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
         
        repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4;
      • addDownloadInfo

        public BillingReport.Builder addDownloadInfo​(BillingReport.Download.Builder builderForValue)
         The download information for the billing report.
         For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
         
        repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4;
      • addDownloadInfo

        public BillingReport.Builder addDownloadInfo​(int index,
                                                     BillingReport.Download.Builder builderForValue)
         The download information for the billing report.
         For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
         
        repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4;
      • addAllDownloadInfo

        public BillingReport.Builder addAllDownloadInfo​(java.lang.Iterable<? extends BillingReport.Download> values)
         The download information for the billing report.
         For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
         
        repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4;
      • clearDownloadInfo

        public BillingReport.Builder clearDownloadInfo()
         The download information for the billing report.
         For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
         
        repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4;
      • removeDownloadInfo

        public BillingReport.Builder removeDownloadInfo​(int index)
         The download information for the billing report.
         For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
         
        repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4;
      • getDownloadInfoBuilder

        public BillingReport.Download.Builder getDownloadInfoBuilder​(int index)
         The download information for the billing report.
         For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
         
        repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4;
      • getDownloadInfoOrBuilder

        public BillingReport.DownloadOrBuilder getDownloadInfoOrBuilder​(int index)
         The download information for the billing report.
         For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
         
        repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4;
        Specified by:
        getDownloadInfoOrBuilder in interface BillingReportOrBuilder
      • getDownloadInfoOrBuilderList

        public java.util.List<? extends BillingReport.DownloadOrBuilder> getDownloadInfoOrBuilderList()
         The download information for the billing report.
         For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
         
        repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4;
        Specified by:
        getDownloadInfoOrBuilderList in interface BillingReportOrBuilder
      • addDownloadInfoBuilder

        public BillingReport.Download.Builder addDownloadInfoBuilder()
         The download information for the billing report.
         For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
         
        repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4;
      • addDownloadInfoBuilder

        public BillingReport.Download.Builder addDownloadInfoBuilder​(int index)
         The download information for the billing report.
         For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
         
        repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4;
      • getDownloadInfoBuilderList

        public java.util.List<BillingReport.Download.Builder> getDownloadInfoBuilderList()
         The download information for the billing report.
         For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
         
        repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4;
      • hasRequestedTime

        public boolean hasRequestedTime()
         The date and time when the billing report was requested.
         
        .google.protobuf.Timestamp requested_time = 5;
        Specified by:
        hasRequestedTime in interface BillingReportOrBuilder
        Returns:
        Whether the requestedTime field is set.
      • getRequestedTime

        public com.google.protobuf.Timestamp getRequestedTime()
         The date and time when the billing report was requested.
         
        .google.protobuf.Timestamp requested_time = 5;
        Specified by:
        getRequestedTime in interface BillingReportOrBuilder
        Returns:
        The requestedTime.
      • setRequestedTime

        public BillingReport.Builder setRequestedTime​(com.google.protobuf.Timestamp value)
         The date and time when the billing report was requested.
         
        .google.protobuf.Timestamp requested_time = 5;
      • setRequestedTime

        public BillingReport.Builder setRequestedTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         The date and time when the billing report was requested.
         
        .google.protobuf.Timestamp requested_time = 5;
      • mergeRequestedTime

        public BillingReport.Builder mergeRequestedTime​(com.google.protobuf.Timestamp value)
         The date and time when the billing report was requested.
         
        .google.protobuf.Timestamp requested_time = 5;
      • clearRequestedTime

        public BillingReport.Builder clearRequestedTime()
         The date and time when the billing report was requested.
         
        .google.protobuf.Timestamp requested_time = 5;
      • getRequestedTimeBuilder

        public com.google.protobuf.Timestamp.Builder getRequestedTimeBuilder()
         The date and time when the billing report was requested.
         
        .google.protobuf.Timestamp requested_time = 5;
      • getRequestedTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getRequestedTimeOrBuilder()
         The date and time when the billing report was requested.
         
        .google.protobuf.Timestamp requested_time = 5;
        Specified by:
        getRequestedTimeOrBuilder in interface BillingReportOrBuilder
      • hasGeneratedTime

        public boolean hasGeneratedTime()
         The date and time when the billing report generation completed.
         
        .google.protobuf.Timestamp generated_time = 6;
        Specified by:
        hasGeneratedTime in interface BillingReportOrBuilder
        Returns:
        Whether the generatedTime field is set.
      • getGeneratedTime

        public com.google.protobuf.Timestamp getGeneratedTime()
         The date and time when the billing report generation completed.
         
        .google.protobuf.Timestamp generated_time = 6;
        Specified by:
        getGeneratedTime in interface BillingReportOrBuilder
        Returns:
        The generatedTime.
      • setGeneratedTime

        public BillingReport.Builder setGeneratedTime​(com.google.protobuf.Timestamp value)
         The date and time when the billing report generation completed.
         
        .google.protobuf.Timestamp generated_time = 6;
      • setGeneratedTime

        public BillingReport.Builder setGeneratedTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         The date and time when the billing report generation completed.
         
        .google.protobuf.Timestamp generated_time = 6;
      • mergeGeneratedTime

        public BillingReport.Builder mergeGeneratedTime​(com.google.protobuf.Timestamp value)
         The date and time when the billing report generation completed.
         
        .google.protobuf.Timestamp generated_time = 6;
      • clearGeneratedTime

        public BillingReport.Builder clearGeneratedTime()
         The date and time when the billing report generation completed.
         
        .google.protobuf.Timestamp generated_time = 6;
      • getGeneratedTimeBuilder

        public com.google.protobuf.Timestamp.Builder getGeneratedTimeBuilder()
         The date and time when the billing report generation completed.
         
        .google.protobuf.Timestamp generated_time = 6;
      • getGeneratedTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getGeneratedTimeOrBuilder()
         The date and time when the billing report generation completed.
         
        .google.protobuf.Timestamp generated_time = 6;
        Specified by:
        getGeneratedTimeOrBuilder in interface BillingReportOrBuilder
      • getAsyncOperationId

        public java.lang.String getAsyncOperationId()
         The async operation id associated with the billing report generation.
         
        string async_operation_id = 7;
        Specified by:
        getAsyncOperationId in interface BillingReportOrBuilder
        Returns:
        The asyncOperationId.
      • getAsyncOperationIdBytes

        public com.google.protobuf.ByteString getAsyncOperationIdBytes()
         The async operation id associated with the billing report generation.
         
        string async_operation_id = 7;
        Specified by:
        getAsyncOperationIdBytes in interface BillingReportOrBuilder
        Returns:
        The bytes for asyncOperationId.
      • setAsyncOperationId

        public BillingReport.Builder setAsyncOperationId​(java.lang.String value)
         The async operation id associated with the billing report generation.
         
        string async_operation_id = 7;
        Parameters:
        value - The asyncOperationId to set.
        Returns:
        This builder for chaining.
      • clearAsyncOperationId

        public BillingReport.Builder clearAsyncOperationId()
         The async operation id associated with the billing report generation.
         
        string async_operation_id = 7;
        Returns:
        This builder for chaining.
      • setAsyncOperationIdBytes

        public BillingReport.Builder setAsyncOperationIdBytes​(com.google.protobuf.ByteString value)
         The async operation id associated with the billing report generation.
         
        string async_operation_id = 7;
        Parameters:
        value - The bytes for asyncOperationId to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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