Class OperatingSystemTargeting (0.27.0)

public final class OperatingSystemTargeting extends GeneratedMessageV3 implements OperatingSystemTargetingOrBuilder

Operating System Targeting

Protobuf type google.ads.admanager.v1.OperatingSystemTargeting

Static Fields

EXCLUDED_OPERATING_SYSTEMS_FIELD_NUMBER

public static final int EXCLUDED_OPERATING_SYSTEMS_FIELD_NUMBER
Field Value
Type Description
int

EXCLUDED_OPERATING_SYSTEM_VERSIONS_FIELD_NUMBER

public static final int EXCLUDED_OPERATING_SYSTEM_VERSIONS_FIELD_NUMBER
Field Value
Type Description
int

TARGETED_OPERATING_SYSTEMS_FIELD_NUMBER

public static final int TARGETED_OPERATING_SYSTEMS_FIELD_NUMBER
Field Value
Type Description
int

TARGETED_OPERATING_SYSTEM_VERSIONS_FIELD_NUMBER

public static final int TARGETED_OPERATING_SYSTEM_VERSIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static OperatingSystemTargeting getDefaultInstance()
Returns
Type Description
OperatingSystemTargeting

getDescriptor()

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

newBuilder()

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

newBuilder(OperatingSystemTargeting prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public OperatingSystemTargeting getDefaultInstanceForType()
Returns
Type Description
OperatingSystemTargeting

getExcludedOperatingSystemVersions(int index)

public String getExcludedOperatingSystemVersions(int index)

Optional. A list of operating system version resource names that should be excluded.

repeated string excluded_operating_system_versions = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The excludedOperatingSystemVersions at the given index.

getExcludedOperatingSystemVersionsBytes(int index)

public ByteString getExcludedOperatingSystemVersionsBytes(int index)

Optional. A list of operating system version resource names that should be excluded.

repeated string excluded_operating_system_versions = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the excludedOperatingSystemVersions at the given index.

getExcludedOperatingSystemVersionsCount()

public int getExcludedOperatingSystemVersionsCount()

Optional. A list of operating system version resource names that should be excluded.

repeated string excluded_operating_system_versions = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of excludedOperatingSystemVersions.

getExcludedOperatingSystemVersionsList()

public ProtocolStringList getExcludedOperatingSystemVersionsList()

Optional. A list of operating system version resource names that should be excluded.

repeated string excluded_operating_system_versions = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the excludedOperatingSystemVersions.

getExcludedOperatingSystems(int index)

public String getExcludedOperatingSystems(int index)

Optional. A list of operating system resource names that should be excluded.

repeated string excluded_operating_systems = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The excludedOperatingSystems at the given index.

getExcludedOperatingSystemsBytes(int index)

public ByteString getExcludedOperatingSystemsBytes(int index)

Optional. A list of operating system resource names that should be excluded.

repeated string excluded_operating_systems = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the excludedOperatingSystems at the given index.

getExcludedOperatingSystemsCount()

public int getExcludedOperatingSystemsCount()

Optional. A list of operating system resource names that should be excluded.

repeated string excluded_operating_systems = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of excludedOperatingSystems.

getExcludedOperatingSystemsList()

public ProtocolStringList getExcludedOperatingSystemsList()

Optional. A list of operating system resource names that should be excluded.

repeated string excluded_operating_systems = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the excludedOperatingSystems.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTargetedOperatingSystemVersions(int index)

public String getTargetedOperatingSystemVersions(int index)

Optional. A list of operating system version resource names that should be targeted/included.

repeated string targeted_operating_system_versions = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The targetedOperatingSystemVersions at the given index.

getTargetedOperatingSystemVersionsBytes(int index)

public ByteString getTargetedOperatingSystemVersionsBytes(int index)

Optional. A list of operating system version resource names that should be targeted/included.

repeated string targeted_operating_system_versions = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the targetedOperatingSystemVersions at the given index.

getTargetedOperatingSystemVersionsCount()

public int getTargetedOperatingSystemVersionsCount()

Optional. A list of operating system version resource names that should be targeted/included.

repeated string targeted_operating_system_versions = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of targetedOperatingSystemVersions.

getTargetedOperatingSystemVersionsList()

public ProtocolStringList getTargetedOperatingSystemVersionsList()

Optional. A list of operating system version resource names that should be targeted/included.

repeated string targeted_operating_system_versions = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the targetedOperatingSystemVersions.

getTargetedOperatingSystems(int index)

public String getTargetedOperatingSystems(int index)

Optional. A list of operating system resource names that should be targeted/included.

repeated string targeted_operating_systems = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The targetedOperatingSystems at the given index.

getTargetedOperatingSystemsBytes(int index)

public ByteString getTargetedOperatingSystemsBytes(int index)

Optional. A list of operating system resource names that should be targeted/included.

repeated string targeted_operating_systems = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the targetedOperatingSystems at the given index.

getTargetedOperatingSystemsCount()

public int getTargetedOperatingSystemsCount()

Optional. A list of operating system resource names that should be targeted/included.

repeated string targeted_operating_systems = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of targetedOperatingSystems.

getTargetedOperatingSystemsList()

public ProtocolStringList getTargetedOperatingSystemsList()

Optional. A list of operating system resource names that should be targeted/included.

repeated string targeted_operating_systems = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the targetedOperatingSystems.

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 OperatingSystemTargeting.Builder newBuilderForType()
Returns
Type Description
OperatingSystemTargeting.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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