Interface ApplyRecommendationRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ApplyRecommendationRequest,ApplyRecommendationRequest.Builder
public interface ApplyRecommendationRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCustomerId()Required.com.google.protobuf.ByteStringgetCustomerIdBytes()Required.ApplyRecommendationOperationgetOperations(int index)Required.intgetOperationsCount()Required.java.util.List<ApplyRecommendationOperation>getOperationsList()Required.ApplyRecommendationOperationOrBuildergetOperationsOrBuilder(int index)Required.java.util.List<? extends ApplyRecommendationOperationOrBuilder>getOperationsOrBuilderList()Required.booleangetPartialFailure()If true, successful operations will be carried out and invalid operations will return errors.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCustomerId
java.lang.String getCustomerId()
Required. The ID of the customer with the recommendation.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The customerId.
-
getCustomerIdBytes
com.google.protobuf.ByteString getCustomerIdBytes()
Required. The ID of the customer with the recommendation.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for customerId.
-
getOperationsList
java.util.List<ApplyRecommendationOperation> getOperationsList()
Required. The list of operations to apply recommendations. If partial_failure=false all recommendations should be of the same type There is a limit of 100 operations per request.
repeated .google.ads.googleads.v10.services.ApplyRecommendationOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
getOperations
ApplyRecommendationOperation getOperations(int index)
Required. The list of operations to apply recommendations. If partial_failure=false all recommendations should be of the same type There is a limit of 100 operations per request.
repeated .google.ads.googleads.v10.services.ApplyRecommendationOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
getOperationsCount
int getOperationsCount()
Required. The list of operations to apply recommendations. If partial_failure=false all recommendations should be of the same type There is a limit of 100 operations per request.
repeated .google.ads.googleads.v10.services.ApplyRecommendationOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
getOperationsOrBuilderList
java.util.List<? extends ApplyRecommendationOperationOrBuilder> getOperationsOrBuilderList()
Required. The list of operations to apply recommendations. If partial_failure=false all recommendations should be of the same type There is a limit of 100 operations per request.
repeated .google.ads.googleads.v10.services.ApplyRecommendationOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
getOperationsOrBuilder
ApplyRecommendationOperationOrBuilder getOperationsOrBuilder(int index)
Required. The list of operations to apply recommendations. If partial_failure=false all recommendations should be of the same type There is a limit of 100 operations per request.
repeated .google.ads.googleads.v10.services.ApplyRecommendationOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
getPartialFailure
boolean getPartialFailure()
If true, successful operations will be carried out and invalid operations will return errors. If false, operations will be carried out as a transaction if and only if they are all valid. Default is false.
bool partial_failure = 3;- Returns:
- The partialFailure.
-
-