Class AssetGroupListingGroupFilter.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AssetGroupListingGroupFilter.Builder>
-
- com.google.ads.googleads.v13.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.v13.resources.AssetGroupListingGroupFilter
-
-
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<AssetGroupListingGroupFilter.Builder>
-
clear
public AssetGroupListingGroupFilter.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<AssetGroupListingGroupFilter.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<AssetGroupListingGroupFilter.Builder>
-
getDefaultInstanceForType
public AssetGroupListingGroupFilter getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AssetGroupListingGroupFilter build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AssetGroupListingGroupFilter buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AssetGroupListingGroupFilter.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<AssetGroupListingGroupFilter.Builder>
-
setField
public AssetGroupListingGroupFilter.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<AssetGroupListingGroupFilter.Builder>
-
clearField
public AssetGroupListingGroupFilter.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<AssetGroupListingGroupFilter.Builder>
-
clearOneof
public AssetGroupListingGroupFilter.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<AssetGroupListingGroupFilter.Builder>
-
setRepeatedField
public AssetGroupListingGroupFilter.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<AssetGroupListingGroupFilter.Builder>
-
addRepeatedField
public AssetGroupListingGroupFilter.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<AssetGroupListingGroupFilter.Builder>
-
mergeFrom
public AssetGroupListingGroupFilter.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AssetGroupListingGroupFilter.Builder>
-
mergeFrom
public AssetGroupListingGroupFilter.Builder mergeFrom(AssetGroupListingGroupFilter other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getResourceName
in 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:
getResourceNameBytes
in 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:
getAssetGroup
in 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:
getAssetGroupBytes
in 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:
getId
in 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.v13.enums.ListingGroupFilterTypeEnum.ListingGroupFilterType type = 4 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getTypeValue
in 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.v13.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.v13.enums.ListingGroupFilterTypeEnum.ListingGroupFilterType type = 4 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getType
in interfaceAssetGroupListingGroupFilterOrBuilder
- Returns:
- The type.
-
setType
public AssetGroupListingGroupFilter.Builder setType(ListingGroupFilterTypeEnum.ListingGroupFilterType value)
Immutable. Type of a listing group filter node.
.google.ads.googleads.v13.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.v13.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.v13.enums.ListingGroupFilterVerticalEnum.ListingGroupFilterVertical vertical = 5 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getVerticalValue
in 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.v13.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.v13.enums.ListingGroupFilterVerticalEnum.ListingGroupFilterVertical vertical = 5 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getVertical
in 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.v13.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.v13.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.v13.resources.ListingGroupFilterDimension case_value = 6;
- Specified by:
hasCaseValue
in 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.v13.resources.ListingGroupFilterDimension case_value = 6;
- Specified by:
getCaseValue
in 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.v13.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.v13.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.v13.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.v13.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.v13.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.v13.resources.ListingGroupFilterDimension case_value = 6;
- Specified by:
getCaseValueOrBuilder
in 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:
getParentListingGroupFilter
in 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:
getParentListingGroupFilterBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AssetGroupListingGroupFilter.Builder>
-
mergeUnknownFields
public final AssetGroupListingGroupFilter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AssetGroupListingGroupFilter.Builder>
-
-