Interface BillingSetupOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
BillingSetup, BillingSetup.Builder

public interface BillingSetupOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getResourceName

      String getResourceName()
       Immutable. The resource name of the billing setup.
       BillingSetup resource names have the form:
      
       `customers/{customer_id}/billingSetups/{billing_setup_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      The resourceName.
    • getResourceNameBytes

      com.google.protobuf.ByteString getResourceNameBytes()
       Immutable. The resource name of the billing setup.
       BillingSetup resource names have the form:
      
       `customers/{customer_id}/billingSetups/{billing_setup_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for resourceName.
    • hasId

      boolean hasId()
       Output only. The ID of the billing setup.
       
      optional int64 id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the id field is set.
    • getId

      long getId()
       Output only. The ID of the billing setup.
       
      optional int64 id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The id.
    • getStatusValue

      int getStatusValue()
       Output only. The status of the billing setup.
       
      .google.ads.googleads.v18.enums.BillingSetupStatusEnum.BillingSetupStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for status.
    • getStatus

       Output only. The status of the billing setup.
       
      .google.ads.googleads.v18.enums.BillingSetupStatusEnum.BillingSetupStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The status.
    • hasPaymentsAccount

      boolean hasPaymentsAccount()
       Immutable. The resource name of the payments account associated with this
       billing setup. Payments resource names have the form:
      
       `customers/{customer_id}/paymentsAccounts/{payments_account_id}`
       When setting up billing, this is used to signup with an existing payments
       account (and then payments_account_info should not be set).
       When getting a billing setup, this and payments_account_info will be
       populated.
       
      optional string payments_account = 18 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      Whether the paymentsAccount field is set.
    • getPaymentsAccount

      String getPaymentsAccount()
       Immutable. The resource name of the payments account associated with this
       billing setup. Payments resource names have the form:
      
       `customers/{customer_id}/paymentsAccounts/{payments_account_id}`
       When setting up billing, this is used to signup with an existing payments
       account (and then payments_account_info should not be set).
       When getting a billing setup, this and payments_account_info will be
       populated.
       
      optional string payments_account = 18 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      The paymentsAccount.
    • getPaymentsAccountBytes

      com.google.protobuf.ByteString getPaymentsAccountBytes()
       Immutable. The resource name of the payments account associated with this
       billing setup. Payments resource names have the form:
      
       `customers/{customer_id}/paymentsAccounts/{payments_account_id}`
       When setting up billing, this is used to signup with an existing payments
       account (and then payments_account_info should not be set).
       When getting a billing setup, this and payments_account_info will be
       populated.
       
      optional string payments_account = 18 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for paymentsAccount.
    • hasPaymentsAccountInfo

      boolean hasPaymentsAccountInfo()
       Immutable. The payments account information associated with this billing
       setup. When setting up billing, this is used to signup with a new payments
       account (and then payments_account should not be set). When getting a
       billing setup, this and payments_account will be populated.
       
      .google.ads.googleads.v18.resources.BillingSetup.PaymentsAccountInfo payments_account_info = 12 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      Whether the paymentsAccountInfo field is set.
    • getPaymentsAccountInfo

      BillingSetup.PaymentsAccountInfo getPaymentsAccountInfo()
       Immutable. The payments account information associated with this billing
       setup. When setting up billing, this is used to signup with a new payments
       account (and then payments_account should not be set). When getting a
       billing setup, this and payments_account will be populated.
       
      .google.ads.googleads.v18.resources.BillingSetup.PaymentsAccountInfo payments_account_info = 12 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The paymentsAccountInfo.
    • getPaymentsAccountInfoOrBuilder

      BillingSetup.PaymentsAccountInfoOrBuilder getPaymentsAccountInfoOrBuilder()
       Immutable. The payments account information associated with this billing
       setup. When setting up billing, this is used to signup with a new payments
       account (and then payments_account should not be set). When getting a
       billing setup, this and payments_account will be populated.
       
      .google.ads.googleads.v18.resources.BillingSetup.PaymentsAccountInfo payments_account_info = 12 [(.google.api.field_behavior) = IMMUTABLE];
    • hasStartDateTime

      boolean hasStartDateTime()
       Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss
       format. Only a future time is allowed.
       
      string start_date_time = 16 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      Whether the startDateTime field is set.
    • getStartDateTime

      String getStartDateTime()
       Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss
       format. Only a future time is allowed.
       
      string start_date_time = 16 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The startDateTime.
    • getStartDateTimeBytes

      com.google.protobuf.ByteString getStartDateTimeBytes()
       Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss
       format. Only a future time is allowed.
       
      string start_date_time = 16 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The bytes for startDateTime.
    • hasStartTimeType

      boolean hasStartTimeType()
       Immutable. The start time as a type. Only NOW is allowed.
       
      .google.ads.googleads.v18.enums.TimeTypeEnum.TimeType start_time_type = 10 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      Whether the startTimeType field is set.
    • getStartTimeTypeValue

      int getStartTimeTypeValue()
       Immutable. The start time as a type. Only NOW is allowed.
       
      .google.ads.googleads.v18.enums.TimeTypeEnum.TimeType start_time_type = 10 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The enum numeric value on the wire for startTimeType.
    • getStartTimeType

      TimeTypeEnum.TimeType getStartTimeType()
       Immutable. The start time as a type. Only NOW is allowed.
       
      .google.ads.googleads.v18.enums.TimeTypeEnum.TimeType start_time_type = 10 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The startTimeType.
    • hasEndDateTime

      boolean hasEndDateTime()
       Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss
       format.
       
      string end_date_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the endDateTime field is set.
    • getEndDateTime

      String getEndDateTime()
       Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss
       format.
       
      string end_date_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The endDateTime.
    • getEndDateTimeBytes

      com.google.protobuf.ByteString getEndDateTimeBytes()
       Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss
       format.
       
      string end_date_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for endDateTime.
    • hasEndTimeType

      boolean hasEndTimeType()
       Output only. The end time as a type.  The only possible value is FOREVER.
       
      .google.ads.googleads.v18.enums.TimeTypeEnum.TimeType end_time_type = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the endTimeType field is set.
    • getEndTimeTypeValue

      int getEndTimeTypeValue()
       Output only. The end time as a type.  The only possible value is FOREVER.
       
      .google.ads.googleads.v18.enums.TimeTypeEnum.TimeType end_time_type = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for endTimeType.
    • getEndTimeType

      TimeTypeEnum.TimeType getEndTimeType()
       Output only. The end time as a type.  The only possible value is FOREVER.
       
      .google.ads.googleads.v18.enums.TimeTypeEnum.TimeType end_time_type = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The endTimeType.
    • getStartTimeCase

      BillingSetup.StartTimeCase getStartTimeCase()
    • getEndTimeCase

      BillingSetup.EndTimeCase getEndTimeCase()