public final class UserListDirectLicense extends GeneratedMessage implements UserListDirectLicenseOrBuilder
A user list direct license.
This feature is only available to data partners.
Protobuf type google.ads.datamanager.v1.UserListDirectLicense
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CLIENT_ACCOUNT_DISPLAY_NAME_FIELD_NUMBER
public static final int CLIENT_ACCOUNT_DISPLAY_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CLIENT_ACCOUNT_ID_FIELD_NUMBER
public static final int CLIENT_ACCOUNT_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CLIENT_ACCOUNT_TYPE_FIELD_NUMBER
public static final int CLIENT_ACCOUNT_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
HISTORICAL_PRICINGS_FIELD_NUMBER
public static final int HISTORICAL_PRICINGS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
METRICS_FIELD_NUMBER
public static final int METRICS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PRICING_FIELD_NUMBER
public static final int PRICING_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
USER_LIST_DISPLAY_NAME_FIELD_NUMBER
public static final int USER_LIST_DISPLAY_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
USER_LIST_ID_FIELD_NUMBER
public static final int USER_LIST_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static UserListDirectLicense getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UserListDirectLicense.Builder newBuilder()
newBuilder(UserListDirectLicense prototype)
public static UserListDirectLicense.Builder newBuilder(UserListDirectLicense prototype)
public static UserListDirectLicense parseDelimitedFrom(InputStream input)
public static UserListDirectLicense parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UserListDirectLicense parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UserListDirectLicense parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UserListDirectLicense parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UserListDirectLicense parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UserListDirectLicense parseFrom(CodedInputStream input)
public static UserListDirectLicense parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UserListDirectLicense parseFrom(InputStream input)
public static UserListDirectLicense parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UserListDirectLicense parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UserListDirectLicense parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UserListDirectLicense> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getClientAccountDisplayName()
public String getClientAccountDisplayName()
Output only. Name of client customer which the user list is being licensed
to.
This field is read-only.
string client_account_display_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The clientAccountDisplayName.
|
getClientAccountDisplayNameBytes()
public ByteString getClientAccountDisplayNameBytes()
Output only. Name of client customer which the user list is being licensed
to.
This field is read-only.
string client_account_display_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for clientAccountDisplayName.
|
getClientAccountId()
public long getClientAccountId()
Immutable. ID of client customer which the user list is being licensed to.
optional int64 client_account_id = 5 [(.google.api.field_behavior) = IMMUTABLE];
| Returns |
| Type |
Description |
long |
The clientAccountId.
|
getClientAccountType()
public UserListLicenseClientAccountType getClientAccountType()
Immutable. Account type of client customer which the user list is being
licensed to.
optional .google.ads.datamanager.v1.UserListLicenseClientAccountType client_account_type = 4 [(.google.api.field_behavior) = IMMUTABLE];
getClientAccountTypeValue()
public int getClientAccountTypeValue()
Immutable. Account type of client customer which the user list is being
licensed to.
optional .google.ads.datamanager.v1.UserListLicenseClientAccountType client_account_type = 4 [(.google.api.field_behavior) = IMMUTABLE];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for clientAccountType.
|
getDefaultInstanceForType()
public UserListDirectLicense getDefaultInstanceForType()
getHistoricalPricings(int index)
public UserListLicensePricing getHistoricalPricings(int index)
Output only. Pricing history of this user list license.
This field is read-only.
repeated .google.ads.datamanager.v1.UserListLicensePricing historical_pricings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getHistoricalPricingsCount()
public int getHistoricalPricingsCount()
Output only. Pricing history of this user list license.
This field is read-only.
repeated .google.ads.datamanager.v1.UserListLicensePricing historical_pricings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
|
getHistoricalPricingsList()
public List<UserListLicensePricing> getHistoricalPricingsList()
Output only. Pricing history of this user list license.
This field is read-only.
repeated .google.ads.datamanager.v1.UserListLicensePricing historical_pricings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getHistoricalPricingsOrBuilder(int index)
public UserListLicensePricingOrBuilder getHistoricalPricingsOrBuilder(int index)
Output only. Pricing history of this user list license.
This field is read-only.
repeated .google.ads.datamanager.v1.UserListLicensePricing historical_pricings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getHistoricalPricingsOrBuilderList()
public List<? extends UserListLicensePricingOrBuilder> getHistoricalPricingsOrBuilderList()
Output only. Pricing history of this user list license.
This field is read-only.
repeated .google.ads.datamanager.v1.UserListLicensePricing historical_pricings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
List<? extends com.google.ads.datamanager.v1.UserListLicensePricingOrBuilder> |
|
getMetrics()
public UserListLicenseMetrics getMetrics()
Output only. Metrics related to this license
This field is read-only and only populated if the start and end dates are
set in the ListUserListDirectLicenses call
.google.ads.datamanager.v1.UserListLicenseMetrics metrics = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getMetricsOrBuilder()
public UserListLicenseMetricsOrBuilder getMetricsOrBuilder()
Output only. Metrics related to this license
This field is read-only and only populated if the start and end dates are
set in the ListUserListDirectLicenses call
.google.ads.datamanager.v1.UserListLicenseMetrics metrics = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getName()
Identifier. The resource name of the user list direct license.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Identifier. The resource name of the user list direct license.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<UserListDirectLicense> getParserForType()
Overrides
getPricing()
public UserListLicensePricing getPricing()
Optional. UserListDirectLicense pricing.
.google.ads.datamanager.v1.UserListLicensePricing pricing = 8 [(.google.api.field_behavior) = OPTIONAL];
getPricingOrBuilder()
public UserListLicensePricingOrBuilder getPricingOrBuilder()
Optional. UserListDirectLicense pricing.
.google.ads.datamanager.v1.UserListLicensePricing pricing = 8 [(.google.api.field_behavior) = OPTIONAL];
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getStatus()
public UserListLicenseStatus getStatus()
Optional. Status of UserListDirectLicense - ENABLED or DISABLED.
optional .google.ads.datamanager.v1.UserListLicenseStatus status = 7 [(.google.api.field_behavior) = OPTIONAL];
getStatusValue()
public int getStatusValue()
Optional. Status of UserListDirectLicense - ENABLED or DISABLED.
optional .google.ads.datamanager.v1.UserListLicenseStatus status = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for status.
|
getUserListDisplayName()
public String getUserListDisplayName()
Output only. Name of the user list being licensed.
This field is read-only.
string user_list_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The userListDisplayName.
|
getUserListDisplayNameBytes()
public ByteString getUserListDisplayNameBytes()
Output only. Name of the user list being licensed.
This field is read-only.
string user_list_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for userListDisplayName.
|
getUserListId()
public long getUserListId()
Immutable. ID of the user list being licensed.
optional int64 user_list_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
| Returns |
| Type |
Description |
long |
The userListId.
|
hasClientAccountId()
public boolean hasClientAccountId()
Immutable. ID of client customer which the user list is being licensed to.
optional int64 client_account_id = 5 [(.google.api.field_behavior) = IMMUTABLE];
| Returns |
| Type |
Description |
boolean |
Whether the clientAccountId field is set.
|
hasClientAccountType()
public boolean hasClientAccountType()
Immutable. Account type of client customer which the user list is being
licensed to.
optional .google.ads.datamanager.v1.UserListLicenseClientAccountType client_account_type = 4 [(.google.api.field_behavior) = IMMUTABLE];
| Returns |
| Type |
Description |
boolean |
Whether the clientAccountType field is set.
|
hasMetrics()
public boolean hasMetrics()
Output only. Metrics related to this license
This field is read-only and only populated if the start and end dates are
set in the ListUserListDirectLicenses call
.google.ads.datamanager.v1.UserListLicenseMetrics metrics = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the metrics field is set.
|
hasPricing()
public boolean hasPricing()
Optional. UserListDirectLicense pricing.
.google.ads.datamanager.v1.UserListLicensePricing pricing = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the pricing field is set.
|
hasStatus()
public boolean hasStatus()
Optional. Status of UserListDirectLicense - ENABLED or DISABLED.
optional .google.ads.datamanager.v1.UserListLicenseStatus status = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the status field is set.
|
hasUserListId()
public boolean hasUserListId()
Immutable. ID of the user list being licensed.
optional int64 user_list_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
| Returns |
| Type |
Description |
boolean |
Whether the userListId field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UserListDirectLicense.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected UserListDirectLicense.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public UserListDirectLicense.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides