Class DisplayVideo360AdvertiserLink

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink
All Implemented Interfaces:
DisplayVideo360AdvertiserLinkOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DisplayVideo360AdvertiserLink extends com.google.protobuf.GeneratedMessage implements DisplayVideo360AdvertiserLinkOrBuilder
 A link between a Google Analytics property and a Display & Video 360
 advertiser.
 
Protobuf type google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • ADVERTISER_ID_FIELD_NUMBER

      public static final int ADVERTISER_ID_FIELD_NUMBER
      See Also:
    • ADVERTISER_DISPLAY_NAME_FIELD_NUMBER

      public static final int ADVERTISER_DISPLAY_NAME_FIELD_NUMBER
      See Also:
    • ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER

      public static final int ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER
      See Also:
    • CAMPAIGN_DATA_SHARING_ENABLED_FIELD_NUMBER

      public static final int CAMPAIGN_DATA_SHARING_ENABLED_FIELD_NUMBER
      See Also:
    • COST_DATA_SHARING_ENABLED_FIELD_NUMBER

      public static final int COST_DATA_SHARING_ENABLED_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String getName()
       Identifier. The resource name for this DisplayVideo360AdvertiserLink
       resource. Format:
       properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
      
       Note: linkId is not the Display & Video 360 Advertiser ID
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface DisplayVideo360AdvertiserLinkOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name for this DisplayVideo360AdvertiserLink
       resource. Format:
       properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
      
       Note: linkId is not the Display & Video 360 Advertiser ID
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface DisplayVideo360AdvertiserLinkOrBuilder
      Returns:
      The bytes for name.
    • getAdvertiserId

      public String getAdvertiserId()
       Immutable. The Display & Video 360 Advertiser's advertiser ID.
       
      string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAdvertiserId in interface DisplayVideo360AdvertiserLinkOrBuilder
      Returns:
      The advertiserId.
    • getAdvertiserIdBytes

      public com.google.protobuf.ByteString getAdvertiserIdBytes()
       Immutable. The Display & Video 360 Advertiser's advertiser ID.
       
      string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAdvertiserIdBytes in interface DisplayVideo360AdvertiserLinkOrBuilder
      Returns:
      The bytes for advertiserId.
    • getAdvertiserDisplayName

      public String getAdvertiserDisplayName()
       Output only. The display name of the Display & Video 360 Advertiser.
       
      string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAdvertiserDisplayName in interface DisplayVideo360AdvertiserLinkOrBuilder
      Returns:
      The advertiserDisplayName.
    • getAdvertiserDisplayNameBytes

      public com.google.protobuf.ByteString getAdvertiserDisplayNameBytes()
       Output only. The display name of the Display & Video 360 Advertiser.
       
      string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAdvertiserDisplayNameBytes in interface DisplayVideo360AdvertiserLinkOrBuilder
      Returns:
      The bytes for advertiserDisplayName.
    • hasAdsPersonalizationEnabled

      public boolean hasAdsPersonalizationEnabled()
       Enables personalized advertising features with this integration.
       If this field is not set on create/update, it will be defaulted to true.
       
      .google.protobuf.BoolValue ads_personalization_enabled = 4;
      Specified by:
      hasAdsPersonalizationEnabled in interface DisplayVideo360AdvertiserLinkOrBuilder
      Returns:
      Whether the adsPersonalizationEnabled field is set.
    • getAdsPersonalizationEnabled

      public com.google.protobuf.BoolValue getAdsPersonalizationEnabled()
       Enables personalized advertising features with this integration.
       If this field is not set on create/update, it will be defaulted to true.
       
      .google.protobuf.BoolValue ads_personalization_enabled = 4;
      Specified by:
      getAdsPersonalizationEnabled in interface DisplayVideo360AdvertiserLinkOrBuilder
      Returns:
      The adsPersonalizationEnabled.
    • getAdsPersonalizationEnabledOrBuilder

      public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder()
       Enables personalized advertising features with this integration.
       If this field is not set on create/update, it will be defaulted to true.
       
      .google.protobuf.BoolValue ads_personalization_enabled = 4;
      Specified by:
      getAdsPersonalizationEnabledOrBuilder in interface DisplayVideo360AdvertiserLinkOrBuilder
    • hasCampaignDataSharingEnabled

      public boolean hasCampaignDataSharingEnabled()
       Immutable. Enables the import of campaign data from Display & Video 360
       into the Google Analytics property. After link creation, this can only be
       updated from the Display & Video 360 product. If this field is not set on
       create, it will be defaulted to true.
       
      .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasCampaignDataSharingEnabled in interface DisplayVideo360AdvertiserLinkOrBuilder
      Returns:
      Whether the campaignDataSharingEnabled field is set.
    • getCampaignDataSharingEnabled

      public com.google.protobuf.BoolValue getCampaignDataSharingEnabled()
       Immutable. Enables the import of campaign data from Display & Video 360
       into the Google Analytics property. After link creation, this can only be
       updated from the Display & Video 360 product. If this field is not set on
       create, it will be defaulted to true.
       
      .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getCampaignDataSharingEnabled in interface DisplayVideo360AdvertiserLinkOrBuilder
      Returns:
      The campaignDataSharingEnabled.
    • getCampaignDataSharingEnabledOrBuilder

      public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBuilder()
       Immutable. Enables the import of campaign data from Display & Video 360
       into the Google Analytics property. After link creation, this can only be
       updated from the Display & Video 360 product. If this field is not set on
       create, it will be defaulted to true.
       
      .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getCampaignDataSharingEnabledOrBuilder in interface DisplayVideo360AdvertiserLinkOrBuilder
    • hasCostDataSharingEnabled

      public boolean hasCostDataSharingEnabled()
       Immutable. Enables the import of cost data from Display & Video 360 into
       the Google Analytics property. This can only be enabled if
       `campaign_data_sharing_enabled` is true. After link creation, this can
       only be updated from the Display & Video 360 product. If this field is not
       set on create, it will be defaulted to true.
       
      .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasCostDataSharingEnabled in interface DisplayVideo360AdvertiserLinkOrBuilder
      Returns:
      Whether the costDataSharingEnabled field is set.
    • getCostDataSharingEnabled

      public com.google.protobuf.BoolValue getCostDataSharingEnabled()
       Immutable. Enables the import of cost data from Display & Video 360 into
       the Google Analytics property. This can only be enabled if
       `campaign_data_sharing_enabled` is true. After link creation, this can
       only be updated from the Display & Video 360 product. If this field is not
       set on create, it will be defaulted to true.
       
      .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getCostDataSharingEnabled in interface DisplayVideo360AdvertiserLinkOrBuilder
      Returns:
      The costDataSharingEnabled.
    • getCostDataSharingEnabledOrBuilder

      public com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder()
       Immutable. Enables the import of cost data from Display & Video 360 into
       the Google Analytics property. This can only be enabled if
       `campaign_data_sharing_enabled` is true. After link creation, this can
       only be updated from the Display & Video 360 product. If this field is not
       set on create, it will be defaulted to true.
       
      .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getCostDataSharingEnabledOrBuilder in interface DisplayVideo360AdvertiserLinkOrBuilder
    • isInitialized

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

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

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

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

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

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

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

      public static DisplayVideo360AdvertiserLink parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static DisplayVideo360AdvertiserLink parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static DisplayVideo360AdvertiserLink.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DisplayVideo360AdvertiserLink.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DisplayVideo360AdvertiserLink getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<DisplayVideo360AdvertiserLink> 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.GeneratedMessage
    • getDefaultInstanceForType

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