Class ThirdPartyAppAnalyticsLink.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ThirdPartyAppAnalyticsLink.Builder>
com.google.ads.googleads.v18.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.GeneratedMessageV3.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.v18.resources.ThirdPartyAppAnalyticsLink
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ThirdPartyAppAnalyticsLink.Builder>
    • setField

      public ThirdPartyAppAnalyticsLink.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ThirdPartyAppAnalyticsLink.Builder>
    • clearField

      public ThirdPartyAppAnalyticsLink.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ThirdPartyAppAnalyticsLink.Builder>
    • clearOneof

      public ThirdPartyAppAnalyticsLink.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ThirdPartyAppAnalyticsLink.Builder>
    • setRepeatedField

      public ThirdPartyAppAnalyticsLink.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ThirdPartyAppAnalyticsLink.Builder>
    • addRepeatedField

      public ThirdPartyAppAnalyticsLink.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ThirdPartyAppAnalyticsLink.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.GeneratedMessageV3.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.
    • setUnknownFields

      public final ThirdPartyAppAnalyticsLink.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ThirdPartyAppAnalyticsLink.Builder>
    • mergeUnknownFields

      public final ThirdPartyAppAnalyticsLink.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ThirdPartyAppAnalyticsLink.Builder>