Class DisplayVideo360AdvertiserLink.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DisplayVideo360AdvertiserLink.Builder>
com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder
All Implemented Interfaces:
DisplayVideo360AdvertiserLinkOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DisplayVideo360AdvertiserLink

public static final class DisplayVideo360AdvertiserLink.Builder extends com.google.protobuf.GeneratedMessage.Builder<DisplayVideo360AdvertiserLink.Builder> implements DisplayVideo360AdvertiserLinkOrBuilder
 A link between a Google Analytics property and a Display & Video 360
 advertiser.
 
Protobuf type google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink
  • 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.Builder<DisplayVideo360AdvertiserLink.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DisplayVideo360AdvertiserLink.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DisplayVideo360AdvertiserLink.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public DisplayVideo360AdvertiserLink.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DisplayVideo360AdvertiserLink.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DisplayVideo360AdvertiserLink.Builder>
    • mergeFrom

      public DisplayVideo360AdvertiserLink.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DisplayVideo360AdvertiserLink.Builder>
      Throws:
      IOException
    • 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.
    • setName

       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];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       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];
      Returns:
      This builder for chaining.
    • setNameBytes

      public DisplayVideo360AdvertiserLink.Builder setNameBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • 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.
    • setAdvertiserId

      public DisplayVideo360AdvertiserLink.Builder setAdvertiserId(String value)
       Immutable. The Display & Video 360 Advertiser's advertiser ID.
       
      string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The advertiserId to set.
      Returns:
      This builder for chaining.
    • clearAdvertiserId

      public DisplayVideo360AdvertiserLink.Builder clearAdvertiserId()
       Immutable. The Display & Video 360 Advertiser's advertiser ID.
       
      string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setAdvertiserIdBytes

      public DisplayVideo360AdvertiserLink.Builder setAdvertiserIdBytes(com.google.protobuf.ByteString value)
       Immutable. The Display & Video 360 Advertiser's advertiser ID.
       
      string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The bytes for advertiserId to set.
      Returns:
      This builder for chaining.
    • 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.
    • setAdvertiserDisplayName

      public DisplayVideo360AdvertiserLink.Builder setAdvertiserDisplayName(String value)
       Output only. The display name of the Display & Video 360 Advertiser.
       
      string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The advertiserDisplayName to set.
      Returns:
      This builder for chaining.
    • clearAdvertiserDisplayName

      public DisplayVideo360AdvertiserLink.Builder clearAdvertiserDisplayName()
       Output only. The display name of the Display & Video 360 Advertiser.
       
      string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setAdvertiserDisplayNameBytes

      public DisplayVideo360AdvertiserLink.Builder setAdvertiserDisplayNameBytes(com.google.protobuf.ByteString value)
       Output only. The display name of the Display & Video 360 Advertiser.
       
      string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for advertiserDisplayName to set.
      Returns:
      This builder for chaining.
    • 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.
    • setAdsPersonalizationEnabled

      public DisplayVideo360AdvertiserLink.Builder setAdsPersonalizationEnabled(com.google.protobuf.BoolValue value)
       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;
    • setAdsPersonalizationEnabled

      public DisplayVideo360AdvertiserLink.Builder setAdsPersonalizationEnabled(com.google.protobuf.BoolValue.Builder builderForValue)
       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;
    • mergeAdsPersonalizationEnabled

      public DisplayVideo360AdvertiserLink.Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue value)
       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;
    • clearAdsPersonalizationEnabled

      public DisplayVideo360AdvertiserLink.Builder clearAdsPersonalizationEnabled()
       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;
    • getAdsPersonalizationEnabledBuilder

      public com.google.protobuf.BoolValue.Builder getAdsPersonalizationEnabledBuilder()
       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;
    • 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.
    • setCampaignDataSharingEnabled

      public DisplayVideo360AdvertiserLink.Builder setCampaignDataSharingEnabled(com.google.protobuf.BoolValue value)
       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];
    • setCampaignDataSharingEnabled

      public DisplayVideo360AdvertiserLink.Builder setCampaignDataSharingEnabled(com.google.protobuf.BoolValue.Builder builderForValue)
       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];
    • mergeCampaignDataSharingEnabled

      public DisplayVideo360AdvertiserLink.Builder mergeCampaignDataSharingEnabled(com.google.protobuf.BoolValue value)
       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];
    • clearCampaignDataSharingEnabled

      public DisplayVideo360AdvertiserLink.Builder clearCampaignDataSharingEnabled()
       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];
    • getCampaignDataSharingEnabledBuilder

      public com.google.protobuf.BoolValue.Builder getCampaignDataSharingEnabledBuilder()
       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];
    • 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.
    • setCostDataSharingEnabled

      public DisplayVideo360AdvertiserLink.Builder setCostDataSharingEnabled(com.google.protobuf.BoolValue value)
       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];
    • setCostDataSharingEnabled

      public DisplayVideo360AdvertiserLink.Builder setCostDataSharingEnabled(com.google.protobuf.BoolValue.Builder builderForValue)
       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];
    • mergeCostDataSharingEnabled

      public DisplayVideo360AdvertiserLink.Builder mergeCostDataSharingEnabled(com.google.protobuf.BoolValue value)
       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];
    • clearCostDataSharingEnabled

      public DisplayVideo360AdvertiserLink.Builder clearCostDataSharingEnabled()
       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];
    • getCostDataSharingEnabledBuilder

      public com.google.protobuf.BoolValue.Builder getCostDataSharingEnabledBuilder()
       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];
    • 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