Class Destination (0.1.0)

public final class Destination extends GeneratedMessageV3 implements DestinationOrBuilder

The Google product you're sending data to. For example, a Google Ads account.

Protobuf type google.ads.datamanager.v1.Destination

Static Fields

LINKED_ACCOUNT_FIELD_NUMBER

public static final int LINKED_ACCOUNT_FIELD_NUMBER
Field Value
Type Description
int

LOGIN_ACCOUNT_FIELD_NUMBER

public static final int LOGIN_ACCOUNT_FIELD_NUMBER
Field Value
Type Description
int

OPERATING_ACCOUNT_FIELD_NUMBER

public static final int OPERATING_ACCOUNT_FIELD_NUMBER
Field Value
Type Description
int

PRODUCT_DESTINATION_ID_FIELD_NUMBER

public static final int PRODUCT_DESTINATION_ID_FIELD_NUMBER
Field Value
Type Description
int

REFERENCE_FIELD_NUMBER

public static final int REFERENCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Destination getDefaultInstance()
Returns
Type Description
Destination

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Destination.Builder newBuilder()
Returns
Type Description
Destination.Builder

newBuilder(Destination prototype)

public static Destination.Builder newBuilder(Destination prototype)
Parameter
Name Description
prototype Destination
Returns
Type Description
Destination.Builder

parseDelimitedFrom(InputStream input)

public static Destination parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Destination
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Destination parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Destination
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Destination parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Destination
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Destination parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Destination
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Destination parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Destination
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Destination parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Destination
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Destination parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Destination
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Destination parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Destination
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Destination parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Destination
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Destination parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Destination
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Destination parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Destination
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Destination parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Destination
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Destination> parser()
Returns
Type Description
Parser<Destination>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Destination getDefaultInstanceForType()
Returns
Type Description
Destination

getLinkedAccount()

public ProductAccount getLinkedAccount()

Optional. An account that the calling user's login_account has access to, through an established account link. For example, a data partner's login_account might have access to a client's linked_account. The partner might use this field to send data from the linked_account to another operating_account.

.google.ads.datamanager.v1.ProductAccount linked_account = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProductAccount

The linkedAccount.

getLinkedAccountOrBuilder()

public ProductAccountOrBuilder getLinkedAccountOrBuilder()

Optional. An account that the calling user's login_account has access to, through an established account link. For example, a data partner's login_account might have access to a client's linked_account. The partner might use this field to send data from the linked_account to another operating_account.

.google.ads.datamanager.v1.ProductAccount linked_account = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProductAccountOrBuilder

getLoginAccount()

public ProductAccount getLoginAccount()

Optional. The account used to make this API call. To add or remove data from the operating_account, this login_account must have write access to the operating_account. For example, a manager account of the operating_account, or an account with an established link to the operating_account.

.google.ads.datamanager.v1.ProductAccount login_account = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProductAccount

The loginAccount.

getLoginAccountOrBuilder()

public ProductAccountOrBuilder getLoginAccountOrBuilder()

Optional. The account used to make this API call. To add or remove data from the operating_account, this login_account must have write access to the operating_account. For example, a manager account of the operating_account, or an account with an established link to the operating_account.

.google.ads.datamanager.v1.ProductAccount login_account = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProductAccountOrBuilder

getOperatingAccount()

public ProductAccount getOperatingAccount()

Required. The account to send the data to or remove the data from.

.google.ads.datamanager.v1.ProductAccount operating_account = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProductAccount

The operatingAccount.

getOperatingAccountOrBuilder()

public ProductAccountOrBuilder getOperatingAccountOrBuilder()

Required. The account to send the data to or remove the data from.

.google.ads.datamanager.v1.ProductAccount operating_account = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProductAccountOrBuilder

getParserForType()

public Parser<Destination> getParserForType()
Returns
Type Description
Parser<Destination>
Overrides

getProductDestinationId()

public String getProductDestinationId()

Required. The object within the product account to ingest into. For example, a Google Ads audience ID, a Display & Video 360 audience ID or a Google Ads conversion action ID.

string product_destination_id = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The productDestinationId.

getProductDestinationIdBytes()

public ByteString getProductDestinationIdBytes()

Required. The object within the product account to ingest into. For example, a Google Ads audience ID, a Display & Video 360 audience ID or a Google Ads conversion action ID.

string product_destination_id = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for productDestinationId.

getReference()

public String getReference()

Optional. ID for this Destination resource, unique within the request. Use to reference this Destination in the IngestEventsRequest and IngestAudienceMembersRequest.

string reference = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The reference.

getReferenceBytes()

public ByteString getReferenceBytes()

Optional. ID for this Destination resource, unique within the request. Use to reference this Destination in the IngestEventsRequest and IngestAudienceMembersRequest.

string reference = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for reference.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasLinkedAccount()

public boolean hasLinkedAccount()

Optional. An account that the calling user's login_account has access to, through an established account link. For example, a data partner's login_account might have access to a client's linked_account. The partner might use this field to send data from the linked_account to another operating_account.

.google.ads.datamanager.v1.ProductAccount linked_account = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the linkedAccount field is set.

hasLoginAccount()

public boolean hasLoginAccount()

Optional. The account used to make this API call. To add or remove data from the operating_account, this login_account must have write access to the operating_account. For example, a manager account of the operating_account, or an account with an established link to the operating_account.

.google.ads.datamanager.v1.ProductAccount login_account = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the loginAccount field is set.

hasOperatingAccount()

public boolean hasOperatingAccount()

Required. The account to send the data to or remove the data from.

.google.ads.datamanager.v1.ProductAccount operating_account = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the operatingAccount field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Destination.Builder newBuilderForType()
Returns
Type Description
Destination.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Destination.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Destination.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Destination.Builder toBuilder()
Returns
Type Description
Destination.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException