Class ConversionValueRule.ValueRuleGeoLocationCondition.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRule.ValueRuleGeoLocationCondition.Builder>
com.google.ads.googleads.v18.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,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 type
google.ads.googleads.v18.resources.ConversionValueRule.ValueRuleGeoLocationCondition-
Method Summary
Modifier and TypeMethodDescriptionGeo locations that advertisers want to exclude.addAllGeoTargetConstants(Iterable<String> values) Geo locations that advertisers want to include.Geo locations that advertisers want to exclude.addExcludedGeoTargetConstantsBytes(com.google.protobuf.ByteString value) Geo locations that advertisers want to exclude.addGeoTargetConstants(String value) Geo locations that advertisers want to include.addGeoTargetConstantsBytes(com.google.protobuf.ByteString value) Geo locations that advertisers want to include.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Excluded Geo location match type.Geo locations that advertisers want to exclude.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Included Geo location match type.Geo locations that advertisers want to include.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorExcluded Geo location match type.intExcluded Geo location match type.getExcludedGeoTargetConstants(int index) Geo locations that advertisers want to exclude.com.google.protobuf.ByteStringgetExcludedGeoTargetConstantsBytes(int index) Geo locations that advertisers want to exclude.intGeo locations that advertisers want to exclude.com.google.protobuf.ProtocolStringListGeo locations that advertisers want to exclude.Included Geo location match type.intIncluded Geo location match type.getGeoTargetConstants(int index) Geo locations that advertisers want to include.com.google.protobuf.ByteStringgetGeoTargetConstantsBytes(int index) Geo locations that advertisers want to include.intGeo locations that advertisers want to include.com.google.protobuf.ProtocolStringListGeo locations that advertisers want to include.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Excluded Geo location match type.setExcludedGeoMatchTypeValue(int value) Excluded Geo location match type.setExcludedGeoTargetConstants(int index, String value) Geo locations that advertisers want to exclude.Included Geo location match type.setGeoMatchTypeValue(int value) Included Geo location match type.setGeoTargetConstants(int index, String value) Geo locations that advertisers want to include.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
- 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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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, 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, 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, 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
-
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 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:
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
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, 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(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(Iterable<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
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.v18.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.v18.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
Excluded Geo location match type.
.google.ads.googleads.v18.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.v18.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType excluded_geo_match_type = 2;- Parameters:
value- The excludedGeoMatchType to set.- Returns:
- This builder for chaining.
-
clearExcludedGeoMatchType
Excluded Geo location match type.
.google.ads.googleads.v18.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
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, 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(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(Iterable<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
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.v18.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType geo_match_type = 4;- Specified by:
getGeoMatchTypeValuein interfaceConversionValueRule.ValueRuleGeoLocationConditionOrBuilder- Returns:
- The enum numeric value on the wire for geoMatchType.
-
setGeoMatchTypeValue
Included Geo location match type.
.google.ads.googleads.v18.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
Included Geo location match type.
.google.ads.googleads.v18.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.v18.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType geo_match_type = 4;- Parameters:
value- The geoMatchType to set.- Returns:
- This builder for chaining.
-
clearGeoMatchType
Included Geo location match type.
.google.ads.googleads.v18.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>
-