Interface ChangeOfferRequestOrBuilder

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

    public interface ChangeOfferRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         Required. The resource name of the entitlement to update.
         Name uses the format:
         accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Required. The resource name of the entitlement to update.
         Name uses the format:
         accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for name.
      • getOffer

        String getOffer()
         Required. New Offer.
         Format: accounts/{account_id}/offers/{offer_id}.
         
        string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The offer.
      • getOfferBytes

        com.google.protobuf.ByteString getOfferBytes()
         Required. New Offer.
         Format: accounts/{account_id}/offers/{offer_id}.
         
        string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for offer.
      • getParametersList

        List<Parameter> getParametersList()
         Optional. Parameters needed to purchase the Offer. To view the available
         Parameters refer to the
         [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
         from the desired offer.
         
        repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
      • getParameters

        Parameter getParameters​(int index)
         Optional. Parameters needed to purchase the Offer. To view the available
         Parameters refer to the
         [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
         from the desired offer.
         
        repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
      • getParametersCount

        int getParametersCount()
         Optional. Parameters needed to purchase the Offer. To view the available
         Parameters refer to the
         [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
         from the desired offer.
         
        repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
      • getParametersOrBuilderList

        List<? extends ParameterOrBuilder> getParametersOrBuilderList()
         Optional. Parameters needed to purchase the Offer. To view the available
         Parameters refer to the
         [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
         from the desired offer.
         
        repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
      • getParametersOrBuilder

        ParameterOrBuilder getParametersOrBuilder​(int index)
         Optional. Parameters needed to purchase the Offer. To view the available
         Parameters refer to the
         [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
         from the desired offer.
         
        repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
      • getPurchaseOrderId

        String getPurchaseOrderId()
         Optional. Purchase order id provided by the reseller.
         
        string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The purchaseOrderId.
      • getPurchaseOrderIdBytes

        com.google.protobuf.ByteString getPurchaseOrderIdBytes()
         Optional. Purchase order id provided by the reseller.
         
        string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for purchaseOrderId.
      • getRequestId

        String getRequestId()
         Optional. You can specify an optional unique request ID, and if you need to
         retry your request, the server will know to ignore the request if it's
         complete.
        
         For example, you make an initial request and the request times out. If you
         make the request again with the same request ID, the server can check if
         it received the original operation with the same request ID. If it did, it
         will ignore the second request.
        
         The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122)
         with the exception that zero UUID is not supported
         (`00000000-0000-0000-0000-000000000000`).
         
        string request_id = 6 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The requestId.
      • getRequestIdBytes

        com.google.protobuf.ByteString getRequestIdBytes()
         Optional. You can specify an optional unique request ID, and if you need to
         retry your request, the server will know to ignore the request if it's
         complete.
        
         For example, you make an initial request and the request times out. If you
         make the request again with the same request ID, the server can check if
         it received the original operation with the same request ID. If it did, it
         will ignore the second request.
        
         The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122)
         with the exception that zero UUID is not supported
         (`00000000-0000-0000-0000-000000000000`).
         
        string request_id = 6 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for requestId.
      • getBillingAccount

        String getBillingAccount()
         Optional. The billing account resource name that is used to pay for this
         entitlement when setting up billing on a trial subscription.
        
         This field is only relevant for multi-currency accounts. It should be
         left empty for single currency accounts.
         
        string billing_account = 7 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The billingAccount.
      • getBillingAccountBytes

        com.google.protobuf.ByteString getBillingAccountBytes()
         Optional. The billing account resource name that is used to pay for this
         entitlement when setting up billing on a trial subscription.
        
         This field is only relevant for multi-currency accounts. It should be
         left empty for single currency accounts.
         
        string billing_account = 7 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for billingAccount.