Class RequestPlatformEnum (0.35.0)
public final class RequestPlatformEnum extends GeneratedMessageV3 implements RequestPlatformEnumOrBuilder
Wrapper message for [RequestPlatform].
Describes the platform from which a request is made and on which the ad is
rendered. In the event of multiple platforms, the platform that ultimately
renders the ad is the targeted platform. For example, a video player on a
website would have a request platform of VIDEO_PLAYER
.
Protobuf type google.ads.admanager.v1.RequestPlatformEnum
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 Methods
public static RequestPlatformEnum getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static RequestPlatformEnum.Builder newBuilder()
public static RequestPlatformEnum.Builder newBuilder(RequestPlatformEnum prototype)
public static RequestPlatformEnum parseDelimitedFrom(InputStream input)
public static RequestPlatformEnum parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RequestPlatformEnum parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static RequestPlatformEnum parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RequestPlatformEnum parseFrom(ByteString data)
public static RequestPlatformEnum parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RequestPlatformEnum parseFrom(CodedInputStream input)
public static RequestPlatformEnum parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RequestPlatformEnum parseFrom(InputStream input)
public static RequestPlatformEnum parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RequestPlatformEnum parseFrom(ByteBuffer data)
public static RequestPlatformEnum parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<RequestPlatformEnum> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public RequestPlatformEnum getDefaultInstanceForType()
public Parser<RequestPlatformEnum> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public RequestPlatformEnum.Builder newBuilderForType()
protected RequestPlatformEnum.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public RequestPlatformEnum.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-10 UTC."],[],[]]