Class QueryEligibleBillingAccountsRequest.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<QueryEligibleBillingAccountsRequest.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<QueryEligibleBillingAccountsRequest.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public String getCustomer()
         Required. The resource name of the customer to list eligible billing
         accounts for. Format: accounts/{account_id}/customers/{customer_id}.
         
        string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getCustomer in interface QueryEligibleBillingAccountsRequestOrBuilder
        Returns:
        The customer.
      • getCustomerBytes

        public com.google.protobuf.ByteString getCustomerBytes()
         Required. The resource name of the customer to list eligible billing
         accounts for. Format: accounts/{account_id}/customers/{customer_id}.
         
        string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getCustomerBytes in interface QueryEligibleBillingAccountsRequestOrBuilder
        Returns:
        The bytes for customer.
      • setCustomer

        public QueryEligibleBillingAccountsRequest.Builder setCustomer​(String value)
         Required. The resource name of the customer to list eligible billing
         accounts for. Format: accounts/{account_id}/customers/{customer_id}.
         
        string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The customer to set.
        Returns:
        This builder for chaining.
      • clearCustomer

        public QueryEligibleBillingAccountsRequest.Builder clearCustomer()
         Required. The resource name of the customer to list eligible billing
         accounts for. Format: accounts/{account_id}/customers/{customer_id}.
         
        string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setCustomerBytes

        public QueryEligibleBillingAccountsRequest.Builder setCustomerBytes​(com.google.protobuf.ByteString value)
         Required. The resource name of the customer to list eligible billing
         accounts for. Format: accounts/{account_id}/customers/{customer_id}.
         
        string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for customer to set.
        Returns:
        This builder for chaining.
      • getSkusList

        public com.google.protobuf.ProtocolStringList getSkusList()
         Required. List of SKUs to list eligible billing accounts for. At least one
         SKU is required. Format: products/{product_id}/skus/{sku_id}.
         
        repeated string skus = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getSkusList in interface QueryEligibleBillingAccountsRequestOrBuilder
        Returns:
        A list containing the skus.
      • getSkusCount

        public int getSkusCount()
         Required. List of SKUs to list eligible billing accounts for. At least one
         SKU is required. Format: products/{product_id}/skus/{sku_id}.
         
        repeated string skus = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getSkusCount in interface QueryEligibleBillingAccountsRequestOrBuilder
        Returns:
        The count of skus.
      • getSkus

        public String getSkus​(int index)
         Required. List of SKUs to list eligible billing accounts for. At least one
         SKU is required. Format: products/{product_id}/skus/{sku_id}.
         
        repeated string skus = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getSkus in interface QueryEligibleBillingAccountsRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The skus at the given index.
      • getSkusBytes

        public com.google.protobuf.ByteString getSkusBytes​(int index)
         Required. List of SKUs to list eligible billing accounts for. At least one
         SKU is required. Format: products/{product_id}/skus/{sku_id}.
         
        repeated string skus = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getSkusBytes in interface QueryEligibleBillingAccountsRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the skus at the given index.
      • setSkus

        public QueryEligibleBillingAccountsRequest.Builder setSkus​(int index,
                                                                   String value)
         Required. List of SKUs to list eligible billing accounts for. At least one
         SKU is required. Format: products/{product_id}/skus/{sku_id}.
         
        repeated string skus = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        index - The index to set the value at.
        value - The skus to set.
        Returns:
        This builder for chaining.
      • addSkus

        public QueryEligibleBillingAccountsRequest.Builder addSkus​(String value)
         Required. List of SKUs to list eligible billing accounts for. At least one
         SKU is required. Format: products/{product_id}/skus/{sku_id}.
         
        repeated string skus = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The skus to add.
        Returns:
        This builder for chaining.
      • addAllSkus

        public QueryEligibleBillingAccountsRequest.Builder addAllSkus​(Iterable<String> values)
         Required. List of SKUs to list eligible billing accounts for. At least one
         SKU is required. Format: products/{product_id}/skus/{sku_id}.
         
        repeated string skus = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        values - The skus to add.
        Returns:
        This builder for chaining.
      • clearSkus

        public QueryEligibleBillingAccountsRequest.Builder clearSkus()
         Required. List of SKUs to list eligible billing accounts for. At least one
         SKU is required. Format: products/{product_id}/skus/{sku_id}.
         
        repeated string skus = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • addSkusBytes

        public QueryEligibleBillingAccountsRequest.Builder addSkusBytes​(com.google.protobuf.ByteString value)
         Required. List of SKUs to list eligible billing accounts for. At least one
         SKU is required. Format: products/{product_id}/skus/{sku_id}.
         
        repeated string skus = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes of the skus to add.
        Returns:
        This builder for chaining.