Class BranchApp

  • All Implemented Interfaces:
    com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, BranchAppOrBuilder

    public final class BranchApp
    extends com.google.protobuf.GeneratedMessageLite<BranchApp,​BranchApp.Builder>
    implements BranchAppOrBuilder
    Protobuf type streamlayer.sdkSettings.organization.branch.BranchApp
    • Field Detail

      • BRANCH_KEY_FIELD_NUMBER

        public static final int BRANCH_KEY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BRANCH_SECRET_FIELD_NUMBER

        public static final int BRANCH_SECRET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DEFAULT_SHORT_URL_DOMAIN_FIELD_NUMBER

        public static final int DEFAULT_SHORT_URL_DOMAIN_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ALTERNATE_SHORT_URL_DOMAIN_FIELD_NUMBER

        public static final int ALTERNATE_SHORT_URL_DOMAIN_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ANDROID_APP_FIELD_NUMBER

        public static final int ANDROID_APP_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ANDROID_URL_FIELD_NUMBER

        public static final int ANDROID_URL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ANDROID_URI_SCHEME_FIELD_NUMBER

        public static final int ANDROID_URI_SCHEME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ANDROID_PACKAGE_NAME_FIELD_NUMBER

        public static final int ANDROID_PACKAGE_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SHA256_CERT_FINGERPRINTS_FIELD_NUMBER

        public static final int SHA256_CERT_FINGERPRINTS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ANDROID_APP_LINKS_ENABLED_FIELD_NUMBER

        public static final int ANDROID_APP_LINKS_ENABLED_FIELD_NUMBER
        See Also:
        Constant Field Values
      • IOS_URI_SCHEME_FIELD_NUMBER

        public static final int IOS_URI_SCHEME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • IOS_STORE_COUNTRY_FIELD_NUMBER

        public static final int IOS_STORE_COUNTRY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • IOS_BUNDLE_ID_FIELD_NUMBER

        public static final int IOS_BUNDLE_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • IOS_TEAM_ID_FIELD_NUMBER

        public static final int IOS_TEAM_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • OG_DESCRIPTION_FIELD_NUMBER

        public static final int OG_DESCRIPTION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • OG_IMAGE_URL_FIELD_NUMBER

        public static final int OG_IMAGE_URL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DEFAULT_DESKTOP_URL_FIELD_NUMBER

        public static final int DEFAULT_DESKTOP_URL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TEXT_MESSAGE_FIELD_NUMBER

        public static final int TEXT_MESSAGE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SHORT_URL_DOMAIN_FIELD_NUMBER

        public static final int SHORT_URL_DOMAIN_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • getBranchKey

        public java.lang.String getBranchKey()
        string branch_key = 1;
        Specified by:
        getBranchKey in interface BranchAppOrBuilder
        Returns:
        The branchKey.
      • getBranchKeyBytes

        public com.google.protobuf.ByteString getBranchKeyBytes()
        string branch_key = 1;
        Specified by:
        getBranchKeyBytes in interface BranchAppOrBuilder
        Returns:
        The bytes for branchKey.
      • getBranchSecret

        public java.lang.String getBranchSecret()
        string branch_secret = 2;
        Specified by:
        getBranchSecret in interface BranchAppOrBuilder
        Returns:
        The branchSecret.
      • getBranchSecretBytes

        public com.google.protobuf.ByteString getBranchSecretBytes()
        string branch_secret = 2;
        Specified by:
        getBranchSecretBytes in interface BranchAppOrBuilder
        Returns:
        The bytes for branchSecret.
      • getDefaultShortUrlDomain

        public java.lang.String getDefaultShortUrlDomain()
        string default_short_url_domain = 3;
        Specified by:
        getDefaultShortUrlDomain in interface BranchAppOrBuilder
        Returns:
        The defaultShortUrlDomain.
      • getDefaultShortUrlDomainBytes

        public com.google.protobuf.ByteString getDefaultShortUrlDomainBytes()
        string default_short_url_domain = 3;
        Specified by:
        getDefaultShortUrlDomainBytes in interface BranchAppOrBuilder
        Returns:
        The bytes for defaultShortUrlDomain.
      • getAlternateShortUrlDomain

        public java.lang.String getAlternateShortUrlDomain()
        string alternate_short_url_domain = 4;
        Specified by:
        getAlternateShortUrlDomain in interface BranchAppOrBuilder
        Returns:
        The alternateShortUrlDomain.
      • getAlternateShortUrlDomainBytes

        public com.google.protobuf.ByteString getAlternateShortUrlDomainBytes()
        string alternate_short_url_domain = 4;
        Specified by:
        getAlternateShortUrlDomainBytes in interface BranchAppOrBuilder
        Returns:
        The bytes for alternateShortUrlDomain.
      • getAndroidApp

        public int getAndroidApp()
         Whether an Android app is enabled, (0 or 1 indicating present)
         
        int32 android_app = 5;
        Specified by:
        getAndroidApp in interface BranchAppOrBuilder
        Returns:
        The androidApp.
      • getAndroidUrl

        public java.lang.String getAndroidUrl()
         The url of the Android store, or package name (com.android.myapp). android_app must be set to 2.
         
        string android_url = 6;
        Specified by:
        getAndroidUrl in interface BranchAppOrBuilder
        Returns:
        The androidUrl.
      • getAndroidUrlBytes

        public com.google.protobuf.ByteString getAndroidUrlBytes()
         The url of the Android store, or package name (com.android.myapp). android_app must be set to 2.
         
        string android_url = 6;
        Specified by:
        getAndroidUrlBytes in interface BranchAppOrBuilder
        Returns:
        The bytes for androidUrl.
      • getAndroidUriScheme

        public java.lang.String getAndroidUriScheme()
         The Android URI scheme.
         
        string android_uri_scheme = 7;
        Specified by:
        getAndroidUriScheme in interface BranchAppOrBuilder
        Returns:
        The androidUriScheme.
      • getAndroidUriSchemeBytes

        public com.google.protobuf.ByteString getAndroidUriSchemeBytes()
         The Android URI scheme.
         
        string android_uri_scheme = 7;
        Specified by:
        getAndroidUriSchemeBytes in interface BranchAppOrBuilder
        Returns:
        The bytes for androidUriScheme.
      • getAndroidPackageName

        public java.lang.String getAndroidPackageName()
         The Android package name (com.android.myapp)
         
        string android_package_name = 8;
        Specified by:
        getAndroidPackageName in interface BranchAppOrBuilder
        Returns:
        The androidPackageName.
      • getAndroidPackageNameBytes

        public com.google.protobuf.ByteString getAndroidPackageNameBytes()
         The Android package name (com.android.myapp)
         
        string android_package_name = 8;
        Specified by:
        getAndroidPackageNameBytes in interface BranchAppOrBuilder
        Returns:
        The bytes for androidPackageName.
      • getSha256CertFingerprintsList

        public java.util.List<java.lang.String> getSha256CertFingerprintsList()
         The SHA256 fingerprints for App Links, in array form
         
        repeated string sha256_cert_fingerprints = 9;
        Specified by:
        getSha256CertFingerprintsList in interface BranchAppOrBuilder
        Returns:
        A list containing the sha256CertFingerprints.
      • getSha256CertFingerprintsCount

        public int getSha256CertFingerprintsCount()
         The SHA256 fingerprints for App Links, in array form
         
        repeated string sha256_cert_fingerprints = 9;
        Specified by:
        getSha256CertFingerprintsCount in interface BranchAppOrBuilder
        Returns:
        The count of sha256CertFingerprints.
      • getSha256CertFingerprints

        public java.lang.String getSha256CertFingerprints​(int index)
         The SHA256 fingerprints for App Links, in array form
         
        repeated string sha256_cert_fingerprints = 9;
        Specified by:
        getSha256CertFingerprints in interface BranchAppOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The sha256CertFingerprints at the given index.
      • getSha256CertFingerprintsBytes

        public com.google.protobuf.ByteString getSha256CertFingerprintsBytes​(int index)
         The SHA256 fingerprints for App Links, in array form
         
        repeated string sha256_cert_fingerprints = 9;
        Specified by:
        getSha256CertFingerprintsBytes in interface BranchAppOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the sha256CertFingerprints at the given index.
      • getAndroidAppLinksEnabled

        public boolean getAndroidAppLinksEnabled()
         Whether App Links are enabled, (0 or 1 indicating true)
         
        bool android_app_links_enabled = 10;
        Specified by:
        getAndroidAppLinksEnabled in interface BranchAppOrBuilder
        Returns:
        The androidAppLinksEnabled.
      • getIosApp

        public int getIosApp()
         Whether an iOS app is enabled, (0 or 1 indicating present)
         
        int32 ios_app = 11;
        Specified by:
        getIosApp in interface BranchAppOrBuilder
        Returns:
        The iosApp.
      • getIosUrl

        public java.lang.String getIosUrl()
         The url of iOS store, or app id (id512451233), or a fallback URL for iOS if present. ios_app must be set to 2.
         
        string ios_url = 12;
        Specified by:
        getIosUrl in interface BranchAppOrBuilder
        Returns:
        The iosUrl.
      • getIosUrlBytes

        public com.google.protobuf.ByteString getIosUrlBytes()
         The url of iOS store, or app id (id512451233), or a fallback URL for iOS if present. ios_app must be set to 2.
         
        string ios_url = 12;
        Specified by:
        getIosUrlBytes in interface BranchAppOrBuilder
        Returns:
        The bytes for iosUrl.
      • getIosUriScheme

        public java.lang.String getIosUriScheme()
         The iOS URI scheme.
         
        string ios_uri_scheme = 13;
        Specified by:
        getIosUriScheme in interface BranchAppOrBuilder
        Returns:
        The iosUriScheme.
      • getIosUriSchemeBytes

        public com.google.protobuf.ByteString getIosUriSchemeBytes()
         The iOS URI scheme.
         
        string ios_uri_scheme = 13;
        Specified by:
        getIosUriSchemeBytes in interface BranchAppOrBuilder
        Returns:
        The bytes for iosUriScheme.
      • getIosStoreCountry

        public java.lang.String getIosStoreCountry()
         The country code of the app, default to 'US'.
         
        string ios_store_country = 14;
        Specified by:
        getIosStoreCountry in interface BranchAppOrBuilder
        Returns:
        The iosStoreCountry.
      • getIosStoreCountryBytes

        public com.google.protobuf.ByteString getIosStoreCountryBytes()
         The country code of the app, default to 'US'.
         
        string ios_store_country = 14;
        Specified by:
        getIosStoreCountryBytes in interface BranchAppOrBuilder
        Returns:
        The bytes for iosStoreCountry.
      • getIosBundleId

        public java.lang.String getIosBundleId()
         The iOS bundle ID
         
        string ios_bundle_id = 15;
        Specified by:
        getIosBundleId in interface BranchAppOrBuilder
        Returns:
        The iosBundleId.
      • getIosBundleIdBytes

        public com.google.protobuf.ByteString getIosBundleIdBytes()
         The iOS bundle ID
         
        string ios_bundle_id = 15;
        Specified by:
        getIosBundleIdBytes in interface BranchAppOrBuilder
        Returns:
        The bytes for iosBundleId.
      • getIosTeamId

        public java.lang.String getIosTeamId()
         The iOS Team ID
         
        string ios_team_id = 16;
        Specified by:
        getIosTeamId in interface BranchAppOrBuilder
        Returns:
        The iosTeamId.
      • getIosTeamIdBytes

        public com.google.protobuf.ByteString getIosTeamIdBytes()
         The iOS Team ID
         
        string ios_team_id = 16;
        Specified by:
        getIosTeamIdBytes in interface BranchAppOrBuilder
        Returns:
        The bytes for iosTeamId.
      • getOgTitle

        public java.lang.String getOgTitle()
         The invite link title
         
        string og_title = 17;
        Specified by:
        getOgTitle in interface BranchAppOrBuilder
        Returns:
        The ogTitle.
      • getOgTitleBytes

        public com.google.protobuf.ByteString getOgTitleBytes()
         The invite link title
         
        string og_title = 17;
        Specified by:
        getOgTitleBytes in interface BranchAppOrBuilder
        Returns:
        The bytes for ogTitle.
      • getOgDescription

        public java.lang.String getOgDescription()
         The invite link desctiption
         
        string og_description = 18;
        Specified by:
        getOgDescription in interface BranchAppOrBuilder
        Returns:
        The ogDescription.
      • getOgDescriptionBytes

        public com.google.protobuf.ByteString getOgDescriptionBytes()
         The invite link desctiption
         
        string og_description = 18;
        Specified by:
        getOgDescriptionBytes in interface BranchAppOrBuilder
        Returns:
        The bytes for ogDescription.
      • getOgImageUrl

        public java.lang.String getOgImageUrl()
         The invite link logo
         
        string og_image_url = 19;
        Specified by:
        getOgImageUrl in interface BranchAppOrBuilder
        Returns:
        The ogImageUrl.
      • getOgImageUrlBytes

        public com.google.protobuf.ByteString getOgImageUrlBytes()
         The invite link logo
         
        string og_image_url = 19;
        Specified by:
        getOgImageUrlBytes in interface BranchAppOrBuilder
        Returns:
        The bytes for ogImageUrl.
      • getWebUrl

        public java.lang.String getWebUrl()
         Backup website if URLs are null.
         
        string web_url = 20;
        Specified by:
        getWebUrl in interface BranchAppOrBuilder
        Returns:
        The webUrl.
      • getWebUrlBytes

        public com.google.protobuf.ByteString getWebUrlBytes()
         Backup website if URLs are null.
         
        string web_url = 20;
        Specified by:
        getWebUrlBytes in interface BranchAppOrBuilder
        Returns:
        The bytes for webUrl.
      • getDefaultDesktopUrl

        public java.lang.String getDefaultDesktopUrl()
         The default desktop redirect, or null if set to hosted SMS
         
        string default_desktop_url = 21;
        Specified by:
        getDefaultDesktopUrl in interface BranchAppOrBuilder
        Returns:
        The defaultDesktopUrl.
      • getDefaultDesktopUrlBytes

        public com.google.protobuf.ByteString getDefaultDesktopUrlBytes()
         The default desktop redirect, or null if set to hosted SMS
         
        string default_desktop_url = 21;
        Specified by:
        getDefaultDesktopUrlBytes in interface BranchAppOrBuilder
        Returns:
        The bytes for defaultDesktopUrl.
      • getTextMessage

        public java.lang.String getTextMessage()
         Text message to use for text-me feature, {{ link }} will be replaced with short link.
         
        string text_message = 22;
        Specified by:
        getTextMessage in interface BranchAppOrBuilder
        Returns:
        The textMessage.
      • getTextMessageBytes

        public com.google.protobuf.ByteString getTextMessageBytes()
         Text message to use for text-me feature, {{ link }} will be replaced with short link.
         
        string text_message = 22;
        Specified by:
        getTextMessageBytes in interface BranchAppOrBuilder
        Returns:
        The bytes for textMessage.
      • getShortUrlDomain

        public java.lang.String getShortUrlDomain()
        string short_url_domain = 23;
        Specified by:
        getShortUrlDomain in interface BranchAppOrBuilder
        Returns:
        The shortUrlDomain.
      • getShortUrlDomainBytes

        public com.google.protobuf.ByteString getShortUrlDomainBytes()
        string short_url_domain = 23;
        Specified by:
        getShortUrlDomainBytes in interface BranchAppOrBuilder
        Returns:
        The bytes for shortUrlDomain.
      • getReadonly

        public boolean getReadonly()
         sl read-only settings flag
         
        bool readonly = 24;
        Specified by:
        getReadonly in interface BranchAppOrBuilder
        Returns:
        The readonly.
      • parseFrom

        public static BranchApp parseFrom​(java.nio.ByteBuffer data)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

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

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

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

        protected final java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
                                                       java.lang.Object arg0,
                                                       java.lang.Object arg1)
        Specified by:
        dynamicMethod in class com.google.protobuf.GeneratedMessageLite<BranchApp,​BranchApp.Builder>
      • getDefaultInstance

        public static BranchApp getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<BranchApp> parser()