Class ThirdPartyAppAnalyticsLink.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ThirdPartyAppAnalyticsLink.Builder>
com.google.ads.googleads.v22.resources.ThirdPartyAppAnalyticsLink.Builder
All Implemented Interfaces:
ThirdPartyAppAnalyticsLinkOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ThirdPartyAppAnalyticsLink

public static final class ThirdPartyAppAnalyticsLink.Builder extends com.google.protobuf.GeneratedMessage.Builder<ThirdPartyAppAnalyticsLink.Builder> implements ThirdPartyAppAnalyticsLinkOrBuilder
 A data sharing connection, allowing the import of third party app analytics
 into a Google Ads Customer.
 
Protobuf type google.ads.googleads.v22.resources.ThirdPartyAppAnalyticsLink
  • 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<ThirdPartyAppAnalyticsLink.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<ThirdPartyAppAnalyticsLink.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<ThirdPartyAppAnalyticsLink.Builder>
    • getDefaultInstanceForType

      public ThirdPartyAppAnalyticsLink 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 ThirdPartyAppAnalyticsLink buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ThirdPartyAppAnalyticsLink.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<ThirdPartyAppAnalyticsLink.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<ThirdPartyAppAnalyticsLink.Builder>
    • mergeFrom

      public ThirdPartyAppAnalyticsLink.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<ThirdPartyAppAnalyticsLink.Builder>
      Throws:
      IOException
    • getResourceName

      public String getResourceName()
       Immutable. The resource name of the third party app analytics link.
       Third party app analytics link resource names have the form:
      
       `customers/{customer_id}/thirdPartyAppAnalyticsLinks/{account_link_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceName in interface ThirdPartyAppAnalyticsLinkOrBuilder
      Returns:
      The resourceName.
    • getResourceNameBytes

      public com.google.protobuf.ByteString getResourceNameBytes()
       Immutable. The resource name of the third party app analytics link.
       Third party app analytics link resource names have the form:
      
       `customers/{customer_id}/thirdPartyAppAnalyticsLinks/{account_link_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceNameBytes in interface ThirdPartyAppAnalyticsLinkOrBuilder
      Returns:
      The bytes for resourceName.
    • setResourceName

      public ThirdPartyAppAnalyticsLink.Builder setResourceName(String value)
       Immutable. The resource name of the third party app analytics link.
       Third party app analytics link resource names have the form:
      
       `customers/{customer_id}/thirdPartyAppAnalyticsLinks/{account_link_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The resourceName to set.
      Returns:
      This builder for chaining.
    • clearResourceName

      public ThirdPartyAppAnalyticsLink.Builder clearResourceName()
       Immutable. The resource name of the third party app analytics link.
       Third party app analytics link resource names have the form:
      
       `customers/{customer_id}/thirdPartyAppAnalyticsLinks/{account_link_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setResourceNameBytes

      public ThirdPartyAppAnalyticsLink.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
       Immutable. The resource name of the third party app analytics link.
       Third party app analytics link resource names have the form:
      
       `customers/{customer_id}/thirdPartyAppAnalyticsLinks/{account_link_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for resourceName to set.
      Returns:
      This builder for chaining.
    • hasShareableLinkId

      public boolean hasShareableLinkId()
       Output only. The shareable link ID that should be provided to the third
       party when setting up app analytics. This is able to be regenerated using
       regenerate method in the ThirdPartyAppAnalyticsLinkService.
       
      optional string shareable_link_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasShareableLinkId in interface ThirdPartyAppAnalyticsLinkOrBuilder
      Returns:
      Whether the shareableLinkId field is set.
    • getShareableLinkId

      public String getShareableLinkId()
       Output only. The shareable link ID that should be provided to the third
       party when setting up app analytics. This is able to be regenerated using
       regenerate method in the ThirdPartyAppAnalyticsLinkService.
       
      optional string shareable_link_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getShareableLinkId in interface ThirdPartyAppAnalyticsLinkOrBuilder
      Returns:
      The shareableLinkId.
    • getShareableLinkIdBytes

      public com.google.protobuf.ByteString getShareableLinkIdBytes()
       Output only. The shareable link ID that should be provided to the third
       party when setting up app analytics. This is able to be regenerated using
       regenerate method in the ThirdPartyAppAnalyticsLinkService.
       
      optional string shareable_link_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getShareableLinkIdBytes in interface ThirdPartyAppAnalyticsLinkOrBuilder
      Returns:
      The bytes for shareableLinkId.
    • setShareableLinkId

      public ThirdPartyAppAnalyticsLink.Builder setShareableLinkId(String value)
       Output only. The shareable link ID that should be provided to the third
       party when setting up app analytics. This is able to be regenerated using
       regenerate method in the ThirdPartyAppAnalyticsLinkService.
       
      optional string shareable_link_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The shareableLinkId to set.
      Returns:
      This builder for chaining.
    • clearShareableLinkId

      public ThirdPartyAppAnalyticsLink.Builder clearShareableLinkId()
       Output only. The shareable link ID that should be provided to the third
       party when setting up app analytics. This is able to be regenerated using
       regenerate method in the ThirdPartyAppAnalyticsLinkService.
       
      optional string shareable_link_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setShareableLinkIdBytes

      public ThirdPartyAppAnalyticsLink.Builder setShareableLinkIdBytes(com.google.protobuf.ByteString value)
       Output only. The shareable link ID that should be provided to the third
       party when setting up app analytics. This is able to be regenerated using
       regenerate method in the ThirdPartyAppAnalyticsLinkService.
       
      optional string shareable_link_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for shareableLinkId to set.
      Returns:
      This builder for chaining.