public static final class Baseline.Location.Builder extends GeneratedMessage.Builder<Baseline.Location.Builder> implements Baseline.LocationOrBuilderThe baseline location of the request. Baseline location is on OR-list of ISO 3166-1 alpha-2 region codes of the requested regions.
Protobuf type google.ads.datamanager.v1.Baseline.Location
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Baseline.Location.BuilderImplements
Baseline.LocationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllRegionCodes(Iterable<String> values)
public Baseline.Location.Builder addAllRegionCodes(Iterable<String> values)List of ISO 3166-1 alpha-2 region codes.
repeated string region_codes = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The regionCodes to add. |
| Returns | |
|---|---|
| Type | Description |
Baseline.Location.Builder |
This builder for chaining. |
addRegionCodes(String value)
public Baseline.Location.Builder addRegionCodes(String value)List of ISO 3166-1 alpha-2 region codes.
repeated string region_codes = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe regionCodes to add. |
| Returns | |
|---|---|
| Type | Description |
Baseline.Location.Builder |
This builder for chaining. |
addRegionCodesBytes(ByteString value)
public Baseline.Location.Builder addRegionCodesBytes(ByteString value)List of ISO 3166-1 alpha-2 region codes.
repeated string region_codes = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the regionCodes to add. |
| Returns | |
|---|---|
| Type | Description |
Baseline.Location.Builder |
This builder for chaining. |
build()
public Baseline.Location build()| Returns | |
|---|---|
| Type | Description |
Baseline.Location |
|
buildPartial()
public Baseline.Location buildPartial()| Returns | |
|---|---|
| Type | Description |
Baseline.Location |
|
clear()
public Baseline.Location.Builder clear()| Returns | |
|---|---|
| Type | Description |
Baseline.Location.Builder |
|
clearRegionCodes()
public Baseline.Location.Builder clearRegionCodes()List of ISO 3166-1 alpha-2 region codes.
repeated string region_codes = 1;
| Returns | |
|---|---|
| Type | Description |
Baseline.Location.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Baseline.Location getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Baseline.Location |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getRegionCodes(int index)
public String getRegionCodes(int index)List of ISO 3166-1 alpha-2 region codes.
repeated string region_codes = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The regionCodes at the given index. |
getRegionCodesBytes(int index)
public ByteString getRegionCodesBytes(int index)List of ISO 3166-1 alpha-2 region codes.
repeated string region_codes = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the regionCodes at the given index. |
getRegionCodesCount()
public int getRegionCodesCount()List of ISO 3166-1 alpha-2 region codes.
repeated string region_codes = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of regionCodes. |
getRegionCodesList()
public ProtocolStringList getRegionCodesList()List of ISO 3166-1 alpha-2 region codes.
repeated string region_codes = 1;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the regionCodes. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Baseline.Location other)
public Baseline.Location.Builder mergeFrom(Baseline.Location other)| Parameter | |
|---|---|
| Name | Description |
other |
Baseline.Location |
| Returns | |
|---|---|
| Type | Description |
Baseline.Location.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Baseline.Location.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Baseline.Location.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Baseline.Location.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Baseline.Location.Builder |
|
setRegionCodes(int index, String value)
public Baseline.Location.Builder setRegionCodes(int index, String value)List of ISO 3166-1 alpha-2 region codes.
repeated string region_codes = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe regionCodes to set. |
| Returns | |
|---|---|
| Type | Description |
Baseline.Location.Builder |
This builder for chaining. |