Class AdStrengthActionItem.AddAssetDetails

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableMessage<com.google.protobuf.GeneratedMessageV3>
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v21.resources.AdStrengthActionItem.AddAssetDetails
All Implemented Interfaces:
AdStrengthActionItem.AddAssetDetailsOrBuilder, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
AdStrengthActionItem

public static final class AdStrengthActionItem.AddAssetDetails extends com.google.protobuf.GeneratedMessageV3 implements AdStrengthActionItem.AddAssetDetailsOrBuilder
 The details of the asset to add.
 
Protobuf type google.ads.googleads.v21.resources.AdStrengthActionItem.AddAssetDetails
See Also:
  • Field Details

    • ASSET_FIELD_TYPE_FIELD_NUMBER

      public static final int ASSET_FIELD_TYPE_FIELD_NUMBER
      See Also:
    • ASSET_COUNT_FIELD_NUMBER

      public static final int ASSET_COUNT_FIELD_NUMBER
      See Also:
    • VIDEO_ASPECT_RATIO_REQUIREMENT_FIELD_NUMBER

      public static final int VIDEO_ASPECT_RATIO_REQUIREMENT_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Overrides:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getAssetFieldTypeValue

      public int getAssetFieldTypeValue()
       Output only. The asset field type of the asset(s) to add.
       
      .google.ads.googleads.v21.enums.AssetFieldTypeEnum.AssetFieldType asset_field_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAssetFieldTypeValue in interface AdStrengthActionItem.AddAssetDetailsOrBuilder
      Returns:
      The enum numeric value on the wire for assetFieldType.
    • getAssetFieldType

      public AssetFieldTypeEnum.AssetFieldType getAssetFieldType()
       Output only. The asset field type of the asset(s) to add.
       
      .google.ads.googleads.v21.enums.AssetFieldTypeEnum.AssetFieldType asset_field_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAssetFieldType in interface AdStrengthActionItem.AddAssetDetailsOrBuilder
      Returns:
      The assetFieldType.
    • hasAssetCount

      public boolean hasAssetCount()
       Output only. The number of assets to add.
       
      optional int32 asset_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasAssetCount in interface AdStrengthActionItem.AddAssetDetailsOrBuilder
      Returns:
      Whether the assetCount field is set.
    • getAssetCount

      public int getAssetCount()
       Output only. The number of assets to add.
       
      optional int32 asset_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAssetCount in interface AdStrengthActionItem.AddAssetDetailsOrBuilder
      Returns:
      The assetCount.
    • hasVideoAspectRatioRequirement

      public boolean hasVideoAspectRatioRequirement()
       Output only. For video field types, the required aspect ratio of the
       video. When unset and asset_field_type is YOUTUBE_VIDEO, the system
       recommends the advertiser upload any YouTube video, regardless of aspect
       ratio.
       
      optional .google.ads.googleads.v21.enums.AssetCoverageVideoAspectRatioRequirementEnum.AssetCoverageVideoAspectRatioRequirement video_aspect_ratio_requirement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasVideoAspectRatioRequirement in interface AdStrengthActionItem.AddAssetDetailsOrBuilder
      Returns:
      Whether the videoAspectRatioRequirement field is set.
    • getVideoAspectRatioRequirementValue

      public int getVideoAspectRatioRequirementValue()
       Output only. For video field types, the required aspect ratio of the
       video. When unset and asset_field_type is YOUTUBE_VIDEO, the system
       recommends the advertiser upload any YouTube video, regardless of aspect
       ratio.
       
      optional .google.ads.googleads.v21.enums.AssetCoverageVideoAspectRatioRequirementEnum.AssetCoverageVideoAspectRatioRequirement video_aspect_ratio_requirement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getVideoAspectRatioRequirementValue in interface AdStrengthActionItem.AddAssetDetailsOrBuilder
      Returns:
      The enum numeric value on the wire for videoAspectRatioRequirement.
    • getVideoAspectRatioRequirement

       Output only. For video field types, the required aspect ratio of the
       video. When unset and asset_field_type is YOUTUBE_VIDEO, the system
       recommends the advertiser upload any YouTube video, regardless of aspect
       ratio.
       
      optional .google.ads.googleads.v21.enums.AssetCoverageVideoAspectRatioRequirementEnum.AssetCoverageVideoAspectRatioRequirement video_aspect_ratio_requirement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getVideoAspectRatioRequirement in interface AdStrengthActionItem.AddAssetDetailsOrBuilder
      Returns:
      The videoAspectRatioRequirement.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.ExtendableMessage<com.google.protobuf.GeneratedMessageV3>
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static AdStrengthActionItem.AddAssetDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdStrengthActionItem.AddAssetDetails parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdStrengthActionItem.AddAssetDetails parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdStrengthActionItem.AddAssetDetails parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdStrengthActionItem.AddAssetDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdStrengthActionItem.AddAssetDetails parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdStrengthActionItem.AddAssetDetails parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AdStrengthActionItem.AddAssetDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AdStrengthActionItem.AddAssetDetails parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AdStrengthActionItem.AddAssetDetails parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AdStrengthActionItem.AddAssetDetails parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AdStrengthActionItem.AddAssetDetails parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AdStrengthActionItem.AddAssetDetails.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static AdStrengthActionItem.AddAssetDetails getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AdStrengthActionItem.AddAssetDetails> parser()
    • getParserForType

      public com.google.protobuf.Parser<AdStrengthActionItem.AddAssetDetails> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public AdStrengthActionItem.AddAssetDetails getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder