Class AssetGroupListingGroupFilter.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AssetGroupListingGroupFilter.Builder>
-
- com.google.ads.googleads.v10.resources.AssetGroupListingGroupFilter.Builder
-
- All Implemented Interfaces:
AssetGroupListingGroupFilterOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- AssetGroupListingGroupFilter
public static final class AssetGroupListingGroupFilter.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AssetGroupListingGroupFilter.Builder> implements AssetGroupListingGroupFilterOrBuilder
AssetGroupListingGroupFilter represents a listing group filter tree node in an asset group.
Protobuf typegoogle.ads.googleads.v10.resources.AssetGroupListingGroupFilter
-
-
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<AssetGroupListingGroupFilter.Builder>
-
clear
public AssetGroupListingGroupFilter.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<AssetGroupListingGroupFilter.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<AssetGroupListingGroupFilter.Builder>
-
getDefaultInstanceForType
public AssetGroupListingGroupFilter getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AssetGroupListingGroupFilter build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AssetGroupListingGroupFilter buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AssetGroupListingGroupFilter.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<AssetGroupListingGroupFilter.Builder>
-
setField
public AssetGroupListingGroupFilter.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<AssetGroupListingGroupFilter.Builder>
-
clearField
public AssetGroupListingGroupFilter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AssetGroupListingGroupFilter.Builder>
-
clearOneof
public AssetGroupListingGroupFilter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AssetGroupListingGroupFilter.Builder>
-
setRepeatedField
public AssetGroupListingGroupFilter.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<AssetGroupListingGroupFilter.Builder>
-
addRepeatedField
public AssetGroupListingGroupFilter.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<AssetGroupListingGroupFilter.Builder>
-
mergeFrom
public AssetGroupListingGroupFilter.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AssetGroupListingGroupFilter.Builder>
-
mergeFrom
public AssetGroupListingGroupFilter.Builder mergeFrom(AssetGroupListingGroupFilter other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AssetGroupListingGroupFilter.Builder>
-
mergeFrom
public AssetGroupListingGroupFilter.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<AssetGroupListingGroupFilter.Builder>- Throws:
java.io.IOException
-
getResourceName
public java.lang.String getResourceName()
Immutable. The resource name of the asset group listing group filter. Asset group listing group filter resource name have the form: `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceAssetGroupListingGroupFilterOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()
Immutable. The resource name of the asset group listing group filter. Asset group listing group filter resource name have the form: `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceAssetGroupListingGroupFilterOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
public AssetGroupListingGroupFilter.Builder setResourceName(java.lang.String value)
Immutable. The resource name of the asset group listing group filter. Asset group listing group filter resource name have the form: `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
public AssetGroupListingGroupFilter.Builder clearResourceName()
Immutable. The resource name of the asset group listing group filter. Asset group listing group filter resource name have the form: `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
public AssetGroupListingGroupFilter.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
Immutable. The resource name of the asset group listing group filter. Asset group listing group filter resource name have the form: `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
getAssetGroup
public java.lang.String getAssetGroup()
Immutable. The asset group which this asset group listing group filter is part of.
string asset_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getAssetGroupin interfaceAssetGroupListingGroupFilterOrBuilder- Returns:
- The assetGroup.
-
getAssetGroupBytes
public com.google.protobuf.ByteString getAssetGroupBytes()
Immutable. The asset group which this asset group listing group filter is part of.
string asset_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getAssetGroupBytesin interfaceAssetGroupListingGroupFilterOrBuilder- Returns:
- The bytes for assetGroup.
-
setAssetGroup
public AssetGroupListingGroupFilter.Builder setAssetGroup(java.lang.String value)
Immutable. The asset group which this asset group listing group filter is part of.
string asset_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The assetGroup to set.- Returns:
- This builder for chaining.
-
clearAssetGroup
public AssetGroupListingGroupFilter.Builder clearAssetGroup()
Immutable. The asset group which this asset group listing group filter is part of.
string asset_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setAssetGroupBytes
public AssetGroupListingGroupFilter.Builder setAssetGroupBytes(com.google.protobuf.ByteString value)
Immutable. The asset group which this asset group listing group filter is part of.
string asset_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for assetGroup to set.- Returns:
- This builder for chaining.
-
getId
public long getId()
Output only. The ID of the ListingGroupFilter.
int64 id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdin interfaceAssetGroupListingGroupFilterOrBuilder- Returns:
- The id.
-
setId
public AssetGroupListingGroupFilter.Builder setId(long value)
Output only. The ID of the ListingGroupFilter.
int64 id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public AssetGroupListingGroupFilter.Builder clearId()
Output only. The ID of the ListingGroupFilter.
int64 id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()
Immutable. Type of a listing group filter node.
.google.ads.googleads.v10.enums.ListingGroupFilterTypeEnum.ListingGroupFilterType type = 4 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getTypeValuein interfaceAssetGroupListingGroupFilterOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public AssetGroupListingGroupFilter.Builder setTypeValue(int value)
Immutable. Type of a listing group filter node.
.google.ads.googleads.v10.enums.ListingGroupFilterTypeEnum.ListingGroupFilterType type = 4 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
public ListingGroupFilterTypeEnum.ListingGroupFilterType getType()
Immutable. Type of a listing group filter node.
.google.ads.googleads.v10.enums.ListingGroupFilterTypeEnum.ListingGroupFilterType type = 4 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getTypein interfaceAssetGroupListingGroupFilterOrBuilder- Returns:
- The type.
-
setType
public AssetGroupListingGroupFilter.Builder setType(ListingGroupFilterTypeEnum.ListingGroupFilterType value)
Immutable. Type of a listing group filter node.
.google.ads.googleads.v10.enums.ListingGroupFilterTypeEnum.ListingGroupFilterType type = 4 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public AssetGroupListingGroupFilter.Builder clearType()
Immutable. Type of a listing group filter node.
.google.ads.googleads.v10.enums.ListingGroupFilterTypeEnum.ListingGroupFilterType type = 4 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
getVerticalValue
public int getVerticalValue()
Immutable. The vertical the current node tree represents. All nodes in the same tree must belong to the same vertical.
.google.ads.googleads.v10.enums.ListingGroupFilterVerticalEnum.ListingGroupFilterVertical vertical = 5 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getVerticalValuein interfaceAssetGroupListingGroupFilterOrBuilder- Returns:
- The enum numeric value on the wire for vertical.
-
setVerticalValue
public AssetGroupListingGroupFilter.Builder setVerticalValue(int value)
Immutable. The vertical the current node tree represents. All nodes in the same tree must belong to the same vertical.
.google.ads.googleads.v10.enums.ListingGroupFilterVerticalEnum.ListingGroupFilterVertical vertical = 5 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The enum numeric value on the wire for vertical to set.- Returns:
- This builder for chaining.
-
getVertical
public ListingGroupFilterVerticalEnum.ListingGroupFilterVertical getVertical()
Immutable. The vertical the current node tree represents. All nodes in the same tree must belong to the same vertical.
.google.ads.googleads.v10.enums.ListingGroupFilterVerticalEnum.ListingGroupFilterVertical vertical = 5 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getVerticalin interfaceAssetGroupListingGroupFilterOrBuilder- Returns:
- The vertical.
-
setVertical
public AssetGroupListingGroupFilter.Builder setVertical(ListingGroupFilterVerticalEnum.ListingGroupFilterVertical value)
Immutable. The vertical the current node tree represents. All nodes in the same tree must belong to the same vertical.
.google.ads.googleads.v10.enums.ListingGroupFilterVerticalEnum.ListingGroupFilterVertical vertical = 5 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The vertical to set.- Returns:
- This builder for chaining.
-
clearVertical
public AssetGroupListingGroupFilter.Builder clearVertical()
Immutable. The vertical the current node tree represents. All nodes in the same tree must belong to the same vertical.
.google.ads.googleads.v10.enums.ListingGroupFilterVerticalEnum.ListingGroupFilterVertical vertical = 5 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
hasCaseValue
public boolean hasCaseValue()
Dimension value with which this listing group is refining its parent. Undefined for the root group.
.google.ads.googleads.v10.resources.ListingGroupFilterDimension case_value = 6;- Specified by:
hasCaseValuein interfaceAssetGroupListingGroupFilterOrBuilder- Returns:
- Whether the caseValue field is set.
-
getCaseValue
public ListingGroupFilterDimension getCaseValue()
Dimension value with which this listing group is refining its parent. Undefined for the root group.
.google.ads.googleads.v10.resources.ListingGroupFilterDimension case_value = 6;- Specified by:
getCaseValuein interfaceAssetGroupListingGroupFilterOrBuilder- Returns:
- The caseValue.
-
setCaseValue
public AssetGroupListingGroupFilter.Builder setCaseValue(ListingGroupFilterDimension value)
Dimension value with which this listing group is refining its parent. Undefined for the root group.
.google.ads.googleads.v10.resources.ListingGroupFilterDimension case_value = 6;
-
setCaseValue
public AssetGroupListingGroupFilter.Builder setCaseValue(ListingGroupFilterDimension.Builder builderForValue)
Dimension value with which this listing group is refining its parent. Undefined for the root group.
.google.ads.googleads.v10.resources.ListingGroupFilterDimension case_value = 6;
-
mergeCaseValue
public AssetGroupListingGroupFilter.Builder mergeCaseValue(ListingGroupFilterDimension value)
Dimension value with which this listing group is refining its parent. Undefined for the root group.
.google.ads.googleads.v10.resources.ListingGroupFilterDimension case_value = 6;
-
clearCaseValue
public AssetGroupListingGroupFilter.Builder clearCaseValue()
Dimension value with which this listing group is refining its parent. Undefined for the root group.
.google.ads.googleads.v10.resources.ListingGroupFilterDimension case_value = 6;
-
getCaseValueBuilder
public ListingGroupFilterDimension.Builder getCaseValueBuilder()
Dimension value with which this listing group is refining its parent. Undefined for the root group.
.google.ads.googleads.v10.resources.ListingGroupFilterDimension case_value = 6;
-
getCaseValueOrBuilder
public ListingGroupFilterDimensionOrBuilder getCaseValueOrBuilder()
Dimension value with which this listing group is refining its parent. Undefined for the root group.
.google.ads.googleads.v10.resources.ListingGroupFilterDimension case_value = 6;- Specified by:
getCaseValueOrBuilderin interfaceAssetGroupListingGroupFilterOrBuilder
-
getParentListingGroupFilter
public java.lang.String getParentListingGroupFilter()
Immutable. Resource name of the parent listing group subdivision. Null for the root listing group filter node.
string parent_listing_group_filter = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getParentListingGroupFilterin interfaceAssetGroupListingGroupFilterOrBuilder- Returns:
- The parentListingGroupFilter.
-
getParentListingGroupFilterBytes
public com.google.protobuf.ByteString getParentListingGroupFilterBytes()
Immutable. Resource name of the parent listing group subdivision. Null for the root listing group filter node.
string parent_listing_group_filter = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getParentListingGroupFilterBytesin interfaceAssetGroupListingGroupFilterOrBuilder- Returns:
- The bytes for parentListingGroupFilter.
-
setParentListingGroupFilter
public AssetGroupListingGroupFilter.Builder setParentListingGroupFilter(java.lang.String value)
Immutable. Resource name of the parent listing group subdivision. Null for the root listing group filter node.
string parent_listing_group_filter = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The parentListingGroupFilter to set.- Returns:
- This builder for chaining.
-
clearParentListingGroupFilter
public AssetGroupListingGroupFilter.Builder clearParentListingGroupFilter()
Immutable. Resource name of the parent listing group subdivision. Null for the root listing group filter node.
string parent_listing_group_filter = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setParentListingGroupFilterBytes
public AssetGroupListingGroupFilter.Builder setParentListingGroupFilterBytes(com.google.protobuf.ByteString value)
Immutable. Resource name of the parent listing group subdivision. Null for the root listing group filter node.
string parent_listing_group_filter = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for parentListingGroupFilter to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AssetGroupListingGroupFilter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AssetGroupListingGroupFilter.Builder>
-
mergeUnknownFields
public final AssetGroupListingGroupFilter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AssetGroupListingGroupFilter.Builder>
-
-