Class FinalUrlExpansionAssetView

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.FinalUrlExpansionAssetView
All Implemented Interfaces:
FinalUrlExpansionAssetViewOrBuilder, 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

public final class FinalUrlExpansionAssetView extends com.google.protobuf.GeneratedMessageV3 implements FinalUrlExpansionAssetViewOrBuilder
 FinalUrlExpansionAssetView Resource.
 
Protobuf type google.ads.googleads.v21.resources.FinalUrlExpansionAssetView
See Also:
  • Field Details

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

      public FinalUrlExpansionAssetView.LevelCase getLevelCase()
      Specified by:
      getLevelCase in interface FinalUrlExpansionAssetViewOrBuilder
    • getResourceName

      public String getResourceName()
       Output only. The resource name of the FinalUrlExpansionAsset.
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceName in interface FinalUrlExpansionAssetViewOrBuilder
      Returns:
      The resourceName.
    • getResourceNameBytes

      public com.google.protobuf.ByteString getResourceNameBytes()
       Output only. The resource name of the FinalUrlExpansionAsset.
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceNameBytes in interface FinalUrlExpansionAssetViewOrBuilder
      Returns:
      The bytes for resourceName.
    • hasCampaign

      public boolean hasCampaign()
       Output only. Campaign in which the asset served.
       
      optional string campaign = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      hasCampaign in interface FinalUrlExpansionAssetViewOrBuilder
      Returns:
      Whether the campaign field is set.
    • getCampaign

      public String getCampaign()
       Output only. Campaign in which the asset served.
       
      optional string campaign = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getCampaign in interface FinalUrlExpansionAssetViewOrBuilder
      Returns:
      The campaign.
    • getCampaignBytes

      public com.google.protobuf.ByteString getCampaignBytes()
       Output only. Campaign in which the asset served.
       
      optional string campaign = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getCampaignBytes in interface FinalUrlExpansionAssetViewOrBuilder
      Returns:
      The bytes for campaign.
    • hasAsset

      public boolean hasAsset()
       Output only. The ID of the asset.
       
      optional string asset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      hasAsset in interface FinalUrlExpansionAssetViewOrBuilder
      Returns:
      Whether the asset field is set.
    • getAsset

      public String getAsset()
       Output only. The ID of the asset.
       
      optional string asset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getAsset in interface FinalUrlExpansionAssetViewOrBuilder
      Returns:
      The asset.
    • getAssetBytes

      public com.google.protobuf.ByteString getAssetBytes()
       Output only. The ID of the asset.
       
      optional string asset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getAssetBytes in interface FinalUrlExpansionAssetViewOrBuilder
      Returns:
      The bytes for asset.
    • getFieldTypeValue

      public int getFieldTypeValue()
       Output only. The field type of the asset.
       
      .google.ads.googleads.v21.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFieldTypeValue in interface FinalUrlExpansionAssetViewOrBuilder
      Returns:
      The enum numeric value on the wire for fieldType.
    • getFieldType

      public AssetFieldTypeEnum.AssetFieldType getFieldType()
       Output only. The field type of the asset.
       
      .google.ads.googleads.v21.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFieldType in interface FinalUrlExpansionAssetViewOrBuilder
      Returns:
      The fieldType.
    • hasStatus

      public boolean hasStatus()
       Output only. Status of the FinalUrlExpansionAsset.
       
      optional .google.ads.googleads.v21.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasStatus in interface FinalUrlExpansionAssetViewOrBuilder
      Returns:
      Whether the status field is set.
    • getStatusValue

      public int getStatusValue()
       Output only. Status of the FinalUrlExpansionAsset.
       
      optional .google.ads.googleads.v21.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatusValue in interface FinalUrlExpansionAssetViewOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • getStatus

       Output only. Status of the FinalUrlExpansionAsset.
       
      optional .google.ads.googleads.v21.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatus in interface FinalUrlExpansionAssetViewOrBuilder
      Returns:
      The status.
    • getFinalUrl

      public String getFinalUrl()
       Output only. Final URL of the FinalUrlExpansionAsset.
       
      string final_url = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFinalUrl in interface FinalUrlExpansionAssetViewOrBuilder
      Returns:
      The finalUrl.
    • getFinalUrlBytes

      public com.google.protobuf.ByteString getFinalUrlBytes()
       Output only. Final URL of the FinalUrlExpansionAsset.
       
      string final_url = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFinalUrlBytes in interface FinalUrlExpansionAssetViewOrBuilder
      Returns:
      The bytes for finalUrl.
    • hasAdGroup

      public boolean hasAdGroup()
       Output only. Ad Group in which FinalUrlExpansionAsset served.
       
      string ad_group = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      hasAdGroup in interface FinalUrlExpansionAssetViewOrBuilder
      Returns:
      Whether the adGroup field is set.
    • getAdGroup

      public String getAdGroup()
       Output only. Ad Group in which FinalUrlExpansionAsset served.
       
      string ad_group = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getAdGroup in interface FinalUrlExpansionAssetViewOrBuilder
      Returns:
      The adGroup.
    • getAdGroupBytes

      public com.google.protobuf.ByteString getAdGroupBytes()
       Output only. Ad Group in which FinalUrlExpansionAsset served.
       
      string ad_group = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getAdGroupBytes in interface FinalUrlExpansionAssetViewOrBuilder
      Returns:
      The bytes for adGroup.
    • hasAssetGroup

      public boolean hasAssetGroup()
       Output only. Asset Group in which FinalUrlExpansionAsset served.
       
      string asset_group = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      hasAssetGroup in interface FinalUrlExpansionAssetViewOrBuilder
      Returns:
      Whether the assetGroup field is set.
    • getAssetGroup

      public String getAssetGroup()
       Output only. Asset Group in which FinalUrlExpansionAsset served.
       
      string asset_group = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getAssetGroup in interface FinalUrlExpansionAssetViewOrBuilder
      Returns:
      The assetGroup.
    • getAssetGroupBytes

      public com.google.protobuf.ByteString getAssetGroupBytes()
       Output only. Asset Group in which FinalUrlExpansionAsset served.
       
      string asset_group = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getAssetGroupBytes in interface FinalUrlExpansionAssetViewOrBuilder
      Returns:
      The bytes for assetGroup.
    • 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 FinalUrlExpansionAssetView parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static FinalUrlExpansionAssetView parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static FinalUrlExpansionAssetView parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

      public FinalUrlExpansionAssetView.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static FinalUrlExpansionAssetView.Builder newBuilder()
    • newBuilder

      public static FinalUrlExpansionAssetView.Builder newBuilder(FinalUrlExpansionAssetView prototype)
    • toBuilder

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

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

      public static FinalUrlExpansionAssetView getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<FinalUrlExpansionAssetView> 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 FinalUrlExpansionAssetView 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