public static final class Baseline.Builder extends GeneratedMessage.Builder<Baseline.Builder> implements BaselineOrBuilderBaseline criteria against which insights are compared.
Protobuf type google.ads.datamanager.v1.Baseline
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Baseline.BuilderImplements
BaselineOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Baseline build()| Returns | |
|---|---|
| Type | Description |
Baseline |
|
buildPartial()
public Baseline buildPartial()| Returns | |
|---|---|
| Type | Description |
Baseline |
|
clear()
public Baseline.Builder clear()| Returns | |
|---|---|
| Type | Description |
Baseline.Builder |
|
clearBaseline()
public Baseline.Builder clearBaseline()| Returns | |
|---|---|
| Type | Description |
Baseline.Builder |
|
clearBaselineLocation()
public Baseline.Builder clearBaselineLocation()The baseline location of the request. Baseline location is an OR-list of the requested regions.
.google.ads.datamanager.v1.Baseline.Location baseline_location = 1;
| Returns | |
|---|---|
| Type | Description |
Baseline.Builder |
|
clearLocationAutoDetectionEnabled()
public Baseline.Builder clearLocationAutoDetectionEnabled()If set to true, the service will try to automatically detect the baseline location for insights.
bool location_auto_detection_enabled = 2;
| Returns | |
|---|---|
| Type | Description |
Baseline.Builder |
This builder for chaining. |
getBaselineCase()
public Baseline.BaselineCase getBaselineCase()| Returns | |
|---|---|
| Type | Description |
Baseline.BaselineCase |
|
getBaselineLocation()
public Baseline.Location getBaselineLocation()The baseline location of the request. Baseline location is an OR-list of the requested regions.
.google.ads.datamanager.v1.Baseline.Location baseline_location = 1;
| Returns | |
|---|---|
| Type | Description |
Baseline.Location |
The baselineLocation. |
getBaselineLocationBuilder()
public Baseline.Location.Builder getBaselineLocationBuilder()The baseline location of the request. Baseline location is an OR-list of the requested regions.
.google.ads.datamanager.v1.Baseline.Location baseline_location = 1;
| Returns | |
|---|---|
| Type | Description |
Baseline.Location.Builder |
|
getBaselineLocationOrBuilder()
public Baseline.LocationOrBuilder getBaselineLocationOrBuilder()The baseline location of the request. Baseline location is an OR-list of the requested regions.
.google.ads.datamanager.v1.Baseline.Location baseline_location = 1;
| Returns | |
|---|---|
| Type | Description |
Baseline.LocationOrBuilder |
|
getDefaultInstanceForType()
public Baseline getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Baseline |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLocationAutoDetectionEnabled()
public boolean getLocationAutoDetectionEnabled()If set to true, the service will try to automatically detect the baseline location for insights.
bool location_auto_detection_enabled = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
The locationAutoDetectionEnabled. |
hasBaselineLocation()
public boolean hasBaselineLocation()The baseline location of the request. Baseline location is an OR-list of the requested regions.
.google.ads.datamanager.v1.Baseline.Location baseline_location = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the baselineLocation field is set. |
hasLocationAutoDetectionEnabled()
public boolean hasLocationAutoDetectionEnabled()If set to true, the service will try to automatically detect the baseline location for insights.
bool location_auto_detection_enabled = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the locationAutoDetectionEnabled field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeBaselineLocation(Baseline.Location value)
public Baseline.Builder mergeBaselineLocation(Baseline.Location value)The baseline location of the request. Baseline location is an OR-list of the requested regions.
.google.ads.datamanager.v1.Baseline.Location baseline_location = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Baseline.Location |
| Returns | |
|---|---|
| Type | Description |
Baseline.Builder |
|
mergeFrom(Baseline other)
public Baseline.Builder mergeFrom(Baseline other)| Parameter | |
|---|---|
| Name | Description |
other |
Baseline |
| Returns | |
|---|---|
| Type | Description |
Baseline.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Baseline.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Baseline.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Baseline.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Baseline.Builder |
|
setBaselineLocation(Baseline.Location value)
public Baseline.Builder setBaselineLocation(Baseline.Location value)The baseline location of the request. Baseline location is an OR-list of the requested regions.
.google.ads.datamanager.v1.Baseline.Location baseline_location = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Baseline.Location |
| Returns | |
|---|---|
| Type | Description |
Baseline.Builder |
|
setBaselineLocation(Baseline.Location.Builder builderForValue)
public Baseline.Builder setBaselineLocation(Baseline.Location.Builder builderForValue)The baseline location of the request. Baseline location is an OR-list of the requested regions.
.google.ads.datamanager.v1.Baseline.Location baseline_location = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Baseline.Location.Builder |
| Returns | |
|---|---|
| Type | Description |
Baseline.Builder |
|
setLocationAutoDetectionEnabled(boolean value)
public Baseline.Builder setLocationAutoDetectionEnabled(boolean value)If set to true, the service will try to automatically detect the baseline location for insights.
bool location_auto_detection_enabled = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe locationAutoDetectionEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
Baseline.Builder |
This builder for chaining. |