Class GeneralTabMetadata

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  GeneralTabMetadata.Builder
      General tab metadata fields
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite

        com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,​?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,​Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Field Detail

      • ADVERTISER_LOGO_FIELD_NUMBER

        public static final int ADVERTISER_LOGO_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ADVERTISER_NAME_FIELD_NUMBER

        public static final int ADVERTISER_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CAMPAIGN_NAME_FIELD_NUMBER

        public static final int CAMPAIGN_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TRIGGER_TYPE_FIELD_NUMBER

        public static final int TRIGGER_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • GEO_TARGETINGS_FIELD_NUMBER

        public static final int GEO_TARGETINGS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • AUDIENCE_TARGETINGS_FIELD_NUMBER

        public static final int AUDIENCE_TARGETINGS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DEVICE_TARGETINGS_FIELD_NUMBER

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

      • hasAdvertiserLogo

        public boolean hasAdvertiserLogo()
         URL to 1:1 image (min 140×140px)
         
        optional string advertiser_logo = 1 [json_name = "advertiserLogo"];
        Specified by:
        hasAdvertiserLogo in interface GeneralTabMetadataOrBuilder
        Returns:
        Whether the advertiserLogo field is set.
      • getAdvertiserLogo

        public java.lang.String getAdvertiserLogo()
         URL to 1:1 image (min 140×140px)
         
        optional string advertiser_logo = 1 [json_name = "advertiserLogo"];
        Specified by:
        getAdvertiserLogo in interface GeneralTabMetadataOrBuilder
        Returns:
        The advertiserLogo.
      • getAdvertiserLogoBytes

        public com.google.protobuf.ByteString getAdvertiserLogoBytes()
         URL to 1:1 image (min 140×140px)
         
        optional string advertiser_logo = 1 [json_name = "advertiserLogo"];
        Specified by:
        getAdvertiserLogoBytes in interface GeneralTabMetadataOrBuilder
        Returns:
        The bytes for advertiserLogo.
      • getAdvertiserName

        public java.lang.String getAdvertiserName()
         required, max 30 chars
         
        string advertiser_name = 2 [json_name = "advertiserName"];
        Specified by:
        getAdvertiserName in interface GeneralTabMetadataOrBuilder
        Returns:
        The advertiserName.
      • getAdvertiserNameBytes

        public com.google.protobuf.ByteString getAdvertiserNameBytes()
         required, max 30 chars
         
        string advertiser_name = 2 [json_name = "advertiserName"];
        Specified by:
        getAdvertiserNameBytes in interface GeneralTabMetadataOrBuilder
        Returns:
        The bytes for advertiserName.
      • hasCampaignName

        public boolean hasCampaignName()
         max 30 chars
         
        optional string campaign_name = 3 [json_name = "campaignName"];
        Specified by:
        hasCampaignName in interface GeneralTabMetadataOrBuilder
        Returns:
        Whether the campaignName field is set.
      • getCampaignName

        public java.lang.String getCampaignName()
         max 30 chars
         
        optional string campaign_name = 3 [json_name = "campaignName"];
        Specified by:
        getCampaignName in interface GeneralTabMetadataOrBuilder
        Returns:
        The campaignName.
      • getCampaignNameBytes

        public com.google.protobuf.ByteString getCampaignNameBytes()
         max 30 chars
         
        optional string campaign_name = 3 [json_name = "campaignName"];
        Specified by:
        getCampaignNameBytes in interface GeneralTabMetadataOrBuilder
        Returns:
        The bytes for campaignName.
      • hasAdGroup

        public boolean hasAdGroup()
         max 30 chars
         
        optional string ad_group = 4 [json_name = "adGroup"];
        Specified by:
        hasAdGroup in interface GeneralTabMetadataOrBuilder
        Returns:
        Whether the adGroup field is set.
      • getAdGroup

        public java.lang.String getAdGroup()
         max 30 chars
         
        optional string ad_group = 4 [json_name = "adGroup"];
        Specified by:
        getAdGroup in interface GeneralTabMetadataOrBuilder
        Returns:
        The adGroup.
      • getAdGroupBytes

        public com.google.protobuf.ByteString getAdGroupBytes()
         max 30 chars
         
        optional string ad_group = 4 [json_name = "adGroup"];
        Specified by:
        getAdGroupBytes in interface GeneralTabMetadataOrBuilder
        Returns:
        The bytes for adGroup.
      • hasTriggerType

        public boolean hasTriggerType()
         how the ad is triggered
         
        optional .streamlayer.interactive.TriggerType trigger_type = 5 [json_name = "triggerType"];
        Specified by:
        hasTriggerType in interface GeneralTabMetadataOrBuilder
        Returns:
        Whether the triggerType field is set.
      • getTriggerTypeValue

        public int getTriggerTypeValue()
         how the ad is triggered
         
        optional .streamlayer.interactive.TriggerType trigger_type = 5 [json_name = "triggerType"];
        Specified by:
        getTriggerTypeValue in interface GeneralTabMetadataOrBuilder
        Returns:
        The enum numeric value on the wire for triggerType.
      • getTriggerType

        public TriggerType getTriggerType()
         how the ad is triggered
         
        optional .streamlayer.interactive.TriggerType trigger_type = 5 [json_name = "triggerType"];
        Specified by:
        getTriggerType in interface GeneralTabMetadataOrBuilder
        Returns:
        The triggerType.
      • getGeoTargetingsList

        public java.util.List<java.lang.String> getGeoTargetingsList()
         locations /region code ["US", "CA", "EU", "APAC"]
         
        repeated string geo_targetings = 6 [json_name = "geoTargetings"];
        Specified by:
        getGeoTargetingsList in interface GeneralTabMetadataOrBuilder
        Returns:
        A list containing the geoTargetings.
      • getGeoTargetingsCount

        public int getGeoTargetingsCount()
         locations /region code ["US", "CA", "EU", "APAC"]
         
        repeated string geo_targetings = 6 [json_name = "geoTargetings"];
        Specified by:
        getGeoTargetingsCount in interface GeneralTabMetadataOrBuilder
        Returns:
        The count of geoTargetings.
      • getGeoTargetings

        public java.lang.String getGeoTargetings​(int index)
         locations /region code ["US", "CA", "EU", "APAC"]
         
        repeated string geo_targetings = 6 [json_name = "geoTargetings"];
        Specified by:
        getGeoTargetings in interface GeneralTabMetadataOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The geoTargetings at the given index.
      • getGeoTargetingsBytes

        public com.google.protobuf.ByteString getGeoTargetingsBytes​(int index)
         locations /region code ["US", "CA", "EU", "APAC"]
         
        repeated string geo_targetings = 6 [json_name = "geoTargetings"];
        Specified by:
        getGeoTargetingsBytes in interface GeneralTabMetadataOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the geoTargetings at the given index.
      • getAudienceTargetingsList

        public java.util.List<java.lang.String> getAudienceTargetingsList()
         audience segment ["sports", "nba", "golf", "sports_fans"]
         
        repeated string audience_targetings = 7 [json_name = "audienceTargetings"];
        Specified by:
        getAudienceTargetingsList in interface GeneralTabMetadataOrBuilder
        Returns:
        A list containing the audienceTargetings.
      • getAudienceTargetingsCount

        public int getAudienceTargetingsCount()
         audience segment ["sports", "nba", "golf", "sports_fans"]
         
        repeated string audience_targetings = 7 [json_name = "audienceTargetings"];
        Specified by:
        getAudienceTargetingsCount in interface GeneralTabMetadataOrBuilder
        Returns:
        The count of audienceTargetings.
      • getAudienceTargetings

        public java.lang.String getAudienceTargetings​(int index)
         audience segment ["sports", "nba", "golf", "sports_fans"]
         
        repeated string audience_targetings = 7 [json_name = "audienceTargetings"];
        Specified by:
        getAudienceTargetings in interface GeneralTabMetadataOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The audienceTargetings at the given index.
      • getAudienceTargetingsBytes

        public com.google.protobuf.ByteString getAudienceTargetingsBytes​(int index)
         audience segment ["sports", "nba", "golf", "sports_fans"]
         
        repeated string audience_targetings = 7 [json_name = "audienceTargetings"];
        Specified by:
        getAudienceTargetingsBytes in interface GeneralTabMetadataOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the audienceTargetings at the given index.
      • getDeviceTargetingsList

        public java.util.List<DeviceTargeting> getDeviceTargetingsList()
         target device types [MOBILE, CTV, WEB]
         
        repeated .streamlayer.interactive.DeviceTargeting device_targetings = 8 [json_name = "deviceTargetings"];
        Specified by:
        getDeviceTargetingsList in interface GeneralTabMetadataOrBuilder
        Returns:
        A list containing the deviceTargetings.
      • getDeviceTargetingsCount

        public int getDeviceTargetingsCount()
         target device types [MOBILE, CTV, WEB]
         
        repeated .streamlayer.interactive.DeviceTargeting device_targetings = 8 [json_name = "deviceTargetings"];
        Specified by:
        getDeviceTargetingsCount in interface GeneralTabMetadataOrBuilder
        Returns:
        The count of deviceTargetings.
      • getDeviceTargetings

        public DeviceTargeting getDeviceTargetings​(int index)
         target device types [MOBILE, CTV, WEB]
         
        repeated .streamlayer.interactive.DeviceTargeting device_targetings = 8 [json_name = "deviceTargetings"];
        Specified by:
        getDeviceTargetings in interface GeneralTabMetadataOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The deviceTargetings at the given index.
      • getDeviceTargetingsValueList

        public java.util.List<java.lang.Integer> getDeviceTargetingsValueList()
         target device types [MOBILE, CTV, WEB]
         
        repeated .streamlayer.interactive.DeviceTargeting device_targetings = 8 [json_name = "deviceTargetings"];
        Specified by:
        getDeviceTargetingsValueList in interface GeneralTabMetadataOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for deviceTargetings.
      • getDeviceTargetingsValue

        public int getDeviceTargetingsValue​(int index)
         target device types [MOBILE, CTV, WEB]
         
        repeated .streamlayer.interactive.DeviceTargeting device_targetings = 8 [json_name = "deviceTargetings"];
        Specified by:
        getDeviceTargetingsValue in interface GeneralTabMetadataOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of deviceTargetings at the given index.
      • getTagsList

        public java.util.List<java.lang.String> getTagsList()
         free-form tags for this ad
         
        repeated string tags = 9 [json_name = "tags"];
        Specified by:
        getTagsList in interface GeneralTabMetadataOrBuilder
        Returns:
        A list containing the tags.
      • getTagsCount

        public int getTagsCount()
         free-form tags for this ad
         
        repeated string tags = 9 [json_name = "tags"];
        Specified by:
        getTagsCount in interface GeneralTabMetadataOrBuilder
        Returns:
        The count of tags.
      • getTags

        public java.lang.String getTags​(int index)
         free-form tags for this ad
         
        repeated string tags = 9 [json_name = "tags"];
        Specified by:
        getTags in interface GeneralTabMetadataOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The tags at the given index.
      • getTagsBytes

        public com.google.protobuf.ByteString getTagsBytes​(int index)
         free-form tags for this ad
         
        repeated string tags = 9 [json_name = "tags"];
        Specified by:
        getTagsBytes in interface GeneralTabMetadataOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the tags at the given index.
      • parseFrom

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

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

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

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

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

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

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

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

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

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

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

        public static GeneralTabMetadata 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<GeneralTabMetadata,​GeneralTabMetadata.Builder>