Class ConversionValueRule.ValueRuleGeoLocationCondition.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRule.ValueRuleGeoLocationCondition.Builder>
-
- com.google.ads.googleads.v10.resources.ConversionValueRule.ValueRuleGeoLocationCondition.Builder
-
- All Implemented Interfaces:
ConversionValueRule.ValueRuleGeoLocationConditionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- ConversionValueRule.ValueRuleGeoLocationCondition
public static final class ConversionValueRule.ValueRuleGeoLocationCondition.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRule.ValueRuleGeoLocationCondition.Builder> implements ConversionValueRule.ValueRuleGeoLocationConditionOrBuilder
Condition on Geo dimension.
Protobuf typegoogle.ads.googleads.v10.resources.ConversionValueRule.ValueRuleGeoLocationCondition
-
-
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<ConversionValueRule.ValueRuleGeoLocationCondition.Builder>
-
clear
public ConversionValueRule.ValueRuleGeoLocationCondition.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<ConversionValueRule.ValueRuleGeoLocationCondition.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<ConversionValueRule.ValueRuleGeoLocationCondition.Builder>
-
getDefaultInstanceForType
public ConversionValueRule.ValueRuleGeoLocationCondition getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ConversionValueRule.ValueRuleGeoLocationCondition build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ConversionValueRule.ValueRuleGeoLocationCondition buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ConversionValueRule.ValueRuleGeoLocationCondition.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<ConversionValueRule.ValueRuleGeoLocationCondition.Builder>
-
setField
public ConversionValueRule.ValueRuleGeoLocationCondition.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<ConversionValueRule.ValueRuleGeoLocationCondition.Builder>
-
clearField
public ConversionValueRule.ValueRuleGeoLocationCondition.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRule.ValueRuleGeoLocationCondition.Builder>
-
clearOneof
public ConversionValueRule.ValueRuleGeoLocationCondition.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRule.ValueRuleGeoLocationCondition.Builder>
-
setRepeatedField
public ConversionValueRule.ValueRuleGeoLocationCondition.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<ConversionValueRule.ValueRuleGeoLocationCondition.Builder>
-
addRepeatedField
public ConversionValueRule.ValueRuleGeoLocationCondition.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<ConversionValueRule.ValueRuleGeoLocationCondition.Builder>
-
mergeFrom
public ConversionValueRule.ValueRuleGeoLocationCondition.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConversionValueRule.ValueRuleGeoLocationCondition.Builder>
-
mergeFrom
public ConversionValueRule.ValueRuleGeoLocationCondition.Builder mergeFrom(ConversionValueRule.ValueRuleGeoLocationCondition other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRule.ValueRuleGeoLocationCondition.Builder>
-
mergeFrom
public ConversionValueRule.ValueRuleGeoLocationCondition.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<ConversionValueRule.ValueRuleGeoLocationCondition.Builder>- Throws:
java.io.IOException
-
getExcludedGeoTargetConstantsList
public com.google.protobuf.ProtocolStringList getExcludedGeoTargetConstantsList()
Geo locations that advertisers want to exclude.
repeated string excluded_geo_target_constants = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getExcludedGeoTargetConstantsListin interfaceConversionValueRule.ValueRuleGeoLocationConditionOrBuilder- Returns:
- A list containing the excludedGeoTargetConstants.
-
getExcludedGeoTargetConstantsCount
public int getExcludedGeoTargetConstantsCount()
Geo locations that advertisers want to exclude.
repeated string excluded_geo_target_constants = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getExcludedGeoTargetConstantsCountin interfaceConversionValueRule.ValueRuleGeoLocationConditionOrBuilder- Returns:
- The count of excludedGeoTargetConstants.
-
getExcludedGeoTargetConstants
public java.lang.String getExcludedGeoTargetConstants(int index)
Geo locations that advertisers want to exclude.
repeated string excluded_geo_target_constants = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getExcludedGeoTargetConstantsin interfaceConversionValueRule.ValueRuleGeoLocationConditionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The excludedGeoTargetConstants at the given index.
-
getExcludedGeoTargetConstantsBytes
public com.google.protobuf.ByteString getExcludedGeoTargetConstantsBytes(int index)
Geo locations that advertisers want to exclude.
repeated string excluded_geo_target_constants = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getExcludedGeoTargetConstantsBytesin interfaceConversionValueRule.ValueRuleGeoLocationConditionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the excludedGeoTargetConstants at the given index.
-
setExcludedGeoTargetConstants
public ConversionValueRule.ValueRuleGeoLocationCondition.Builder setExcludedGeoTargetConstants(int index, java.lang.String value)
Geo locations that advertisers want to exclude.
repeated string excluded_geo_target_constants = 1 [(.google.api.resource_reference) = { ... }- Parameters:
index- The index to set the value at.value- The excludedGeoTargetConstants to set.- Returns:
- This builder for chaining.
-
addExcludedGeoTargetConstants
public ConversionValueRule.ValueRuleGeoLocationCondition.Builder addExcludedGeoTargetConstants(java.lang.String value)
Geo locations that advertisers want to exclude.
repeated string excluded_geo_target_constants = 1 [(.google.api.resource_reference) = { ... }- Parameters:
value- The excludedGeoTargetConstants to add.- Returns:
- This builder for chaining.
-
addAllExcludedGeoTargetConstants
public ConversionValueRule.ValueRuleGeoLocationCondition.Builder addAllExcludedGeoTargetConstants(java.lang.Iterable<java.lang.String> values)
Geo locations that advertisers want to exclude.
repeated string excluded_geo_target_constants = 1 [(.google.api.resource_reference) = { ... }- Parameters:
values- The excludedGeoTargetConstants to add.- Returns:
- This builder for chaining.
-
clearExcludedGeoTargetConstants
public ConversionValueRule.ValueRuleGeoLocationCondition.Builder clearExcludedGeoTargetConstants()
Geo locations that advertisers want to exclude.
repeated string excluded_geo_target_constants = 1 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
addExcludedGeoTargetConstantsBytes
public ConversionValueRule.ValueRuleGeoLocationCondition.Builder addExcludedGeoTargetConstantsBytes(com.google.protobuf.ByteString value)
Geo locations that advertisers want to exclude.
repeated string excluded_geo_target_constants = 1 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes of the excludedGeoTargetConstants to add.- Returns:
- This builder for chaining.
-
getExcludedGeoMatchTypeValue
public int getExcludedGeoMatchTypeValue()
Excluded Geo location match type.
.google.ads.googleads.v10.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType excluded_geo_match_type = 2;- Specified by:
getExcludedGeoMatchTypeValuein interfaceConversionValueRule.ValueRuleGeoLocationConditionOrBuilder- Returns:
- The enum numeric value on the wire for excludedGeoMatchType.
-
setExcludedGeoMatchTypeValue
public ConversionValueRule.ValueRuleGeoLocationCondition.Builder setExcludedGeoMatchTypeValue(int value)
Excluded Geo location match type.
.google.ads.googleads.v10.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType excluded_geo_match_type = 2;- Parameters:
value- The enum numeric value on the wire for excludedGeoMatchType to set.- Returns:
- This builder for chaining.
-
getExcludedGeoMatchType
public ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType getExcludedGeoMatchType()
Excluded Geo location match type.
.google.ads.googleads.v10.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType excluded_geo_match_type = 2;- Specified by:
getExcludedGeoMatchTypein interfaceConversionValueRule.ValueRuleGeoLocationConditionOrBuilder- Returns:
- The excludedGeoMatchType.
-
setExcludedGeoMatchType
public ConversionValueRule.ValueRuleGeoLocationCondition.Builder setExcludedGeoMatchType(ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType value)
Excluded Geo location match type.
.google.ads.googleads.v10.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType excluded_geo_match_type = 2;- Parameters:
value- The excludedGeoMatchType to set.- Returns:
- This builder for chaining.
-
clearExcludedGeoMatchType
public ConversionValueRule.ValueRuleGeoLocationCondition.Builder clearExcludedGeoMatchType()
Excluded Geo location match type.
.google.ads.googleads.v10.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType excluded_geo_match_type = 2;- Returns:
- This builder for chaining.
-
getGeoTargetConstantsList
public com.google.protobuf.ProtocolStringList getGeoTargetConstantsList()
Geo locations that advertisers want to include.
repeated string geo_target_constants = 3 [(.google.api.resource_reference) = { ... }- Specified by:
getGeoTargetConstantsListin interfaceConversionValueRule.ValueRuleGeoLocationConditionOrBuilder- Returns:
- A list containing the geoTargetConstants.
-
getGeoTargetConstantsCount
public int getGeoTargetConstantsCount()
Geo locations that advertisers want to include.
repeated string geo_target_constants = 3 [(.google.api.resource_reference) = { ... }- Specified by:
getGeoTargetConstantsCountin interfaceConversionValueRule.ValueRuleGeoLocationConditionOrBuilder- Returns:
- The count of geoTargetConstants.
-
getGeoTargetConstants
public java.lang.String getGeoTargetConstants(int index)
Geo locations that advertisers want to include.
repeated string geo_target_constants = 3 [(.google.api.resource_reference) = { ... }- Specified by:
getGeoTargetConstantsin interfaceConversionValueRule.ValueRuleGeoLocationConditionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The geoTargetConstants at the given index.
-
getGeoTargetConstantsBytes
public com.google.protobuf.ByteString getGeoTargetConstantsBytes(int index)
Geo locations that advertisers want to include.
repeated string geo_target_constants = 3 [(.google.api.resource_reference) = { ... }- Specified by:
getGeoTargetConstantsBytesin interfaceConversionValueRule.ValueRuleGeoLocationConditionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the geoTargetConstants at the given index.
-
setGeoTargetConstants
public ConversionValueRule.ValueRuleGeoLocationCondition.Builder setGeoTargetConstants(int index, java.lang.String value)
Geo locations that advertisers want to include.
repeated string geo_target_constants = 3 [(.google.api.resource_reference) = { ... }- Parameters:
index- The index to set the value at.value- The geoTargetConstants to set.- Returns:
- This builder for chaining.
-
addGeoTargetConstants
public ConversionValueRule.ValueRuleGeoLocationCondition.Builder addGeoTargetConstants(java.lang.String value)
Geo locations that advertisers want to include.
repeated string geo_target_constants = 3 [(.google.api.resource_reference) = { ... }- Parameters:
value- The geoTargetConstants to add.- Returns:
- This builder for chaining.
-
addAllGeoTargetConstants
public ConversionValueRule.ValueRuleGeoLocationCondition.Builder addAllGeoTargetConstants(java.lang.Iterable<java.lang.String> values)
Geo locations that advertisers want to include.
repeated string geo_target_constants = 3 [(.google.api.resource_reference) = { ... }- Parameters:
values- The geoTargetConstants to add.- Returns:
- This builder for chaining.
-
clearGeoTargetConstants
public ConversionValueRule.ValueRuleGeoLocationCondition.Builder clearGeoTargetConstants()
Geo locations that advertisers want to include.
repeated string geo_target_constants = 3 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
addGeoTargetConstantsBytes
public ConversionValueRule.ValueRuleGeoLocationCondition.Builder addGeoTargetConstantsBytes(com.google.protobuf.ByteString value)
Geo locations that advertisers want to include.
repeated string geo_target_constants = 3 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes of the geoTargetConstants to add.- Returns:
- This builder for chaining.
-
getGeoMatchTypeValue
public int getGeoMatchTypeValue()
Included Geo location match type.
.google.ads.googleads.v10.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType geo_match_type = 4;- Specified by:
getGeoMatchTypeValuein interfaceConversionValueRule.ValueRuleGeoLocationConditionOrBuilder- Returns:
- The enum numeric value on the wire for geoMatchType.
-
setGeoMatchTypeValue
public ConversionValueRule.ValueRuleGeoLocationCondition.Builder setGeoMatchTypeValue(int value)
Included Geo location match type.
.google.ads.googleads.v10.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType geo_match_type = 4;- Parameters:
value- The enum numeric value on the wire for geoMatchType to set.- Returns:
- This builder for chaining.
-
getGeoMatchType
public ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType getGeoMatchType()
Included Geo location match type.
.google.ads.googleads.v10.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType geo_match_type = 4;- Specified by:
getGeoMatchTypein interfaceConversionValueRule.ValueRuleGeoLocationConditionOrBuilder- Returns:
- The geoMatchType.
-
setGeoMatchType
public ConversionValueRule.ValueRuleGeoLocationCondition.Builder setGeoMatchType(ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType value)
Included Geo location match type.
.google.ads.googleads.v10.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType geo_match_type = 4;- Parameters:
value- The geoMatchType to set.- Returns:
- This builder for chaining.
-
clearGeoMatchType
public ConversionValueRule.ValueRuleGeoLocationCondition.Builder clearGeoMatchType()
Included Geo location match type.
.google.ads.googleads.v10.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType geo_match_type = 4;- Returns:
- This builder for chaining.
-
setUnknownFields
public final ConversionValueRule.ValueRuleGeoLocationCondition.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRule.ValueRuleGeoLocationCondition.Builder>
-
mergeUnknownFields
public final ConversionValueRule.ValueRuleGeoLocationCondition.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRule.ValueRuleGeoLocationCondition.Builder>
-
-