Class ThirdPartyAppAnalyticsLink.Builder

  • All Implemented Interfaces:
    ThirdPartyAppAnalyticsLinkOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.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.v10.resources.ThirdPartyAppAnalyticsLink
    • Method Detail

      • 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>
      • 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

        public ThirdPartyAppAnalyticsLink 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
      • setRepeatedField

        public ThirdPartyAppAnalyticsLink.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                   int index,
                                                                   java.lang.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,
                                                                   java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ThirdPartyAppAnalyticsLink.Builder>
      • 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 java.io.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:
        java.io.IOException
      • getResourceName

        public java.lang.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​(java.lang.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 java.lang.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​(java.lang.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>