Class ScheduleOptions (0.11.0)

public final class ScheduleOptions extends GeneratedMessageV3 implements ScheduleOptionsOrBuilder

The options for a scheduled report.

Protobuf type google.ads.admanager.v1.ScheduleOptions

Static Fields

DELIVERY_CONDITION_FIELD_NUMBER

public static final int DELIVERY_CONDITION_FIELD_NUMBER
Field Value
Type Description
int

FLAGS_FIELD_NUMBER

public static final int FLAGS_FIELD_NUMBER
Field Value
Type Description
int

SCHEDULE_FIELD_NUMBER

public static final int SCHEDULE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ScheduleOptions getDefaultInstance()
Returns
Type Description
ScheduleOptions

getDescriptor()

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

newBuilder()

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

newBuilder(ScheduleOptions prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ScheduleOptions getDefaultInstanceForType()
Returns
Type Description
ScheduleOptions

getDeliveryCondition()

public ScheduleOptions.DeliveryCondition getDeliveryCondition()

Option for when to deliver the scheduled report.

.google.ads.admanager.v1.ScheduleOptions.DeliveryCondition delivery_condition = 2;

Returns
Type Description
ScheduleOptions.DeliveryCondition

The deliveryCondition.

getDeliveryConditionValue()

public int getDeliveryConditionValue()

Option for when to deliver the scheduled report.

.google.ads.admanager.v1.ScheduleOptions.DeliveryCondition delivery_condition = 2;

Returns
Type Description
int

The enum numeric value on the wire for deliveryCondition.

getFlags(int index)

public Report.Flag getFlags(int index)

Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT is specified.

repeated .google.ads.admanager.v1.Report.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Report.Flag

getFlagsCount()

public int getFlagsCount()

Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT is specified.

repeated .google.ads.admanager.v1.Report.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getFlagsList()

public List<Report.Flag> getFlagsList()

Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT is specified.

repeated .google.ads.admanager.v1.Report.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Flag>

getFlagsOrBuilder(int index)

public Report.FlagOrBuilder getFlagsOrBuilder(int index)

Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT is specified.

repeated .google.ads.admanager.v1.Report.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Report.FlagOrBuilder

getFlagsOrBuilderList()

public List<? extends Report.FlagOrBuilder> getFlagsOrBuilderList()

Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT is specified.

repeated .google.ads.admanager.v1.Report.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.ads.admanager.v1.Report.FlagOrBuilder>

getParserForType()

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

getSchedule()

public Schedule getSchedule()

Information pertaining to schedule itself.

.google.ads.admanager.v1.Schedule schedule = 1;

Returns
Type Description
Schedule

The schedule.

getScheduleOrBuilder()

public ScheduleOrBuilder getScheduleOrBuilder()

Information pertaining to schedule itself.

.google.ads.admanager.v1.Schedule schedule = 1;

Returns
Type Description
ScheduleOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasSchedule()

public boolean hasSchedule()

Information pertaining to schedule itself.

.google.ads.admanager.v1.Schedule schedule = 1;

Returns
Type Description
boolean

Whether the schedule field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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