Class ThirdPartyAppAnalyticsLinkIdentifier.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ThirdPartyAppAnalyticsLinkIdentifier.Builder>
com.google.ads.googleads.v18.resources.ThirdPartyAppAnalyticsLinkIdentifier.Builder
- All Implemented Interfaces:
ThirdPartyAppAnalyticsLinkIdentifierOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ThirdPartyAppAnalyticsLinkIdentifier
public static final class ThirdPartyAppAnalyticsLinkIdentifier.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ThirdPartyAppAnalyticsLinkIdentifier.Builder>
implements ThirdPartyAppAnalyticsLinkIdentifierOrBuilder
The identifiers of a Third Party App Analytics Link.Protobuf type
google.ads.googleads.v18.resources.ThirdPartyAppAnalyticsLinkIdentifier-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Immutable.Immutable.Immutable.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()longImmutable.getAppId()Immutable.com.google.protobuf.ByteStringImmutable.Immutable.intImmutable.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanImmutable.booleanhasAppId()Immutable.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAppAnalyticsProviderId(long value) Immutable.Immutable.setAppIdBytes(com.google.protobuf.ByteString value) Immutable.Immutable.setAppVendorValue(int value) Immutable.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ThirdPartyAppAnalyticsLinkIdentifier.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<ThirdPartyAppAnalyticsLinkIdentifier.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<ThirdPartyAppAnalyticsLinkIdentifier.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ThirdPartyAppAnalyticsLinkIdentifier.Builder>
-
setField
public ThirdPartyAppAnalyticsLinkIdentifier.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ThirdPartyAppAnalyticsLinkIdentifier.Builder>
-
clearField
public ThirdPartyAppAnalyticsLinkIdentifier.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ThirdPartyAppAnalyticsLinkIdentifier.Builder>
-
clearOneof
public ThirdPartyAppAnalyticsLinkIdentifier.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ThirdPartyAppAnalyticsLinkIdentifier.Builder>
-
setRepeatedField
public ThirdPartyAppAnalyticsLinkIdentifier.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ThirdPartyAppAnalyticsLinkIdentifier.Builder>
-
addRepeatedField
public ThirdPartyAppAnalyticsLinkIdentifier.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ThirdPartyAppAnalyticsLinkIdentifier.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ThirdPartyAppAnalyticsLinkIdentifier.Builder>
-
mergeFrom
public ThirdPartyAppAnalyticsLinkIdentifier.Builder mergeFrom(ThirdPartyAppAnalyticsLinkIdentifier other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ThirdPartyAppAnalyticsLinkIdentifier.Builder>
-
mergeFrom
public ThirdPartyAppAnalyticsLinkIdentifier.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<ThirdPartyAppAnalyticsLinkIdentifier.Builder>- Throws:
IOException
-
hasAppAnalyticsProviderId
public boolean hasAppAnalyticsProviderId()Immutable. The ID of the app analytics provider. This field should not be empty when creating a new third party app analytics link. It is unable to be modified after the creation of the link.
optional int64 app_analytics_provider_id = 4 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasAppAnalyticsProviderIdin interfaceThirdPartyAppAnalyticsLinkIdentifierOrBuilder- Returns:
- Whether the appAnalyticsProviderId field is set.
-
getAppAnalyticsProviderId
public long getAppAnalyticsProviderId()Immutable. The ID of the app analytics provider. This field should not be empty when creating a new third party app analytics link. It is unable to be modified after the creation of the link.
optional int64 app_analytics_provider_id = 4 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getAppAnalyticsProviderIdin interfaceThirdPartyAppAnalyticsLinkIdentifierOrBuilder- Returns:
- The appAnalyticsProviderId.
-
setAppAnalyticsProviderId
Immutable. The ID of the app analytics provider. This field should not be empty when creating a new third party app analytics link. It is unable to be modified after the creation of the link.
optional int64 app_analytics_provider_id = 4 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The appAnalyticsProviderId to set.- Returns:
- This builder for chaining.
-
clearAppAnalyticsProviderId
Immutable. The ID of the app analytics provider. This field should not be empty when creating a new third party app analytics link. It is unable to be modified after the creation of the link.
optional int64 app_analytics_provider_id = 4 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
hasAppId
public boolean hasAppId()Immutable. A string that uniquely identifies a mobile application from which the data was collected to the Google Ads API. For iOS, the ID string is the 9 digit string that appears at the end of an App Store URL (for example, "422689480" for "Gmail" whose App Store link is https://apps.apple.com/us/app/gmail-email-by-google/id422689480). For Android, the ID string is the application's package name (for example, "com.google.android.gm" for "Gmail" given Google Play link https://play.google.com/store/apps/details?id=com.google.android.gm) This field should not be empty when creating a new third party app analytics link. It is unable to be modified after the creation of the link.
optional string app_id = 5 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasAppIdin interfaceThirdPartyAppAnalyticsLinkIdentifierOrBuilder- Returns:
- Whether the appId field is set.
-
getAppId
Immutable. A string that uniquely identifies a mobile application from which the data was collected to the Google Ads API. For iOS, the ID string is the 9 digit string that appears at the end of an App Store URL (for example, "422689480" for "Gmail" whose App Store link is https://apps.apple.com/us/app/gmail-email-by-google/id422689480). For Android, the ID string is the application's package name (for example, "com.google.android.gm" for "Gmail" given Google Play link https://play.google.com/store/apps/details?id=com.google.android.gm) This field should not be empty when creating a new third party app analytics link. It is unable to be modified after the creation of the link.
optional string app_id = 5 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getAppIdin interfaceThirdPartyAppAnalyticsLinkIdentifierOrBuilder- Returns:
- The appId.
-
getAppIdBytes
public com.google.protobuf.ByteString getAppIdBytes()Immutable. A string that uniquely identifies a mobile application from which the data was collected to the Google Ads API. For iOS, the ID string is the 9 digit string that appears at the end of an App Store URL (for example, "422689480" for "Gmail" whose App Store link is https://apps.apple.com/us/app/gmail-email-by-google/id422689480). For Android, the ID string is the application's package name (for example, "com.google.android.gm" for "Gmail" given Google Play link https://play.google.com/store/apps/details?id=com.google.android.gm) This field should not be empty when creating a new third party app analytics link. It is unable to be modified after the creation of the link.
optional string app_id = 5 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getAppIdBytesin interfaceThirdPartyAppAnalyticsLinkIdentifierOrBuilder- Returns:
- The bytes for appId.
-
setAppId
Immutable. A string that uniquely identifies a mobile application from which the data was collected to the Google Ads API. For iOS, the ID string is the 9 digit string that appears at the end of an App Store URL (for example, "422689480" for "Gmail" whose App Store link is https://apps.apple.com/us/app/gmail-email-by-google/id422689480). For Android, the ID string is the application's package name (for example, "com.google.android.gm" for "Gmail" given Google Play link https://play.google.com/store/apps/details?id=com.google.android.gm) This field should not be empty when creating a new third party app analytics link. It is unable to be modified after the creation of the link.
optional string app_id = 5 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The appId to set.- Returns:
- This builder for chaining.
-
clearAppId
Immutable. A string that uniquely identifies a mobile application from which the data was collected to the Google Ads API. For iOS, the ID string is the 9 digit string that appears at the end of an App Store URL (for example, "422689480" for "Gmail" whose App Store link is https://apps.apple.com/us/app/gmail-email-by-google/id422689480). For Android, the ID string is the application's package name (for example, "com.google.android.gm" for "Gmail" given Google Play link https://play.google.com/store/apps/details?id=com.google.android.gm) This field should not be empty when creating a new third party app analytics link. It is unable to be modified after the creation of the link.
optional string app_id = 5 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setAppIdBytes
public ThirdPartyAppAnalyticsLinkIdentifier.Builder setAppIdBytes(com.google.protobuf.ByteString value) Immutable. A string that uniquely identifies a mobile application from which the data was collected to the Google Ads API. For iOS, the ID string is the 9 digit string that appears at the end of an App Store URL (for example, "422689480" for "Gmail" whose App Store link is https://apps.apple.com/us/app/gmail-email-by-google/id422689480). For Android, the ID string is the application's package name (for example, "com.google.android.gm" for "Gmail" given Google Play link https://play.google.com/store/apps/details?id=com.google.android.gm) This field should not be empty when creating a new third party app analytics link. It is unable to be modified after the creation of the link.
optional string app_id = 5 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for appId to set.- Returns:
- This builder for chaining.
-
getAppVendorValue
public int getAppVendorValue()Immutable. The vendor of the app. This field should not be empty when creating a new third party app analytics link. It is unable to be modified after the creation of the link.
.google.ads.googleads.v18.enums.MobileAppVendorEnum.MobileAppVendor app_vendor = 3 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getAppVendorValuein interfaceThirdPartyAppAnalyticsLinkIdentifierOrBuilder- Returns:
- The enum numeric value on the wire for appVendor.
-
setAppVendorValue
Immutable. The vendor of the app. This field should not be empty when creating a new third party app analytics link. It is unable to be modified after the creation of the link.
.google.ads.googleads.v18.enums.MobileAppVendorEnum.MobileAppVendor app_vendor = 3 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The enum numeric value on the wire for appVendor to set.- Returns:
- This builder for chaining.
-
getAppVendor
Immutable. The vendor of the app. This field should not be empty when creating a new third party app analytics link. It is unable to be modified after the creation of the link.
.google.ads.googleads.v18.enums.MobileAppVendorEnum.MobileAppVendor app_vendor = 3 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getAppVendorin interfaceThirdPartyAppAnalyticsLinkIdentifierOrBuilder- Returns:
- The appVendor.
-
setAppVendor
public ThirdPartyAppAnalyticsLinkIdentifier.Builder setAppVendor(MobileAppVendorEnum.MobileAppVendor value) Immutable. The vendor of the app. This field should not be empty when creating a new third party app analytics link. It is unable to be modified after the creation of the link.
.google.ads.googleads.v18.enums.MobileAppVendorEnum.MobileAppVendor app_vendor = 3 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The appVendor to set.- Returns:
- This builder for chaining.
-
clearAppVendor
Immutable. The vendor of the app. This field should not be empty when creating a new third party app analytics link. It is unable to be modified after the creation of the link.
.google.ads.googleads.v18.enums.MobileAppVendorEnum.MobileAppVendor app_vendor = 3 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setUnknownFields
public final ThirdPartyAppAnalyticsLinkIdentifier.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ThirdPartyAppAnalyticsLinkIdentifier.Builder>
-
mergeUnknownFields
public final ThirdPartyAppAnalyticsLinkIdentifier.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ThirdPartyAppAnalyticsLinkIdentifier.Builder>
-