public final class CustomTargetingValue extends GeneratedMessageV3 implements CustomTargetingValueOrBuilder
The CustomTargetingValue
resource.
Protobuf type google.ads.admanager.v1.CustomTargetingValue
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AD_TAG_NAME_FIELD_NUMBER
public static final int AD_TAG_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MATCH_TYPE_FIELD_NUMBER
public static final int MATCH_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static CustomTargetingValue getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CustomTargetingValue.Builder newBuilder()
newBuilder(CustomTargetingValue prototype)
public static CustomTargetingValue.Builder newBuilder(CustomTargetingValue prototype)
public static CustomTargetingValue parseDelimitedFrom(InputStream input)
public static CustomTargetingValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CustomTargetingValue parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CustomTargetingValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CustomTargetingValue parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomTargetingValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomTargetingValue parseFrom(CodedInputStream input)
public static CustomTargetingValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomTargetingValue parseFrom(InputStream input)
public static CustomTargetingValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CustomTargetingValue parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CustomTargetingValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CustomTargetingValue> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAdTagName()
public String getAdTagName()
Immutable. Name of the CustomTargetingValue
. Values can contain up to 40
characters each. You can use alphanumeric characters and symbols other than
the following: ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ]. Values are
not data-specific; all values are treated as string. For example, instead
of using "age>=18 AND <=34", try "18-34"
string ad_tag_name = 4 [(.google.api.field_behavior) = IMMUTABLE];
Returns |
Type |
Description |
String |
The adTagName.
|
getAdTagNameBytes()
public ByteString getAdTagNameBytes()
Immutable. Name of the CustomTargetingValue
. Values can contain up to 40
characters each. You can use alphanumeric characters and symbols other than
the following: ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ]. Values are
not data-specific; all values are treated as string. For example, instead
of using "age>=18 AND <=34", try "18-34"
string ad_tag_name = 4 [(.google.api.field_behavior) = IMMUTABLE];
Returns |
Type |
Description |
ByteString |
The bytes for adTagName.
|
getDefaultInstanceForType()
public CustomTargetingValue getDefaultInstanceForType()
getDisplayName()
public String getDisplayName()
Optional. Descriptive name for the CustomTargetingValue
.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Optional. Descriptive name for the CustomTargetingValue
.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for displayName.
|
getMatchType()
public CustomTargetingValueMatchTypeEnum.CustomTargetingValueMatchType getMatchType()
Required. The way in which the CustomTargetingValue.name strings will be
matched.
.google.ads.admanager.v1.CustomTargetingValueMatchTypeEnum.CustomTargetingValueMatchType match_type = 6 [(.google.api.field_behavior) = REQUIRED];
getMatchTypeValue()
public int getMatchTypeValue()
Required. The way in which the CustomTargetingValue.name strings will be
matched.
.google.ads.admanager.v1.CustomTargetingValueMatchTypeEnum.CustomTargetingValueMatchType match_type = 6 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for matchType.
|
getName()
Identifier. The resource name of the CustomTargetingValue
.
Format:
networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}/customTargetingValues/{custom_targeting_value_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Identifier. The resource name of the CustomTargetingValue
.
Format:
networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}/customTargetingValues/{custom_targeting_value_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<CustomTargetingValue> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getStatus()
public CustomTargetingValueStatusEnum.CustomTargetingValueStatus getStatus()
Output only. Status of the CustomTargetingValue
.
.google.ads.admanager.v1.CustomTargetingValueStatusEnum.CustomTargetingValueStatus status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusValue()
public int getStatusValue()
Output only. Status of the CustomTargetingValue
.
.google.ads.admanager.v1.CustomTargetingValueStatusEnum.CustomTargetingValueStatus status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for status.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CustomTargetingValue.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CustomTargetingValue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public CustomTargetingValue.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides