Class Recommendation.TextAdRecommendation

    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields 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
      • hasAd

        public boolean hasAd()
         Output only. Recommended ad.
         
        .google.ads.googleads.v10.resources.Ad ad = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasAd in interface Recommendation.TextAdRecommendationOrBuilder
        Returns:
        Whether the ad field is set.
      • hasCreationDate

        public boolean hasCreationDate()
         Output only. Creation date of the recommended ad.
         YYYY-MM-DD format, e.g., 2018-04-17.
         
        optional string creation_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreationDate in interface Recommendation.TextAdRecommendationOrBuilder
        Returns:
        Whether the creationDate field is set.
      • getCreationDate

        public java.lang.String getCreationDate()
         Output only. Creation date of the recommended ad.
         YYYY-MM-DD format, e.g., 2018-04-17.
         
        optional string creation_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreationDate in interface Recommendation.TextAdRecommendationOrBuilder
        Returns:
        The creationDate.
      • getCreationDateBytes

        public com.google.protobuf.ByteString getCreationDateBytes()
         Output only. Creation date of the recommended ad.
         YYYY-MM-DD format, e.g., 2018-04-17.
         
        optional string creation_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreationDateBytes in interface Recommendation.TextAdRecommendationOrBuilder
        Returns:
        The bytes for creationDate.
      • hasAutoApplyDate

        public boolean hasAutoApplyDate()
         Output only. Date, if present, is the earliest when the recommendation will be auto
         applied.
         YYYY-MM-DD format, e.g., 2018-04-17.
         
        optional string auto_apply_date = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasAutoApplyDate in interface Recommendation.TextAdRecommendationOrBuilder
        Returns:
        Whether the autoApplyDate field is set.
      • getAutoApplyDate

        public java.lang.String getAutoApplyDate()
         Output only. Date, if present, is the earliest when the recommendation will be auto
         applied.
         YYYY-MM-DD format, e.g., 2018-04-17.
         
        optional string auto_apply_date = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getAutoApplyDate in interface Recommendation.TextAdRecommendationOrBuilder
        Returns:
        The autoApplyDate.
      • getAutoApplyDateBytes

        public com.google.protobuf.ByteString getAutoApplyDateBytes()
         Output only. Date, if present, is the earliest when the recommendation will be auto
         applied.
         YYYY-MM-DD format, e.g., 2018-04-17.
         
        optional string auto_apply_date = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getAutoApplyDateBytes in interface Recommendation.TextAdRecommendationOrBuilder
        Returns:
        The bytes for autoApplyDate.
      • 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 java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.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​(java.lang.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 Recommendation.TextAdRecommendation parseFrom​(java.nio.ByteBuffer data)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Recommendation.TextAdRecommendation parseFrom​(java.nio.ByteBuffer data,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

        public static Recommendation.TextAdRecommendation parseFrom​(java.io.InputStream input,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Recommendation.TextAdRecommendation parseDelimitedFrom​(java.io.InputStream input)
                                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Recommendation.TextAdRecommendation parseDelimitedFrom​(java.io.InputStream input,
                                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Recommendation.TextAdRecommendation parseFrom​(com.google.protobuf.CodedInputStream input)
                                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Recommendation.TextAdRecommendation parseFrom​(com.google.protobuf.CodedInputStream input,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

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

        protected Recommendation.TextAdRecommendation.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Recommendation.TextAdRecommendation> 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 Recommendation.TextAdRecommendation getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder