Class FinalAppUrl.Builder

  • All Implemented Interfaces:
    FinalAppUrlOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable
    Enclosing class:
    FinalAppUrl

    public static final class FinalAppUrl.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<FinalAppUrl.Builder>
    implements FinalAppUrlOrBuilder
     A URL for deep linking into an app for the given operating system.
     
    Protobuf type google.ads.googleads.v10.common.FinalAppUrl
    • 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<FinalAppUrl.Builder>
      • clear

        public FinalAppUrl.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<FinalAppUrl.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<FinalAppUrl.Builder>
      • getDefaultInstanceForType

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

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

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

        public FinalAppUrl.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<FinalAppUrl.Builder>
      • setField

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

        public FinalAppUrl.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<FinalAppUrl.Builder>
      • clearOneof

        public FinalAppUrl.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<FinalAppUrl.Builder>
      • setRepeatedField

        public FinalAppUrl.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<FinalAppUrl.Builder>
      • addRepeatedField

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

        public FinalAppUrl.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<FinalAppUrl.Builder>
      • isInitialized

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

        public FinalAppUrl.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<FinalAppUrl.Builder>
        Throws:
        java.io.IOException
      • getOsTypeValue

        public int getOsTypeValue()
         The operating system targeted by this URL. Required.
         
        .google.ads.googleads.v10.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType os_type = 1;
        Specified by:
        getOsTypeValue in interface FinalAppUrlOrBuilder
        Returns:
        The enum numeric value on the wire for osType.
      • setOsTypeValue

        public FinalAppUrl.Builder setOsTypeValue​(int value)
         The operating system targeted by this URL. Required.
         
        .google.ads.googleads.v10.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType os_type = 1;
        Parameters:
        value - The enum numeric value on the wire for osType to set.
        Returns:
        This builder for chaining.
      • clearOsType

        public FinalAppUrl.Builder clearOsType()
         The operating system targeted by this URL. Required.
         
        .google.ads.googleads.v10.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType os_type = 1;
        Returns:
        This builder for chaining.
      • hasUrl

        public boolean hasUrl()
         The app deep link URL. Deep links specify a location in an app that
         corresponds to the content you'd like to show, and should be of the form
         {scheme}://{host_path}
         The scheme identifies which app to open. For your app, you can use a custom
         scheme that starts with the app's name. The host and path specify the
         unique location in the app where your content exists.
         Example: "exampleapp://productid_1234". Required.
         
        optional string url = 3;
        Specified by:
        hasUrl in interface FinalAppUrlOrBuilder
        Returns:
        Whether the url field is set.
      • getUrl

        public java.lang.String getUrl()
         The app deep link URL. Deep links specify a location in an app that
         corresponds to the content you'd like to show, and should be of the form
         {scheme}://{host_path}
         The scheme identifies which app to open. For your app, you can use a custom
         scheme that starts with the app's name. The host and path specify the
         unique location in the app where your content exists.
         Example: "exampleapp://productid_1234". Required.
         
        optional string url = 3;
        Specified by:
        getUrl in interface FinalAppUrlOrBuilder
        Returns:
        The url.
      • getUrlBytes

        public com.google.protobuf.ByteString getUrlBytes()
         The app deep link URL. Deep links specify a location in an app that
         corresponds to the content you'd like to show, and should be of the form
         {scheme}://{host_path}
         The scheme identifies which app to open. For your app, you can use a custom
         scheme that starts with the app's name. The host and path specify the
         unique location in the app where your content exists.
         Example: "exampleapp://productid_1234". Required.
         
        optional string url = 3;
        Specified by:
        getUrlBytes in interface FinalAppUrlOrBuilder
        Returns:
        The bytes for url.
      • setUrl

        public FinalAppUrl.Builder setUrl​(java.lang.String value)
         The app deep link URL. Deep links specify a location in an app that
         corresponds to the content you'd like to show, and should be of the form
         {scheme}://{host_path}
         The scheme identifies which app to open. For your app, you can use a custom
         scheme that starts with the app's name. The host and path specify the
         unique location in the app where your content exists.
         Example: "exampleapp://productid_1234". Required.
         
        optional string url = 3;
        Parameters:
        value - The url to set.
        Returns:
        This builder for chaining.
      • clearUrl

        public FinalAppUrl.Builder clearUrl()
         The app deep link URL. Deep links specify a location in an app that
         corresponds to the content you'd like to show, and should be of the form
         {scheme}://{host_path}
         The scheme identifies which app to open. For your app, you can use a custom
         scheme that starts with the app's name. The host and path specify the
         unique location in the app where your content exists.
         Example: "exampleapp://productid_1234". Required.
         
        optional string url = 3;
        Returns:
        This builder for chaining.
      • setUrlBytes

        public FinalAppUrl.Builder setUrlBytes​(com.google.protobuf.ByteString value)
         The app deep link URL. Deep links specify a location in an app that
         corresponds to the content you'd like to show, and should be of the form
         {scheme}://{host_path}
         The scheme identifies which app to open. For your app, you can use a custom
         scheme that starts with the app's name. The host and path specify the
         unique location in the app where your content exists.
         Example: "exampleapp://productid_1234". Required.
         
        optional string url = 3;
        Parameters:
        value - The bytes for url to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final FinalAppUrl.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<FinalAppUrl.Builder>
      • mergeUnknownFields

        public final FinalAppUrl.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<FinalAppUrl.Builder>