Class GenerateRecommendationsRequest.SeedInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.services.GenerateRecommendationsRequest.SeedInfo
All Implemented Interfaces:
GenerateRecommendationsRequest.SeedInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
GenerateRecommendationsRequest

public static final class GenerateRecommendationsRequest.SeedInfo extends com.google.protobuf.GeneratedMessageV3 implements GenerateRecommendationsRequest.SeedInfoOrBuilder
 A keyword seed and a specific url to generate keywords from.
 
Protobuf type google.ads.googleads.v18.services.GenerateRecommendationsRequest.SeedInfo
See Also:
  • Field Details

    • URL_SEED_FIELD_NUMBER

      public static final int URL_SEED_FIELD_NUMBER
      See Also:
    • KEYWORD_SEEDS_FIELD_NUMBER

      public static final int KEYWORD_SEEDS_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()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasUrlSeed

      public boolean hasUrlSeed()
       A specific url to generate ideas from, for example: www.example.com/cars.
       
      optional string url_seed = 2;
      Specified by:
      hasUrlSeed in interface GenerateRecommendationsRequest.SeedInfoOrBuilder
      Returns:
      Whether the urlSeed field is set.
    • getUrlSeed

      public String getUrlSeed()
       A specific url to generate ideas from, for example: www.example.com/cars.
       
      optional string url_seed = 2;
      Specified by:
      getUrlSeed in interface GenerateRecommendationsRequest.SeedInfoOrBuilder
      Returns:
      The urlSeed.
    • getUrlSeedBytes

      public com.google.protobuf.ByteString getUrlSeedBytes()
       A specific url to generate ideas from, for example: www.example.com/cars.
       
      optional string url_seed = 2;
      Specified by:
      getUrlSeedBytes in interface GenerateRecommendationsRequest.SeedInfoOrBuilder
      Returns:
      The bytes for urlSeed.
    • getKeywordSeedsList

      public com.google.protobuf.ProtocolStringList getKeywordSeedsList()
       Optional. Keywords or phrases to generate ideas from, for example: cars
       or "car dealership near me".
       
      repeated string keyword_seeds = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKeywordSeedsList in interface GenerateRecommendationsRequest.SeedInfoOrBuilder
      Returns:
      A list containing the keywordSeeds.
    • getKeywordSeedsCount

      public int getKeywordSeedsCount()
       Optional. Keywords or phrases to generate ideas from, for example: cars
       or "car dealership near me".
       
      repeated string keyword_seeds = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKeywordSeedsCount in interface GenerateRecommendationsRequest.SeedInfoOrBuilder
      Returns:
      The count of keywordSeeds.
    • getKeywordSeeds

      public String getKeywordSeeds(int index)
       Optional. Keywords or phrases to generate ideas from, for example: cars
       or "car dealership near me".
       
      repeated string keyword_seeds = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKeywordSeeds in interface GenerateRecommendationsRequest.SeedInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The keywordSeeds at the given index.
    • getKeywordSeedsBytes

      public com.google.protobuf.ByteString getKeywordSeedsBytes(int index)
       Optional. Keywords or phrases to generate ideas from, for example: cars
       or "car dealership near me".
       
      repeated string keyword_seeds = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKeywordSeedsBytes in interface GenerateRecommendationsRequest.SeedInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the keywordSeeds at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class 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.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • 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 GenerateRecommendationsRequest.SeedInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static GenerateRecommendationsRequest.SeedInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static GenerateRecommendationsRequest.SeedInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

      public static GenerateRecommendationsRequest.SeedInfo 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 GenerateRecommendationsRequest.SeedInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static GenerateRecommendationsRequest.SeedInfo getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<GenerateRecommendationsRequest.SeedInfo> 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.GeneratedMessageV3
    • getDefaultInstanceForType

      public GenerateRecommendationsRequest.SeedInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder