Class AssetGroupListingGroupFilter.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AssetGroupListingGroupFilter.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AssetGroupListingGroupFilter.Builder>
      • getDefaultInstanceForType

        public AssetGroupListingGroupFilter getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public AssetGroupListingGroupFilter build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public AssetGroupListingGroupFilter buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public AssetGroupListingGroupFilter.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                     int index,
                                                                     java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AssetGroupListingGroupFilter.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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 interface AssetGroupListingGroupFilterOrBuilder
        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 interface AssetGroupListingGroupFilterOrBuilder
        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 interface AssetGroupListingGroupFilterOrBuilder
        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 interface AssetGroupListingGroupFilterOrBuilder
        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 interface AssetGroupListingGroupFilterOrBuilder
        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 interface AssetGroupListingGroupFilterOrBuilder
        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.
      • 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 interface AssetGroupListingGroupFilterOrBuilder
        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.
      • 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 interface AssetGroupListingGroupFilterOrBuilder
        Returns:
        Whether the caseValue field is set.
      • 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;
      • 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 interface AssetGroupListingGroupFilterOrBuilder
        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 interface AssetGroupListingGroupFilterOrBuilder
        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.