Class DynamicEducationAsset

  • All Implemented Interfaces:
    DynamicEducationAssetOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable

    public final class DynamicEducationAsset
    extends com.google.protobuf.GeneratedMessageV3
    implements DynamicEducationAssetOrBuilder
     A Dynamic Education asset.
     
    Protobuf type google.ads.googleads.v10.common.DynamicEducationAsset
    See Also:
    Serialized Form
    • Field Detail

      • PROGRAM_ID_FIELD_NUMBER

        public static final int PROGRAM_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LOCATION_ID_FIELD_NUMBER

        public static final int LOCATION_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PROGRAM_NAME_FIELD_NUMBER

        public static final int PROGRAM_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PROGRAM_DESCRIPTION_FIELD_NUMBER

        public static final int PROGRAM_DESCRIPTION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SCHOOL_NAME_FIELD_NUMBER

        public static final int SCHOOL_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONTEXTUAL_KEYWORDS_FIELD_NUMBER

        public static final int CONTEXTUAL_KEYWORDS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ANDROID_APP_LINK_FIELD_NUMBER

        public static final int ANDROID_APP_LINK_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SIMILAR_PROGRAM_IDS_FIELD_NUMBER

        public static final int SIMILAR_PROGRAM_IDS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • IOS_APP_LINK_FIELD_NUMBER

        public static final int IOS_APP_LINK_FIELD_NUMBER
        See Also:
        Constant Field Values
      • IOS_APP_STORE_ID_FIELD_NUMBER

        public static final int IOS_APP_STORE_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • THUMBNAIL_IMAGE_URL_FIELD_NUMBER

        public static final int THUMBNAIL_IMAGE_URL_FIELD_NUMBER
        See Also:
        Constant Field Values
    • 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
      • getProgramId

        public java.lang.String getProgramId()
         Required. Program ID which can be any sequence of letters and digits, and must be
         unique and match the values of remarketing tag. Required.
         
        string program_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getProgramId in interface DynamicEducationAssetOrBuilder
        Returns:
        The programId.
      • getProgramIdBytes

        public com.google.protobuf.ByteString getProgramIdBytes()
         Required. Program ID which can be any sequence of letters and digits, and must be
         unique and match the values of remarketing tag. Required.
         
        string program_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getProgramIdBytes in interface DynamicEducationAssetOrBuilder
        Returns:
        The bytes for programId.
      • getLocationId

        public java.lang.String getLocationId()
         Location ID which can be any sequence of letters and digits and must be
         unique.
         
        string location_id = 2;
        Specified by:
        getLocationId in interface DynamicEducationAssetOrBuilder
        Returns:
        The locationId.
      • getLocationIdBytes

        public com.google.protobuf.ByteString getLocationIdBytes()
         Location ID which can be any sequence of letters and digits and must be
         unique.
         
        string location_id = 2;
        Specified by:
        getLocationIdBytes in interface DynamicEducationAssetOrBuilder
        Returns:
        The bytes for locationId.
      • getProgramName

        public java.lang.String getProgramName()
         Required. Program name, e.g. Nursing. Required.
         
        string program_name = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getProgramName in interface DynamicEducationAssetOrBuilder
        Returns:
        The programName.
      • getProgramNameBytes

        public com.google.protobuf.ByteString getProgramNameBytes()
         Required. Program name, e.g. Nursing. Required.
         
        string program_name = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getProgramNameBytes in interface DynamicEducationAssetOrBuilder
        Returns:
        The bytes for programName.
      • getSubjectBytes

        public com.google.protobuf.ByteString getSubjectBytes()
         Subject of study, e.g. Health.
         
        string subject = 4;
        Specified by:
        getSubjectBytes in interface DynamicEducationAssetOrBuilder
        Returns:
        The bytes for subject.
      • getProgramDescription

        public java.lang.String getProgramDescription()
         Program description, e.g. Nursing Certification.
         
        string program_description = 5;
        Specified by:
        getProgramDescription in interface DynamicEducationAssetOrBuilder
        Returns:
        The programDescription.
      • getProgramDescriptionBytes

        public com.google.protobuf.ByteString getProgramDescriptionBytes()
         Program description, e.g. Nursing Certification.
         
        string program_description = 5;
        Specified by:
        getProgramDescriptionBytes in interface DynamicEducationAssetOrBuilder
        Returns:
        The bytes for programDescription.
      • getSchoolName

        public java.lang.String getSchoolName()
         School name, e.g. Mountain View School of Nursing.
         
        string school_name = 6;
        Specified by:
        getSchoolName in interface DynamicEducationAssetOrBuilder
        Returns:
        The schoolName.
      • getSchoolNameBytes

        public com.google.protobuf.ByteString getSchoolNameBytes()
         School name, e.g. Mountain View School of Nursing.
         
        string school_name = 6;
        Specified by:
        getSchoolNameBytes in interface DynamicEducationAssetOrBuilder
        Returns:
        The bytes for schoolName.
      • getAddress

        public java.lang.String getAddress()
         School address which can be specified in one of the following formats.
         (1) City, state, code, country, e.g. Mountain View, CA, USA.
         (2) Full address, e.g. 123 Boulevard St, Mountain View, CA 94043.
         (3) Latitude-longitude in the DDD format, e.g. 41.40338, 2.17403
         
        string address = 7;
        Specified by:
        getAddress in interface DynamicEducationAssetOrBuilder
        Returns:
        The address.
      • getAddressBytes

        public com.google.protobuf.ByteString getAddressBytes()
         School address which can be specified in one of the following formats.
         (1) City, state, code, country, e.g. Mountain View, CA, USA.
         (2) Full address, e.g. 123 Boulevard St, Mountain View, CA 94043.
         (3) Latitude-longitude in the DDD format, e.g. 41.40338, 2.17403
         
        string address = 7;
        Specified by:
        getAddressBytes in interface DynamicEducationAssetOrBuilder
        Returns:
        The bytes for address.
      • getContextualKeywordsList

        public com.google.protobuf.ProtocolStringList getContextualKeywordsList()
         Contextual keywords, e.g. Nursing certification, Health, Mountain View.
         
        repeated string contextual_keywords = 8;
        Specified by:
        getContextualKeywordsList in interface DynamicEducationAssetOrBuilder
        Returns:
        A list containing the contextualKeywords.
      • getContextualKeywordsCount

        public int getContextualKeywordsCount()
         Contextual keywords, e.g. Nursing certification, Health, Mountain View.
         
        repeated string contextual_keywords = 8;
        Specified by:
        getContextualKeywordsCount in interface DynamicEducationAssetOrBuilder
        Returns:
        The count of contextualKeywords.
      • getContextualKeywords

        public java.lang.String getContextualKeywords​(int index)
         Contextual keywords, e.g. Nursing certification, Health, Mountain View.
         
        repeated string contextual_keywords = 8;
        Specified by:
        getContextualKeywords in interface DynamicEducationAssetOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The contextualKeywords at the given index.
      • getContextualKeywordsBytes

        public com.google.protobuf.ByteString getContextualKeywordsBytes​(int index)
         Contextual keywords, e.g. Nursing certification, Health, Mountain View.
         
        repeated string contextual_keywords = 8;
        Specified by:
        getContextualKeywordsBytes in interface DynamicEducationAssetOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the contextualKeywords at the given index.
      • getAndroidAppLink

        public java.lang.String getAndroidAppLink()
         Android deep link, e.g.
         android-app://com.example.android/http/example.com/gizmos?1234.
         
        string android_app_link = 9;
        Specified by:
        getAndroidAppLink in interface DynamicEducationAssetOrBuilder
        Returns:
        The androidAppLink.
      • getAndroidAppLinkBytes

        public com.google.protobuf.ByteString getAndroidAppLinkBytes()
         Android deep link, e.g.
         android-app://com.example.android/http/example.com/gizmos?1234.
         
        string android_app_link = 9;
        Specified by:
        getAndroidAppLinkBytes in interface DynamicEducationAssetOrBuilder
        Returns:
        The bytes for androidAppLink.
      • getSimilarProgramIdsList

        public com.google.protobuf.ProtocolStringList getSimilarProgramIdsList()
         Similar program IDs.
         
        repeated string similar_program_ids = 10;
        Specified by:
        getSimilarProgramIdsList in interface DynamicEducationAssetOrBuilder
        Returns:
        A list containing the similarProgramIds.
      • getSimilarProgramIds

        public java.lang.String getSimilarProgramIds​(int index)
         Similar program IDs.
         
        repeated string similar_program_ids = 10;
        Specified by:
        getSimilarProgramIds in interface DynamicEducationAssetOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The similarProgramIds at the given index.
      • getSimilarProgramIdsBytes

        public com.google.protobuf.ByteString getSimilarProgramIdsBytes​(int index)
         Similar program IDs.
         
        repeated string similar_program_ids = 10;
        Specified by:
        getSimilarProgramIdsBytes in interface DynamicEducationAssetOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the similarProgramIds at the given index.
      • getIosAppLink

        public java.lang.String getIosAppLink()
         iOS deep link, e.g. exampleApp://content/page.
         
        string ios_app_link = 11;
        Specified by:
        getIosAppLink in interface DynamicEducationAssetOrBuilder
        Returns:
        The iosAppLink.
      • getIosAppLinkBytes

        public com.google.protobuf.ByteString getIosAppLinkBytes()
         iOS deep link, e.g. exampleApp://content/page.
         
        string ios_app_link = 11;
        Specified by:
        getIosAppLinkBytes in interface DynamicEducationAssetOrBuilder
        Returns:
        The bytes for iosAppLink.
      • getIosAppStoreId

        public long getIosAppStoreId()
         iOS app store ID. This is used to check if the user has the app installed
         on their device before deep linking. If this field is set, then the
         ios_app_link field must also be present.
         
        int64 ios_app_store_id = 12;
        Specified by:
        getIosAppStoreId in interface DynamicEducationAssetOrBuilder
        Returns:
        The iosAppStoreId.
      • getThumbnailImageUrl

        public java.lang.String getThumbnailImageUrl()
         Thumbnail image url, e.g. http://www.example.com/thumbnail.png. The
         thumbnail image will not be uploaded as image asset.
         
        string thumbnail_image_url = 13;
        Specified by:
        getThumbnailImageUrl in interface DynamicEducationAssetOrBuilder
        Returns:
        The thumbnailImageUrl.
      • getThumbnailImageUrlBytes

        public com.google.protobuf.ByteString getThumbnailImageUrlBytes()
         Thumbnail image url, e.g. http://www.example.com/thumbnail.png. The
         thumbnail image will not be uploaded as image asset.
         
        string thumbnail_image_url = 13;
        Specified by:
        getThumbnailImageUrlBytes in interface DynamicEducationAssetOrBuilder
        Returns:
        The bytes for thumbnailImageUrl.
      • getImageUrl

        public java.lang.String getImageUrl()
         Image url, e.g. http://www.example.com/image.png. The image will not be
         uploaded as image asset.
         
        string image_url = 14;
        Specified by:
        getImageUrl in interface DynamicEducationAssetOrBuilder
        Returns:
        The imageUrl.
      • getImageUrlBytes

        public com.google.protobuf.ByteString getImageUrlBytes()
         Image url, e.g. http://www.example.com/image.png. The image will not be
         uploaded as image asset.
         
        string image_url = 14;
        Specified by:
        getImageUrlBytes in interface DynamicEducationAssetOrBuilder
        Returns:
        The bytes for imageUrl.
      • 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 DynamicEducationAsset parseFrom​(java.nio.ByteBuffer data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

        public static DynamicEducationAsset parseFrom​(java.io.InputStream input)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

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

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

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

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

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

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

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

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