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.v18.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, 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 type google.ads.googleads.v18.resources.AssetGroupListingGroupFilter
  • Method Details

    • 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>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear 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

      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
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<AssetGroupListingGroupFilter.Builder>
    • setField

      public AssetGroupListingGroupFilter.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<AssetGroupListingGroupFilter.Builder>
    • clearField

      public AssetGroupListingGroupFilter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AssetGroupListingGroupFilter.Builder>
    • clearOneof

      public AssetGroupListingGroupFilter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AssetGroupListingGroupFilter.Builder>
    • setRepeatedField

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

      public AssetGroupListingGroupFilter.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AssetGroupListingGroupFilter.Builder>
    • mergeFrom

    • 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 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:
      IOException
    • getResourceName

      public 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(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 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(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

       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.v18.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.v18.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

       Immutable. Type of a listing group filter node.
       
      .google.ads.googleads.v18.enums.ListingGroupFilterTypeEnum.ListingGroupFilterType type = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getType in interface AssetGroupListingGroupFilterOrBuilder
      Returns:
      The type.
    • setType

       Immutable. Type of a listing group filter node.
       
      .google.ads.googleads.v18.enums.ListingGroupFilterTypeEnum.ListingGroupFilterType type = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

       Immutable. Type of a listing group filter node.
       
      .google.ads.googleads.v18.enums.ListingGroupFilterTypeEnum.ListingGroupFilterType type = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • getListingSourceValue

      public int getListingSourceValue()
       Immutable. The source of listings filtered by this listing group filter.
       
      .google.ads.googleads.v18.enums.ListingGroupFilterListingSourceEnum.ListingGroupFilterListingSource listing_source = 9 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getListingSourceValue in interface AssetGroupListingGroupFilterOrBuilder
      Returns:
      The enum numeric value on the wire for listingSource.
    • setListingSourceValue

      public AssetGroupListingGroupFilter.Builder setListingSourceValue(int value)
       Immutable. The source of listings filtered by this listing group filter.
       
      .google.ads.googleads.v18.enums.ListingGroupFilterListingSourceEnum.ListingGroupFilterListingSource listing_source = 9 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The enum numeric value on the wire for listingSource to set.
      Returns:
      This builder for chaining.
    • getListingSource

       Immutable. The source of listings filtered by this listing group filter.
       
      .google.ads.googleads.v18.enums.ListingGroupFilterListingSourceEnum.ListingGroupFilterListingSource listing_source = 9 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getListingSource in interface AssetGroupListingGroupFilterOrBuilder
      Returns:
      The listingSource.
    • setListingSource

       Immutable. The source of listings filtered by this listing group filter.
       
      .google.ads.googleads.v18.enums.ListingGroupFilterListingSourceEnum.ListingGroupFilterListingSource listing_source = 9 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The listingSource to set.
      Returns:
      This builder for chaining.
    • clearListingSource

      public AssetGroupListingGroupFilter.Builder clearListingSource()
       Immutable. The source of listings filtered by this listing group filter.
       
      .google.ads.googleads.v18.enums.ListingGroupFilterListingSourceEnum.ListingGroupFilterListingSource listing_source = 9 [(.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.v18.resources.ListingGroupFilterDimension case_value = 6;
      Specified by:
      hasCaseValue in interface AssetGroupListingGroupFilterOrBuilder
      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.v18.resources.ListingGroupFilterDimension case_value = 6;
      Specified by:
      getCaseValue in interface AssetGroupListingGroupFilterOrBuilder
      Returns:
      The caseValue.
    • setCaseValue

       Dimension value with which this listing group is refining its parent.
       Undefined for the root group.
       
      .google.ads.googleads.v18.resources.ListingGroupFilterDimension case_value = 6;
    • setCaseValue

       Dimension value with which this listing group is refining its parent.
       Undefined for the root group.
       
      .google.ads.googleads.v18.resources.ListingGroupFilterDimension case_value = 6;
    • mergeCaseValue

       Dimension value with which this listing group is refining its parent.
       Undefined for the root group.
       
      .google.ads.googleads.v18.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.v18.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.v18.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.v18.resources.ListingGroupFilterDimension case_value = 6;
      Specified by:
      getCaseValueOrBuilder in interface AssetGroupListingGroupFilterOrBuilder
    • getParentListingGroupFilter

      public 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(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.
    • hasPath

      public boolean hasPath()
       Output only. The path of dimensions defining this listing group filter.
       
      .google.ads.googleads.v18.resources.ListingGroupFilterDimensionPath path = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasPath in interface AssetGroupListingGroupFilterOrBuilder
      Returns:
      Whether the path field is set.
    • getPath

       Output only. The path of dimensions defining this listing group filter.
       
      .google.ads.googleads.v18.resources.ListingGroupFilterDimensionPath path = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPath in interface AssetGroupListingGroupFilterOrBuilder
      Returns:
      The path.
    • setPath

       Output only. The path of dimensions defining this listing group filter.
       
      .google.ads.googleads.v18.resources.ListingGroupFilterDimensionPath path = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setPath

       Output only. The path of dimensions defining this listing group filter.
       
      .google.ads.googleads.v18.resources.ListingGroupFilterDimensionPath path = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergePath

       Output only. The path of dimensions defining this listing group filter.
       
      .google.ads.googleads.v18.resources.ListingGroupFilterDimensionPath path = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearPath

       Output only. The path of dimensions defining this listing group filter.
       
      .google.ads.googleads.v18.resources.ListingGroupFilterDimensionPath path = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPathBuilder

      public ListingGroupFilterDimensionPath.Builder getPathBuilder()
       Output only. The path of dimensions defining this listing group filter.
       
      .google.ads.googleads.v18.resources.ListingGroupFilterDimensionPath path = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPathOrBuilder

      public ListingGroupFilterDimensionPathOrBuilder getPathOrBuilder()
       Output only. The path of dimensions defining this listing group filter.
       
      .google.ads.googleads.v18.resources.ListingGroupFilterDimensionPath path = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPathOrBuilder in interface AssetGroupListingGroupFilterOrBuilder
    • setUnknownFields

      public final AssetGroupListingGroupFilter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AssetGroupListingGroupFilter.Builder>
    • mergeUnknownFields

      public final AssetGroupListingGroupFilter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AssetGroupListingGroupFilter.Builder>