Class Baseline (0.8.0)

public final class Baseline extends GeneratedMessage implements BaselineOrBuilder

Baseline criteria against which insights are compared.

Protobuf type google.ads.datamanager.v1.Baseline

Implements

BaselineOrBuilder

Static Fields

BASELINE_LOCATION_FIELD_NUMBER

public static final int BASELINE_LOCATION_FIELD_NUMBER
Field Value
Type Description
int

LOCATION_AUTO_DETECTION_ENABLED_FIELD_NUMBER

public static final int LOCATION_AUTO_DETECTION_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Baseline getDefaultInstance()
Returns
Type Description
Baseline

getDescriptor()

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

newBuilder()

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

newBuilder(Baseline prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

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.

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

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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Baseline.Builder newBuilderForType()
Returns
Type Description
Baseline.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected Baseline.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Baseline.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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