Class MutateAdGroupFeedsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<MutateAdGroupFeedsRequest.Builder>
-
- com.google.ads.googleads.v13.services.MutateAdGroupFeedsRequest.Builder
-
- All Implemented Interfaces:
MutateAdGroupFeedsRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- MutateAdGroupFeedsRequest
public static final class MutateAdGroupFeedsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MutateAdGroupFeedsRequest.Builder> implements MutateAdGroupFeedsRequestOrBuilder
Request message for [AdGroupFeedService.MutateAdGroupFeeds][google.ads.googleads.v13.services.AdGroupFeedService.MutateAdGroupFeeds].
Protobuf typegoogle.ads.googleads.v13.services.MutateAdGroupFeedsRequest
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<MutateAdGroupFeedsRequest.Builder>
-
clear
public MutateAdGroupFeedsRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<MutateAdGroupFeedsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<MutateAdGroupFeedsRequest.Builder>
-
getDefaultInstanceForType
public MutateAdGroupFeedsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public MutateAdGroupFeedsRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MutateAdGroupFeedsRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MutateAdGroupFeedsRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<MutateAdGroupFeedsRequest.Builder>
-
setField
public MutateAdGroupFeedsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MutateAdGroupFeedsRequest.Builder>
-
clearField
public MutateAdGroupFeedsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MutateAdGroupFeedsRequest.Builder>
-
clearOneof
public MutateAdGroupFeedsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<MutateAdGroupFeedsRequest.Builder>
-
setRepeatedField
public MutateAdGroupFeedsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MutateAdGroupFeedsRequest.Builder>
-
addRepeatedField
public MutateAdGroupFeedsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MutateAdGroupFeedsRequest.Builder>
-
mergeFrom
public MutateAdGroupFeedsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MutateAdGroupFeedsRequest.Builder>
-
mergeFrom
public MutateAdGroupFeedsRequest.Builder mergeFrom(MutateAdGroupFeedsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<MutateAdGroupFeedsRequest.Builder>
-
mergeFrom
public MutateAdGroupFeedsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MutateAdGroupFeedsRequest.Builder>
- Throws:
java.io.IOException
-
getCustomerId
public java.lang.String getCustomerId()
Required. The ID of the customer whose ad group feeds are being modified.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getCustomerId
in interfaceMutateAdGroupFeedsRequestOrBuilder
- Returns:
- The customerId.
-
getCustomerIdBytes
public com.google.protobuf.ByteString getCustomerIdBytes()
Required. The ID of the customer whose ad group feeds are being modified.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getCustomerIdBytes
in interfaceMutateAdGroupFeedsRequestOrBuilder
- Returns:
- The bytes for customerId.
-
setCustomerId
public MutateAdGroupFeedsRequest.Builder setCustomerId(java.lang.String value)
Required. The ID of the customer whose ad group feeds are being modified.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The customerId to set.- Returns:
- This builder for chaining.
-
clearCustomerId
public MutateAdGroupFeedsRequest.Builder clearCustomerId()
Required. The ID of the customer whose ad group feeds are being modified.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
setCustomerIdBytes
public MutateAdGroupFeedsRequest.Builder setCustomerIdBytes(com.google.protobuf.ByteString value)
Required. The ID of the customer whose ad group feeds are being modified.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes for customerId to set.- Returns:
- This builder for chaining.
-
getOperationsList
public java.util.List<AdGroupFeedOperation> getOperationsList()
Required. The list of operations to perform on individual ad group feeds.
repeated .google.ads.googleads.v13.services.AdGroupFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getOperationsList
in interfaceMutateAdGroupFeedsRequestOrBuilder
-
getOperationsCount
public int getOperationsCount()
Required. The list of operations to perform on individual ad group feeds.
repeated .google.ads.googleads.v13.services.AdGroupFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getOperationsCount
in interfaceMutateAdGroupFeedsRequestOrBuilder
-
getOperations
public AdGroupFeedOperation getOperations(int index)
Required. The list of operations to perform on individual ad group feeds.
repeated .google.ads.googleads.v13.services.AdGroupFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getOperations
in interfaceMutateAdGroupFeedsRequestOrBuilder
-
setOperations
public MutateAdGroupFeedsRequest.Builder setOperations(int index, AdGroupFeedOperation value)
Required. The list of operations to perform on individual ad group feeds.
repeated .google.ads.googleads.v13.services.AdGroupFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
setOperations
public MutateAdGroupFeedsRequest.Builder setOperations(int index, AdGroupFeedOperation.Builder builderForValue)
Required. The list of operations to perform on individual ad group feeds.
repeated .google.ads.googleads.v13.services.AdGroupFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
addOperations
public MutateAdGroupFeedsRequest.Builder addOperations(AdGroupFeedOperation value)
Required. The list of operations to perform on individual ad group feeds.
repeated .google.ads.googleads.v13.services.AdGroupFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
addOperations
public MutateAdGroupFeedsRequest.Builder addOperations(int index, AdGroupFeedOperation value)
Required. The list of operations to perform on individual ad group feeds.
repeated .google.ads.googleads.v13.services.AdGroupFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
addOperations
public MutateAdGroupFeedsRequest.Builder addOperations(AdGroupFeedOperation.Builder builderForValue)
Required. The list of operations to perform on individual ad group feeds.
repeated .google.ads.googleads.v13.services.AdGroupFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
addOperations
public MutateAdGroupFeedsRequest.Builder addOperations(int index, AdGroupFeedOperation.Builder builderForValue)
Required. The list of operations to perform on individual ad group feeds.
repeated .google.ads.googleads.v13.services.AdGroupFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
addAllOperations
public MutateAdGroupFeedsRequest.Builder addAllOperations(java.lang.Iterable<? extends AdGroupFeedOperation> values)
Required. The list of operations to perform on individual ad group feeds.
repeated .google.ads.googleads.v13.services.AdGroupFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
clearOperations
public MutateAdGroupFeedsRequest.Builder clearOperations()
Required. The list of operations to perform on individual ad group feeds.
repeated .google.ads.googleads.v13.services.AdGroupFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
removeOperations
public MutateAdGroupFeedsRequest.Builder removeOperations(int index)
Required. The list of operations to perform on individual ad group feeds.
repeated .google.ads.googleads.v13.services.AdGroupFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
getOperationsBuilder
public AdGroupFeedOperation.Builder getOperationsBuilder(int index)
Required. The list of operations to perform on individual ad group feeds.
repeated .google.ads.googleads.v13.services.AdGroupFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
getOperationsOrBuilder
public AdGroupFeedOperationOrBuilder getOperationsOrBuilder(int index)
Required. The list of operations to perform on individual ad group feeds.
repeated .google.ads.googleads.v13.services.AdGroupFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getOperationsOrBuilder
in interfaceMutateAdGroupFeedsRequestOrBuilder
-
getOperationsOrBuilderList
public java.util.List<? extends AdGroupFeedOperationOrBuilder> getOperationsOrBuilderList()
Required. The list of operations to perform on individual ad group feeds.
repeated .google.ads.googleads.v13.services.AdGroupFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getOperationsOrBuilderList
in interfaceMutateAdGroupFeedsRequestOrBuilder
-
addOperationsBuilder
public AdGroupFeedOperation.Builder addOperationsBuilder()
Required. The list of operations to perform on individual ad group feeds.
repeated .google.ads.googleads.v13.services.AdGroupFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
addOperationsBuilder
public AdGroupFeedOperation.Builder addOperationsBuilder(int index)
Required. The list of operations to perform on individual ad group feeds.
repeated .google.ads.googleads.v13.services.AdGroupFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
getOperationsBuilderList
public java.util.List<AdGroupFeedOperation.Builder> getOperationsBuilderList()
Required. The list of operations to perform on individual ad group feeds.
repeated .google.ads.googleads.v13.services.AdGroupFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
getPartialFailure
public boolean getPartialFailure()
If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. Default is false.
bool partial_failure = 3;
- Specified by:
getPartialFailure
in interfaceMutateAdGroupFeedsRequestOrBuilder
- Returns:
- The partialFailure.
-
setPartialFailure
public MutateAdGroupFeedsRequest.Builder setPartialFailure(boolean value)
If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. Default is false.
bool partial_failure = 3;
- Parameters:
value
- The partialFailure to set.- Returns:
- This builder for chaining.
-
clearPartialFailure
public MutateAdGroupFeedsRequest.Builder clearPartialFailure()
If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. Default is false.
bool partial_failure = 3;
- Returns:
- This builder for chaining.
-
getValidateOnly
public boolean getValidateOnly()
If true, the request is validated but not executed. Only errors are returned, not results.
bool validate_only = 4;
- Specified by:
getValidateOnly
in interfaceMutateAdGroupFeedsRequestOrBuilder
- Returns:
- The validateOnly.
-
setValidateOnly
public MutateAdGroupFeedsRequest.Builder setValidateOnly(boolean value)
If true, the request is validated but not executed. Only errors are returned, not results.
bool validate_only = 4;
- Parameters:
value
- The validateOnly to set.- Returns:
- This builder for chaining.
-
clearValidateOnly
public MutateAdGroupFeedsRequest.Builder clearValidateOnly()
If true, the request is validated but not executed. Only errors are returned, not results.
bool validate_only = 4;
- Returns:
- This builder for chaining.
-
getResponseContentTypeValue
public int getResponseContentTypeValue()
The response content type setting. Determines whether the mutable resource or just the resource name should be returned post mutation.
.google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5;
- Specified by:
getResponseContentTypeValue
in interfaceMutateAdGroupFeedsRequestOrBuilder
- Returns:
- The enum numeric value on the wire for responseContentType.
-
setResponseContentTypeValue
public MutateAdGroupFeedsRequest.Builder setResponseContentTypeValue(int value)
The response content type setting. Determines whether the mutable resource or just the resource name should be returned post mutation.
.google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5;
- Parameters:
value
- The enum numeric value on the wire for responseContentType to set.- Returns:
- This builder for chaining.
-
getResponseContentType
public ResponseContentTypeEnum.ResponseContentType getResponseContentType()
The response content type setting. Determines whether the mutable resource or just the resource name should be returned post mutation.
.google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5;
- Specified by:
getResponseContentType
in interfaceMutateAdGroupFeedsRequestOrBuilder
- Returns:
- The responseContentType.
-
setResponseContentType
public MutateAdGroupFeedsRequest.Builder setResponseContentType(ResponseContentTypeEnum.ResponseContentType value)
The response content type setting. Determines whether the mutable resource or just the resource name should be returned post mutation.
.google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5;
- Parameters:
value
- The responseContentType to set.- Returns:
- This builder for chaining.
-
clearResponseContentType
public MutateAdGroupFeedsRequest.Builder clearResponseContentType()
The response content type setting. Determines whether the mutable resource or just the resource name should be returned post mutation.
.google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final MutateAdGroupFeedsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MutateAdGroupFeedsRequest.Builder>
-
mergeUnknownFields
public final MutateAdGroupFeedsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MutateAdGroupFeedsRequest.Builder>
-
-