Class AssetSetTypeView.Builder

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

public static final class AssetSetTypeView.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AssetSetTypeView.Builder> implements AssetSetTypeViewOrBuilder
 An asset set type view.
 This view reports non-overcounted metrics for each asset set type. Child
 asset set types are not included in this report. Their stats are aggregated
 under the parent asset set type.
 
Protobuf type google.ads.googleads.v18.resources.AssetSetTypeView
  • 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<AssetSetTypeView.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

      public AssetSetTypeView.Builder mergeFrom(AssetSetTypeView other)
    • isInitialized

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

      public AssetSetTypeView.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<AssetSetTypeView.Builder>
      Throws:
      IOException
    • getResourceName

      public String getResourceName()
       Output only. The resource name of the asset set type view.
       Asset set type view resource names have the form:
      
       `customers/{customer_id}/assetSetTypeViews/{asset_set_type}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceName in interface AssetSetTypeViewOrBuilder
      Returns:
      The resourceName.
    • getResourceNameBytes

      public com.google.protobuf.ByteString getResourceNameBytes()
       Output only. The resource name of the asset set type view.
       Asset set type view resource names have the form:
      
       `customers/{customer_id}/assetSetTypeViews/{asset_set_type}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceNameBytes in interface AssetSetTypeViewOrBuilder
      Returns:
      The bytes for resourceName.
    • setResourceName

      public AssetSetTypeView.Builder setResourceName(String value)
       Output only. The resource name of the asset set type view.
       Asset set type view resource names have the form:
      
       `customers/{customer_id}/assetSetTypeViews/{asset_set_type}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The resourceName to set.
      Returns:
      This builder for chaining.
    • clearResourceName

      public AssetSetTypeView.Builder clearResourceName()
       Output only. The resource name of the asset set type view.
       Asset set type view resource names have the form:
      
       `customers/{customer_id}/assetSetTypeViews/{asset_set_type}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setResourceNameBytes

      public AssetSetTypeView.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
       Output only. The resource name of the asset set type view.
       Asset set type view resource names have the form:
      
       `customers/{customer_id}/assetSetTypeViews/{asset_set_type}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for resourceName to set.
      Returns:
      This builder for chaining.
    • getAssetSetTypeValue

      public int getAssetSetTypeValue()
       Output only. The asset set type of the asset set type view.
       
      .google.ads.googleads.v18.enums.AssetSetTypeEnum.AssetSetType asset_set_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAssetSetTypeValue in interface AssetSetTypeViewOrBuilder
      Returns:
      The enum numeric value on the wire for assetSetType.
    • setAssetSetTypeValue

      public AssetSetTypeView.Builder setAssetSetTypeValue(int value)
       Output only. The asset set type of the asset set type view.
       
      .google.ads.googleads.v18.enums.AssetSetTypeEnum.AssetSetType asset_set_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for assetSetType to set.
      Returns:
      This builder for chaining.
    • getAssetSetType

      public AssetSetTypeEnum.AssetSetType getAssetSetType()
       Output only. The asset set type of the asset set type view.
       
      .google.ads.googleads.v18.enums.AssetSetTypeEnum.AssetSetType asset_set_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAssetSetType in interface AssetSetTypeViewOrBuilder
      Returns:
      The assetSetType.
    • setAssetSetType

       Output only. The asset set type of the asset set type view.
       
      .google.ads.googleads.v18.enums.AssetSetTypeEnum.AssetSetType asset_set_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The assetSetType to set.
      Returns:
      This builder for chaining.
    • clearAssetSetType

      public AssetSetTypeView.Builder clearAssetSetType()
       Output only. The asset set type of the asset set type view.
       
      .google.ads.googleads.v18.enums.AssetSetTypeEnum.AssetSetType asset_set_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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