Class ListingGroupInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ListingGroupInfo.Builder>
com.google.ads.googleads.v18.common.ListingGroupInfo.Builder
All Implemented Interfaces:
ListingGroupInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListingGroupInfo

public static final class ListingGroupInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListingGroupInfo.Builder> implements ListingGroupInfoOrBuilder
 A listing group criterion.
 
Protobuf type google.ads.googleads.v18.common.ListingGroupInfo
  • 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<ListingGroupInfo.Builder>
    • clear

      public ListingGroupInfo.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<ListingGroupInfo.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<ListingGroupInfo.Builder>
    • getDefaultInstanceForType

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

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

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

      public ListingGroupInfo.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<ListingGroupInfo.Builder>
    • setField

      public ListingGroupInfo.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<ListingGroupInfo.Builder>
    • clearField

      public ListingGroupInfo.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<ListingGroupInfo.Builder>
    • clearOneof

      public ListingGroupInfo.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<ListingGroupInfo.Builder>
    • setRepeatedField

      public ListingGroupInfo.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<ListingGroupInfo.Builder>
    • addRepeatedField

      public ListingGroupInfo.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<ListingGroupInfo.Builder>
    • mergeFrom

      public ListingGroupInfo.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<ListingGroupInfo.Builder>
    • mergeFrom

      public ListingGroupInfo.Builder mergeFrom(ListingGroupInfo other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListingGroupInfo.Builder>
    • mergeFrom

      public ListingGroupInfo.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<ListingGroupInfo.Builder>
      Throws:
      IOException
    • getTypeValue

      public int getTypeValue()
       Type of the listing group.
       
      .google.ads.googleads.v18.enums.ListingGroupTypeEnum.ListingGroupType type = 1;
      Specified by:
      getTypeValue in interface ListingGroupInfoOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public ListingGroupInfo.Builder setTypeValue(int value)
       Type of the listing group.
       
      .google.ads.googleads.v18.enums.ListingGroupTypeEnum.ListingGroupType type = 1;
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • getType

       Type of the listing group.
       
      .google.ads.googleads.v18.enums.ListingGroupTypeEnum.ListingGroupType type = 1;
      Specified by:
      getType in interface ListingGroupInfoOrBuilder
      Returns:
      The type.
    • setType

       Type of the listing group.
       
      .google.ads.googleads.v18.enums.ListingGroupTypeEnum.ListingGroupType type = 1;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public ListingGroupInfo.Builder clearType()
       Type of the listing group.
       
      .google.ads.googleads.v18.enums.ListingGroupTypeEnum.ListingGroupType type = 1;
      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.common.ListingDimensionInfo case_value = 2;
      Specified by:
      hasCaseValue in interface ListingGroupInfoOrBuilder
      Returns:
      Whether the caseValue field is set.
    • getCaseValue

      public ListingDimensionInfo getCaseValue()
       Dimension value with which this listing group is refining its parent.
       Undefined for the root group.
       
      .google.ads.googleads.v18.common.ListingDimensionInfo case_value = 2;
      Specified by:
      getCaseValue in interface ListingGroupInfoOrBuilder
      Returns:
      The caseValue.
    • setCaseValue

      public ListingGroupInfo.Builder setCaseValue(ListingDimensionInfo value)
       Dimension value with which this listing group is refining its parent.
       Undefined for the root group.
       
      .google.ads.googleads.v18.common.ListingDimensionInfo case_value = 2;
    • setCaseValue

      public ListingGroupInfo.Builder setCaseValue(ListingDimensionInfo.Builder builderForValue)
       Dimension value with which this listing group is refining its parent.
       Undefined for the root group.
       
      .google.ads.googleads.v18.common.ListingDimensionInfo case_value = 2;
    • mergeCaseValue

      public ListingGroupInfo.Builder mergeCaseValue(ListingDimensionInfo value)
       Dimension value with which this listing group is refining its parent.
       Undefined for the root group.
       
      .google.ads.googleads.v18.common.ListingDimensionInfo case_value = 2;
    • clearCaseValue

      public ListingGroupInfo.Builder clearCaseValue()
       Dimension value with which this listing group is refining its parent.
       Undefined for the root group.
       
      .google.ads.googleads.v18.common.ListingDimensionInfo case_value = 2;
    • getCaseValueBuilder

      public ListingDimensionInfo.Builder getCaseValueBuilder()
       Dimension value with which this listing group is refining its parent.
       Undefined for the root group.
       
      .google.ads.googleads.v18.common.ListingDimensionInfo case_value = 2;
    • getCaseValueOrBuilder

      public ListingDimensionInfoOrBuilder getCaseValueOrBuilder()
       Dimension value with which this listing group is refining its parent.
       Undefined for the root group.
       
      .google.ads.googleads.v18.common.ListingDimensionInfo case_value = 2;
      Specified by:
      getCaseValueOrBuilder in interface ListingGroupInfoOrBuilder
    • hasParentAdGroupCriterion

      public boolean hasParentAdGroupCriterion()
       Resource name of ad group criterion which is the parent listing group
       subdivision. Null for the root group.
       
      optional string parent_ad_group_criterion = 4;
      Specified by:
      hasParentAdGroupCriterion in interface ListingGroupInfoOrBuilder
      Returns:
      Whether the parentAdGroupCriterion field is set.
    • getParentAdGroupCriterion

      public String getParentAdGroupCriterion()
       Resource name of ad group criterion which is the parent listing group
       subdivision. Null for the root group.
       
      optional string parent_ad_group_criterion = 4;
      Specified by:
      getParentAdGroupCriterion in interface ListingGroupInfoOrBuilder
      Returns:
      The parentAdGroupCriterion.
    • getParentAdGroupCriterionBytes

      public com.google.protobuf.ByteString getParentAdGroupCriterionBytes()
       Resource name of ad group criterion which is the parent listing group
       subdivision. Null for the root group.
       
      optional string parent_ad_group_criterion = 4;
      Specified by:
      getParentAdGroupCriterionBytes in interface ListingGroupInfoOrBuilder
      Returns:
      The bytes for parentAdGroupCriterion.
    • setParentAdGroupCriterion

      public ListingGroupInfo.Builder setParentAdGroupCriterion(String value)
       Resource name of ad group criterion which is the parent listing group
       subdivision. Null for the root group.
       
      optional string parent_ad_group_criterion = 4;
      Parameters:
      value - The parentAdGroupCriterion to set.
      Returns:
      This builder for chaining.
    • clearParentAdGroupCriterion

      public ListingGroupInfo.Builder clearParentAdGroupCriterion()
       Resource name of ad group criterion which is the parent listing group
       subdivision. Null for the root group.
       
      optional string parent_ad_group_criterion = 4;
      Returns:
      This builder for chaining.
    • setParentAdGroupCriterionBytes

      public ListingGroupInfo.Builder setParentAdGroupCriterionBytes(com.google.protobuf.ByteString value)
       Resource name of ad group criterion which is the parent listing group
       subdivision. Null for the root group.
       
      optional string parent_ad_group_criterion = 4;
      Parameters:
      value - The bytes for parentAdGroupCriterion to set.
      Returns:
      This builder for chaining.
    • hasPath

      public boolean hasPath()
       The path of dimensions defining this listing group.
       
      optional .google.ads.googleads.v18.common.ListingDimensionPath path = 5;
      Specified by:
      hasPath in interface ListingGroupInfoOrBuilder
      Returns:
      Whether the path field is set.
    • getPath

      public ListingDimensionPath getPath()
       The path of dimensions defining this listing group.
       
      optional .google.ads.googleads.v18.common.ListingDimensionPath path = 5;
      Specified by:
      getPath in interface ListingGroupInfoOrBuilder
      Returns:
      The path.
    • setPath

       The path of dimensions defining this listing group.
       
      optional .google.ads.googleads.v18.common.ListingDimensionPath path = 5;
    • setPath

      public ListingGroupInfo.Builder setPath(ListingDimensionPath.Builder builderForValue)
       The path of dimensions defining this listing group.
       
      optional .google.ads.googleads.v18.common.ListingDimensionPath path = 5;
    • mergePath

       The path of dimensions defining this listing group.
       
      optional .google.ads.googleads.v18.common.ListingDimensionPath path = 5;
    • clearPath

      public ListingGroupInfo.Builder clearPath()
       The path of dimensions defining this listing group.
       
      optional .google.ads.googleads.v18.common.ListingDimensionPath path = 5;
    • getPathBuilder

      public ListingDimensionPath.Builder getPathBuilder()
       The path of dimensions defining this listing group.
       
      optional .google.ads.googleads.v18.common.ListingDimensionPath path = 5;
    • getPathOrBuilder

      public ListingDimensionPathOrBuilder getPathOrBuilder()
       The path of dimensions defining this listing group.
       
      optional .google.ads.googleads.v18.common.ListingDimensionPath path = 5;
      Specified by:
      getPathOrBuilder in interface ListingGroupInfoOrBuilder
    • setUnknownFields

      public final ListingGroupInfo.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<ListingGroupInfo.Builder>
    • mergeUnknownFields

      public final ListingGroupInfo.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<ListingGroupInfo.Builder>