Class MutateBiddingSeasonalityAdjustmentsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<MutateBiddingSeasonalityAdjustmentsRequest.Builder>
-
- com.google.ads.googleads.v10.services.MutateBiddingSeasonalityAdjustmentsRequest.Builder
-
- All Implemented Interfaces:
MutateBiddingSeasonalityAdjustmentsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- MutateBiddingSeasonalityAdjustmentsRequest
public static final class MutateBiddingSeasonalityAdjustmentsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MutateBiddingSeasonalityAdjustmentsRequest.Builder> implements MutateBiddingSeasonalityAdjustmentsRequestOrBuilder
Request message for [BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments][google.ads.googleads.v10.services.BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments].
Protobuf typegoogle.ads.googleads.v10.services.MutateBiddingSeasonalityAdjustmentsRequest
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<MutateBiddingSeasonalityAdjustmentsRequest.Builder>
-
clear
public MutateBiddingSeasonalityAdjustmentsRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<MutateBiddingSeasonalityAdjustmentsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<MutateBiddingSeasonalityAdjustmentsRequest.Builder>
-
getDefaultInstanceForType
public MutateBiddingSeasonalityAdjustmentsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public MutateBiddingSeasonalityAdjustmentsRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MutateBiddingSeasonalityAdjustmentsRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MutateBiddingSeasonalityAdjustmentsRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<MutateBiddingSeasonalityAdjustmentsRequest.Builder>
-
setField
public MutateBiddingSeasonalityAdjustmentsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MutateBiddingSeasonalityAdjustmentsRequest.Builder>
-
clearField
public MutateBiddingSeasonalityAdjustmentsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MutateBiddingSeasonalityAdjustmentsRequest.Builder>
-
clearOneof
public MutateBiddingSeasonalityAdjustmentsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<MutateBiddingSeasonalityAdjustmentsRequest.Builder>
-
setRepeatedField
public MutateBiddingSeasonalityAdjustmentsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MutateBiddingSeasonalityAdjustmentsRequest.Builder>
-
addRepeatedField
public MutateBiddingSeasonalityAdjustmentsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MutateBiddingSeasonalityAdjustmentsRequest.Builder>
-
mergeFrom
public MutateBiddingSeasonalityAdjustmentsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MutateBiddingSeasonalityAdjustmentsRequest.Builder>
-
mergeFrom
public MutateBiddingSeasonalityAdjustmentsRequest.Builder mergeFrom(MutateBiddingSeasonalityAdjustmentsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<MutateBiddingSeasonalityAdjustmentsRequest.Builder>
-
mergeFrom
public MutateBiddingSeasonalityAdjustmentsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MutateBiddingSeasonalityAdjustmentsRequest.Builder>- Throws:
java.io.IOException
-
getCustomerId
public java.lang.String getCustomerId()
Required. ID of the customer whose seasonality adjustments are being modified.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCustomerIdin interfaceMutateBiddingSeasonalityAdjustmentsRequestOrBuilder- Returns:
- The customerId.
-
getCustomerIdBytes
public com.google.protobuf.ByteString getCustomerIdBytes()
Required. ID of the customer whose seasonality adjustments are being modified.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCustomerIdBytesin interfaceMutateBiddingSeasonalityAdjustmentsRequestOrBuilder- Returns:
- The bytes for customerId.
-
setCustomerId
public MutateBiddingSeasonalityAdjustmentsRequest.Builder setCustomerId(java.lang.String value)
Required. ID of the customer whose seasonality adjustments 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 MutateBiddingSeasonalityAdjustmentsRequest.Builder clearCustomerId()
Required. ID of the customer whose seasonality adjustments are being modified.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setCustomerIdBytes
public MutateBiddingSeasonalityAdjustmentsRequest.Builder setCustomerIdBytes(com.google.protobuf.ByteString value)
Required. ID of the customer whose seasonality adjustments 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<BiddingSeasonalityAdjustmentOperation> getOperationsList()
Required. The list of operations to perform on individual seasonality adjustments.
repeated .google.ads.googleads.v10.services.BiddingSeasonalityAdjustmentOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOperationsListin interfaceMutateBiddingSeasonalityAdjustmentsRequestOrBuilder
-
getOperationsCount
public int getOperationsCount()
Required. The list of operations to perform on individual seasonality adjustments.
repeated .google.ads.googleads.v10.services.BiddingSeasonalityAdjustmentOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOperationsCountin interfaceMutateBiddingSeasonalityAdjustmentsRequestOrBuilder
-
getOperations
public BiddingSeasonalityAdjustmentOperation getOperations(int index)
Required. The list of operations to perform on individual seasonality adjustments.
repeated .google.ads.googleads.v10.services.BiddingSeasonalityAdjustmentOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOperationsin interfaceMutateBiddingSeasonalityAdjustmentsRequestOrBuilder
-
setOperations
public MutateBiddingSeasonalityAdjustmentsRequest.Builder setOperations(int index, BiddingSeasonalityAdjustmentOperation value)
Required. The list of operations to perform on individual seasonality adjustments.
repeated .google.ads.googleads.v10.services.BiddingSeasonalityAdjustmentOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
setOperations
public MutateBiddingSeasonalityAdjustmentsRequest.Builder setOperations(int index, BiddingSeasonalityAdjustmentOperation.Builder builderForValue)
Required. The list of operations to perform on individual seasonality adjustments.
repeated .google.ads.googleads.v10.services.BiddingSeasonalityAdjustmentOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
addOperations
public MutateBiddingSeasonalityAdjustmentsRequest.Builder addOperations(BiddingSeasonalityAdjustmentOperation value)
Required. The list of operations to perform on individual seasonality adjustments.
repeated .google.ads.googleads.v10.services.BiddingSeasonalityAdjustmentOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
addOperations
public MutateBiddingSeasonalityAdjustmentsRequest.Builder addOperations(int index, BiddingSeasonalityAdjustmentOperation value)
Required. The list of operations to perform on individual seasonality adjustments.
repeated .google.ads.googleads.v10.services.BiddingSeasonalityAdjustmentOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
addOperations
public MutateBiddingSeasonalityAdjustmentsRequest.Builder addOperations(BiddingSeasonalityAdjustmentOperation.Builder builderForValue)
Required. The list of operations to perform on individual seasonality adjustments.
repeated .google.ads.googleads.v10.services.BiddingSeasonalityAdjustmentOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
addOperations
public MutateBiddingSeasonalityAdjustmentsRequest.Builder addOperations(int index, BiddingSeasonalityAdjustmentOperation.Builder builderForValue)
Required. The list of operations to perform on individual seasonality adjustments.
repeated .google.ads.googleads.v10.services.BiddingSeasonalityAdjustmentOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
addAllOperations
public MutateBiddingSeasonalityAdjustmentsRequest.Builder addAllOperations(java.lang.Iterable<? extends BiddingSeasonalityAdjustmentOperation> values)
Required. The list of operations to perform on individual seasonality adjustments.
repeated .google.ads.googleads.v10.services.BiddingSeasonalityAdjustmentOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
clearOperations
public MutateBiddingSeasonalityAdjustmentsRequest.Builder clearOperations()
Required. The list of operations to perform on individual seasonality adjustments.
repeated .google.ads.googleads.v10.services.BiddingSeasonalityAdjustmentOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
removeOperations
public MutateBiddingSeasonalityAdjustmentsRequest.Builder removeOperations(int index)
Required. The list of operations to perform on individual seasonality adjustments.
repeated .google.ads.googleads.v10.services.BiddingSeasonalityAdjustmentOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
getOperationsBuilder
public BiddingSeasonalityAdjustmentOperation.Builder getOperationsBuilder(int index)
Required. The list of operations to perform on individual seasonality adjustments.
repeated .google.ads.googleads.v10.services.BiddingSeasonalityAdjustmentOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
getOperationsOrBuilder
public BiddingSeasonalityAdjustmentOperationOrBuilder getOperationsOrBuilder(int index)
Required. The list of operations to perform on individual seasonality adjustments.
repeated .google.ads.googleads.v10.services.BiddingSeasonalityAdjustmentOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOperationsOrBuilderin interfaceMutateBiddingSeasonalityAdjustmentsRequestOrBuilder
-
getOperationsOrBuilderList
public java.util.List<? extends BiddingSeasonalityAdjustmentOperationOrBuilder> getOperationsOrBuilderList()
Required. The list of operations to perform on individual seasonality adjustments.
repeated .google.ads.googleads.v10.services.BiddingSeasonalityAdjustmentOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOperationsOrBuilderListin interfaceMutateBiddingSeasonalityAdjustmentsRequestOrBuilder
-
addOperationsBuilder
public BiddingSeasonalityAdjustmentOperation.Builder addOperationsBuilder()
Required. The list of operations to perform on individual seasonality adjustments.
repeated .google.ads.googleads.v10.services.BiddingSeasonalityAdjustmentOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
addOperationsBuilder
public BiddingSeasonalityAdjustmentOperation.Builder addOperationsBuilder(int index)
Required. The list of operations to perform on individual seasonality adjustments.
repeated .google.ads.googleads.v10.services.BiddingSeasonalityAdjustmentOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
getOperationsBuilderList
public java.util.List<BiddingSeasonalityAdjustmentOperation.Builder> getOperationsBuilderList()
Required. The list of operations to perform on individual seasonality adjustments.
repeated .google.ads.googleads.v10.services.BiddingSeasonalityAdjustmentOperation 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:
getPartialFailurein interfaceMutateBiddingSeasonalityAdjustmentsRequestOrBuilder- Returns:
- The partialFailure.
-
setPartialFailure
public MutateBiddingSeasonalityAdjustmentsRequest.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 MutateBiddingSeasonalityAdjustmentsRequest.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:
getValidateOnlyin interfaceMutateBiddingSeasonalityAdjustmentsRequestOrBuilder- Returns:
- The validateOnly.
-
setValidateOnly
public MutateBiddingSeasonalityAdjustmentsRequest.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 MutateBiddingSeasonalityAdjustmentsRequest.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.v10.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5;- Specified by:
getResponseContentTypeValuein interfaceMutateBiddingSeasonalityAdjustmentsRequestOrBuilder- Returns:
- The enum numeric value on the wire for responseContentType.
-
setResponseContentTypeValue
public MutateBiddingSeasonalityAdjustmentsRequest.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.v10.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.v10.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5;- Specified by:
getResponseContentTypein interfaceMutateBiddingSeasonalityAdjustmentsRequestOrBuilder- Returns:
- The responseContentType.
-
setResponseContentType
public MutateBiddingSeasonalityAdjustmentsRequest.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.v10.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5;- Parameters:
value- The responseContentType to set.- Returns:
- This builder for chaining.
-
clearResponseContentType
public MutateBiddingSeasonalityAdjustmentsRequest.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.v10.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5;- Returns:
- This builder for chaining.
-
setUnknownFields
public final MutateBiddingSeasonalityAdjustmentsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MutateBiddingSeasonalityAdjustmentsRequest.Builder>
-
mergeUnknownFields
public final MutateBiddingSeasonalityAdjustmentsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MutateBiddingSeasonalityAdjustmentsRequest.Builder>
-
-