Class Region.GeoTargetArea (0.8.0)

public static final class Region.GeoTargetArea extends GeneratedMessageV3 implements Region.GeoTargetAreaOrBuilder

A list of geotargets that defines the region area.

Protobuf type google.shopping.merchant.accounts.v1beta.Region.GeoTargetArea

Static Fields

GEOTARGET_CRITERIA_IDS_FIELD_NUMBER

public static final int GEOTARGET_CRITERIA_IDS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Region.GeoTargetArea getDefaultInstance()
Returns
Type Description
Region.GeoTargetArea

getDescriptor()

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

newBuilder()

public static Region.GeoTargetArea.Builder newBuilder()
Returns
Type Description
Region.GeoTargetArea.Builder

newBuilder(Region.GeoTargetArea prototype)

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

parseDelimitedFrom(InputStream input)

public static Region.GeoTargetArea parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Region.GeoTargetArea
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Region.GeoTargetArea parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Region.GeoTargetArea
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Region.GeoTargetArea parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Region.GeoTargetArea
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Region.GeoTargetArea parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Region.GeoTargetArea
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Region.GeoTargetArea parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Region.GeoTargetArea
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Region.GeoTargetArea> parser()
Returns
Type Description
Parser<GeoTargetArea>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Region.GeoTargetArea getDefaultInstanceForType()
Returns
Type Description
Region.GeoTargetArea

getGeotargetCriteriaIds(int index)

public long getGeotargetCriteriaIds(int index)

Required. A non-empty list of location IDs. They must all be of the same location type (for example, state).

repeated int64 geotarget_criteria_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
long

The geotargetCriteriaIds at the given index.

getGeotargetCriteriaIdsCount()

public int getGeotargetCriteriaIdsCount()

Required. A non-empty list of location IDs. They must all be of the same location type (for example, state).

repeated int64 geotarget_criteria_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of geotargetCriteriaIds.

getGeotargetCriteriaIdsList()

public List<Long> getGeotargetCriteriaIdsList()

Required. A non-empty list of location IDs. They must all be of the same location type (for example, state).

repeated int64 geotarget_criteria_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Long>

A list containing the geotargetCriteriaIds.

getParserForType()

public Parser<Region.GeoTargetArea> getParserForType()
Returns
Type Description
Parser<GeoTargetArea>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Region.GeoTargetArea.Builder toBuilder()
Returns
Type Description
Region.GeoTargetArea.Builder

writeTo(CodedOutputStream output)

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