Class FinalAppUrl.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<FinalAppUrl.Builder>
-
- com.google.ads.googleads.v14.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,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 typegoogle.ads.googleads.v14.common.FinalAppUrl
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FinalAppUrl.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)FinalAppUrlbuild()FinalAppUrlbuildPartial()FinalAppUrl.Builderclear()FinalAppUrl.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)FinalAppUrl.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)FinalAppUrl.BuilderclearOsType()The operating system targeted by this URL.FinalAppUrl.BuilderclearUrl()The app deep link URL.FinalAppUrl.Builderclone()FinalAppUrlgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemTypegetOsType()The operating system targeted by this URL.intgetOsTypeValue()The operating system targeted by this URL.java.lang.StringgetUrl()The app deep link URL.com.google.protobuf.ByteStringgetUrlBytes()The app deep link URL.booleanhasUrl()The app deep link URL.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()FinalAppUrl.BuildermergeFrom(FinalAppUrl other)FinalAppUrl.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)FinalAppUrl.BuildermergeFrom(com.google.protobuf.Message other)FinalAppUrl.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)FinalAppUrl.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)FinalAppUrl.BuildersetOsType(AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType value)The operating system targeted by this URL.FinalAppUrl.BuildersetOsTypeValue(int value)The operating system targeted by this URL.FinalAppUrl.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)FinalAppUrl.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)FinalAppUrl.BuildersetUrl(java.lang.String value)The app deep link URL.FinalAppUrl.BuildersetUrlBytes(com.google.protobuf.ByteString value)The app deep link URL.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<FinalAppUrl.Builder>
-
clear
public FinalAppUrl.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<FinalAppUrl.Builder>
-
getDefaultInstanceForType
public FinalAppUrl getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public FinalAppUrl build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FinalAppUrl buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FinalAppUrl.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<FinalAppUrl.Builder>
-
setField
public FinalAppUrl.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FinalAppUrl.Builder>
-
clearField
public FinalAppUrl.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FinalAppUrl.Builder>
-
clearOneof
public FinalAppUrl.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FinalAppUrl.Builder>
-
addRepeatedField
public FinalAppUrl.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FinalAppUrl.Builder>
-
mergeFrom
public FinalAppUrl.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FinalAppUrl.Builder>
-
mergeFrom
public FinalAppUrl.Builder mergeFrom(FinalAppUrl other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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.v14.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType os_type = 1;- Specified by:
getOsTypeValuein interfaceFinalAppUrlOrBuilder- 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.v14.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
public AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType getOsType()
The operating system targeted by this URL. Required.
.google.ads.googleads.v14.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType os_type = 1;- Specified by:
getOsTypein interfaceFinalAppUrlOrBuilder- Returns:
- The osType.
-
setOsType
public FinalAppUrl.Builder setOsType(AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType value)
The operating system targeted by this URL. Required.
.google.ads.googleads.v14.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType os_type = 1;- Parameters:
value- The osType to set.- Returns:
- This builder for chaining.
-
clearOsType
public FinalAppUrl.Builder clearOsType()
The operating system targeted by this URL. Required.
.google.ads.googleads.v14.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
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:
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
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FinalAppUrl.Builder>
-
mergeUnknownFields
public final FinalAppUrl.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FinalAppUrl.Builder>
-
-