public final class RequestFormatTargeting extends GeneratedMessage implements RequestFormatTargetingOrBuilder
Request Format Targeting
This message specifies inclusion or exclusion of various request formats for
targeting. Each optional boolean field controls the targeting of a specific
request format:
- If set to
true, the corresponding format is included in targeting.
- If set to
false, the corresponding format is excluded from targeting.
- If unset, the format is neither explicitly included nor excluded.
Protobuf type google.ads.admanager.v1.RequestFormatTargeting
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
public static final int ANCHOR_ENABLED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int APP_OPEN_ENABLED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int BANNER_ENABLED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int INSTREAM_AUDIO_ENABLED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int INSTREAM_VIDEO_ENABLED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int INTERSTITIAL_ENABLED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int NATIVE_ADVANCED_ENABLED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int REWARDED_ENABLED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int REWARDED_INTERSTITIAL_ENABLED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static RequestFormatTargeting getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static RequestFormatTargeting.Builder newBuilder()
public static RequestFormatTargeting.Builder newBuilder(RequestFormatTargeting prototype)
public static RequestFormatTargeting parseDelimitedFrom(InputStream input)
public static RequestFormatTargeting parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RequestFormatTargeting parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static RequestFormatTargeting parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RequestFormatTargeting parseFrom(ByteString data)
public static RequestFormatTargeting parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RequestFormatTargeting parseFrom(CodedInputStream input)
public static RequestFormatTargeting parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RequestFormatTargeting parseFrom(InputStream input)
public static RequestFormatTargeting parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RequestFormatTargeting parseFrom(ByteBuffer data)
public static RequestFormatTargeting parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<RequestFormatTargeting> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public boolean getAnchorEnabled()
Optional. Controls anchor format targeting. Set to true to include,
false to exclude, or leave unset for neither.
optional bool anchor_enabled = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The anchorEnabled.
|
public boolean getAppOpenEnabled()
Optional. Controls app open format targeting. Set to true to include,
false to exclude, or leave unset for neither.
optional bool app_open_enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The appOpenEnabled.
|
public boolean getBannerEnabled()
Optional. Controls banner format targeting. Set to true to include,
false to exclude, or leave unset for neither.
optional bool banner_enabled = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The bannerEnabled.
|
public RequestFormatTargeting getDefaultInstanceForType()
public boolean getInstreamAudioEnabled()
Optional. Controls instream audio format targeting. Set to true to
include, false to exclude, or leave unset for neither.
optional bool instream_audio_enabled = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The instreamAudioEnabled.
|
public boolean getInstreamVideoEnabled()
Optional. Controls instream video format targeting. Set to true to
include, false to exclude, or leave unset for neither.
optional bool instream_video_enabled = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The instreamVideoEnabled.
|
public boolean getInterstitialEnabled()
Optional. Controls interstitial format targeting. Set to true to include,
false to exclude, or leave unset for neither.
optional bool interstitial_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The interstitialEnabled.
|
public boolean getNativeAdvancedEnabled()
Optional. Controls native advanced format targeting. Set to true to
include, false to exclude, or leave unset for neither.
optional bool native_advanced_enabled = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The nativeAdvancedEnabled.
|
public Parser<RequestFormatTargeting> getParserForType()
Overrides
public boolean getRewardedEnabled()
Optional. Controls rewarded format targeting. Set to true to include,
false to exclude, or leave unset for neither.
optional bool rewarded_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The rewardedEnabled.
|
public boolean getRewardedInterstitialEnabled()
Optional. Controls rewarded interstitial format targeting. Set to true to
include, false to exclude, or leave unset for neither.
optional bool rewarded_interstitial_enabled = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The rewardedInterstitialEnabled.
|
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
public boolean hasAnchorEnabled()
Optional. Controls anchor format targeting. Set to true to include,
false to exclude, or leave unset for neither.
optional bool anchor_enabled = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the anchorEnabled field is set.
|
public boolean hasAppOpenEnabled()
Optional. Controls app open format targeting. Set to true to include,
false to exclude, or leave unset for neither.
optional bool app_open_enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the appOpenEnabled field is set.
|
public boolean hasBannerEnabled()
Optional. Controls banner format targeting. Set to true to include,
false to exclude, or leave unset for neither.
optional bool banner_enabled = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the bannerEnabled field is set.
|
public boolean hasInstreamAudioEnabled()
Optional. Controls instream audio format targeting. Set to true to
include, false to exclude, or leave unset for neither.
optional bool instream_audio_enabled = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the instreamAudioEnabled field is set.
|
public boolean hasInstreamVideoEnabled()
Optional. Controls instream video format targeting. Set to true to
include, false to exclude, or leave unset for neither.
optional bool instream_video_enabled = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the instreamVideoEnabled field is set.
|
public boolean hasInterstitialEnabled()
Optional. Controls interstitial format targeting. Set to true to include,
false to exclude, or leave unset for neither.
optional bool interstitial_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the interstitialEnabled field is set.
|
public boolean hasNativeAdvancedEnabled()
Optional. Controls native advanced format targeting. Set to true to
include, false to exclude, or leave unset for neither.
optional bool native_advanced_enabled = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the nativeAdvancedEnabled field is set.
|
public boolean hasRewardedEnabled()
Optional. Controls rewarded format targeting. Set to true to include,
false to exclude, or leave unset for neither.
optional bool rewarded_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the rewardedEnabled field is set.
|
public boolean hasRewardedInterstitialEnabled()
Optional. Controls rewarded interstitial format targeting. Set to true to
include, false to exclude, or leave unset for neither.
optional bool rewarded_interstitial_enabled = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the rewardedInterstitialEnabled field is set.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public RequestFormatTargeting.Builder newBuilderForType()
protected RequestFormatTargeting.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public RequestFormatTargeting.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides