Class FinalAppUrl.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FinalAppUrl.Builder>
com.google.ads.googleads.v23.common.FinalAppUrl.Builder
- All Implemented Interfaces:
FinalAppUrlOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FinalAppUrl
public static final class FinalAppUrl.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FinalAppUrl.Builder>
implements FinalAppUrlOrBuilder
A URL for deep linking into an app for the given operating system.Protobuf type
google.ads.googleads.v23.common.FinalAppUrl-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The operating system targeted by this URL.clearUrl()The app deep link URL.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe operating system targeted by this URL.intThe operating system targeted by this URL.getUrl()The app deep link URL.com.google.protobuf.ByteStringThe app deep link URL.booleanhasUrl()The app deep link URL.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(FinalAppUrl other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The operating system targeted by this URL.setOsTypeValue(int value) The operating system targeted by this URL.The app deep link URL.setUrlBytes(com.google.protobuf.ByteString value) The app deep link URL.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<FinalAppUrl.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<FinalAppUrl.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<FinalAppUrl.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FinalAppUrl.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FinalAppUrl.Builder>
-
mergeFrom
public FinalAppUrl.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FinalAppUrl.Builder>- Throws:
IOException
-
getOsTypeValue
public int getOsTypeValue()The operating system targeted by this URL. Required.
.google.ads.googleads.v23.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType os_type = 1;- Specified by:
getOsTypeValuein interfaceFinalAppUrlOrBuilder- Returns:
- The enum numeric value on the wire for osType.
-
setOsTypeValue
The operating system targeted by this URL. Required.
.google.ads.googleads.v23.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType os_type = 1;- Parameters:
value- The enum numeric value on the wire for osType to set.- Returns:
- This builder for chaining.
-
getOsType
The operating system targeted by this URL. Required.
.google.ads.googleads.v23.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType os_type = 1;- Specified by:
getOsTypein interfaceFinalAppUrlOrBuilder- Returns:
- The osType.
-
setOsType
The operating system targeted by this URL. Required.
.google.ads.googleads.v23.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType os_type = 1;- Parameters:
value- The osType to set.- Returns:
- This builder for chaining.
-
clearOsType
The operating system targeted by this URL. Required.
.google.ads.googleads.v23.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:
hasUrlin interfaceFinalAppUrlOrBuilder- Returns:
- Whether the url field is set.
-
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:
getUrlin interfaceFinalAppUrlOrBuilder- 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:
getUrlBytesin interfaceFinalAppUrlOrBuilder- Returns:
- The bytes for url.
-
setUrl
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
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
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.
-