Class BillingReport.Download.Builder

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

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

      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, 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, 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, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BillingReport.Download.Builder>
    • mergeFrom

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

    • 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 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:
      IOException
    • getUrl

      public String getUrl()
       The download url.
       
      string url = 1;
      Specified by:
      getUrl in interface BillingReport.DownloadOrBuilder
      Returns:
      The url.
    • getUrlBytes

      public com.google.protobuf.ByteString getUrlBytes()
       The download url.
       
      string url = 1;
      Specified by:
      getUrlBytes in interface BillingReport.DownloadOrBuilder
      Returns:
      The bytes for url.
    • setUrl

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

      public BillingReport.Download.Builder clearUrl()
       The download url.
       
      string url = 1;
      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;
    • getUrlExpirationTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUrlExpirationTimeOrBuilder()
       The time when the download url will expire.
       
      .google.protobuf.Timestamp url_expiration_time = 2;
      Specified by:
      getUrlExpirationTimeOrBuilder in interface BillingReport.DownloadOrBuilder
    • 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.
    • getFileFormat

      public BillingReport.Download.FileFormat getFileFormat()
       The file format of the billing report
       
      .temporal.api.cloud.billing.v1.BillingReport.Download.FileFormat file_format = 3;
      Specified by:
      getFileFormat in interface BillingReport.DownloadOrBuilder
      Returns:
      The fileFormat.
    • setFileFormat

       The file format of the billing report
       
      .temporal.api.cloud.billing.v1.BillingReport.Download.FileFormat file_format = 3;
      Parameters:
      value - The 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>