Class BillingReport.Download.Builder

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

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

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

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

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

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

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

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

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

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

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

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

        public BillingReport.Download.Builder setUrl​(java.lang.String value)
         The download url.
         
        string url = 1;
        Parameters:
        value - The url to set.
        Returns:
        This builder for chaining.
      • setUrlBytes

        public BillingReport.Download.Builder setUrlBytes​(com.google.protobuf.ByteString value)
         The download url.
         
        string url = 1;
        Parameters:
        value - The bytes for url to set.
        Returns:
        This builder for chaining.
      • hasUrlExpirationTime

        public boolean hasUrlExpirationTime()
         The time when the download url will expire.
         
        .google.protobuf.Timestamp url_expiration_time = 2;
        Specified by:
        hasUrlExpirationTime in interface BillingReport.DownloadOrBuilder
        Returns:
        Whether the urlExpirationTime field is set.
      • getUrlExpirationTime

        public com.google.protobuf.Timestamp getUrlExpirationTime()
         The time when the download url will expire.
         
        .google.protobuf.Timestamp url_expiration_time = 2;
        Specified by:
        getUrlExpirationTime in interface BillingReport.DownloadOrBuilder
        Returns:
        The urlExpirationTime.
      • setUrlExpirationTime

        public BillingReport.Download.Builder setUrlExpirationTime​(com.google.protobuf.Timestamp value)
         The time when the download url will expire.
         
        .google.protobuf.Timestamp url_expiration_time = 2;
      • setUrlExpirationTime

        public BillingReport.Download.Builder setUrlExpirationTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         The time when the download url will expire.
         
        .google.protobuf.Timestamp url_expiration_time = 2;
      • mergeUrlExpirationTime

        public BillingReport.Download.Builder mergeUrlExpirationTime​(com.google.protobuf.Timestamp value)
         The time when the download url will expire.
         
        .google.protobuf.Timestamp url_expiration_time = 2;
      • clearUrlExpirationTime

        public BillingReport.Download.Builder clearUrlExpirationTime()
         The time when the download url will expire.
         
        .google.protobuf.Timestamp url_expiration_time = 2;
      • getUrlExpirationTimeBuilder

        public com.google.protobuf.Timestamp.Builder getUrlExpirationTimeBuilder()
         The time when the download url will expire.
         
        .google.protobuf.Timestamp url_expiration_time = 2;
      • getFileFormatValue

        public int getFileFormatValue()
         The file format of the billing report
         
        .temporal.api.cloud.billing.v1.BillingReport.Download.FileFormat file_format = 3;
        Specified by:
        getFileFormatValue in interface BillingReport.DownloadOrBuilder
        Returns:
        The enum numeric value on the wire for fileFormat.
      • setFileFormatValue

        public BillingReport.Download.Builder setFileFormatValue​(int value)
         The file format of the billing report
         
        .temporal.api.cloud.billing.v1.BillingReport.Download.FileFormat file_format = 3;
        Parameters:
        value - The enum numeric value on the wire for fileFormat to set.
        Returns:
        This builder for chaining.
      • clearFileFormat

        public BillingReport.Download.Builder clearFileFormat()
         The file format of the billing report
         
        .temporal.api.cloud.billing.v1.BillingReport.Download.FileFormat file_format = 3;
        Returns:
        This builder for chaining.
      • getFileSizeBytes

        public long getFileSizeBytes()
         The size of the file in bytes. Useful for pre-allocating space, progress indicators, etc.
         
        int64 file_size_bytes = 4;
        Specified by:
        getFileSizeBytes in interface BillingReport.DownloadOrBuilder
        Returns:
        The fileSizeBytes.
      • setFileSizeBytes

        public BillingReport.Download.Builder setFileSizeBytes​(long value)
         The size of the file in bytes. Useful for pre-allocating space, progress indicators, etc.
         
        int64 file_size_bytes = 4;
        Parameters:
        value - The fileSizeBytes to set.
        Returns:
        This builder for chaining.
      • clearFileSizeBytes

        public BillingReport.Download.Builder clearFileSizeBytes()
         The size of the file in bytes. Useful for pre-allocating space, progress indicators, etc.
         
        int64 file_size_bytes = 4;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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