Class Schedule (0.13.0)

  public 
  
 final 
  
 class 
 Schedule 
  
 extends 
  
 GeneratedMessageV3 
  
 implements 
  
 ScheduleOrBuilder 
 

The schedule for the report

Protobuf type google.ads.admanager.v1.Schedule

Implements

ScheduleOrBuilder

Static Fields

END_DATE_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 END_DATE_FIELD_NUMBER 
 
Field Value
Type
Description
int

FREQUENCY_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 FREQUENCY_FIELD_NUMBER 
 
Field Value
Type
Description
int

MONTHLY_SCHEDULE_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 MONTHLY_SCHEDULE_FIELD_NUMBER 
 
Field Value
Type
Description
int

START_DATE_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 START_DATE_FIELD_NUMBER 
 
Field Value
Type
Description
int

START_TIME_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 START_TIME_FIELD_NUMBER 
 
Field Value
Type
Description
int

WEEKLY_SCHEDULE_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 WEEKLY_SCHEDULE_FIELD_NUMBER 
 
Field Value
Type
Description
int

Static Methods

getDefaultInstance()

  public 
  
 static 
  
 Schedule 
  
 getDefaultInstance 
 () 
 
Returns
Type
Description

getDescriptor()

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

newBuilder()

  public 
  
 static 
  
 Schedule 
 . 
 Builder 
  
 newBuilder 
 () 
 
Returns
Type
Description

newBuilder(Schedule prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

  public 
  
 Schedule 
  
 getDefaultInstanceForType 
 () 
 
Returns
Type
Description

getEndDate()

  public 
  
 Date 
  
 getEndDate 
 () 
 

Date for the final run of the report.

.google.type.Date end_date = 2;

Returns
Type
Description
com.google.type.Date

The endDate.

getEndDateOrBuilder()

  public 
  
 DateOrBuilder 
  
 getEndDateOrBuilder 
 () 
 

Date for the final run of the report.

.google.type.Date end_date = 2;

Returns
Type
Description
com.google.type.DateOrBuilder

getFrequency()

  public 
  
 Schedule 
 . 
 Frequency 
  
 getFrequency 
 () 
 

Frequency to run report.

.google.ads.admanager.v1.Schedule.Frequency frequency = 3;

Returns
Type
Description

The frequency.

getFrequencyScheduleCase()

  public 
  
 Schedule 
 . 
 FrequencyScheduleCase 
  
 getFrequencyScheduleCase 
 () 
 
Returns
Type
Description

getFrequencyValue()

  public 
  
 int 
  
 getFrequencyValue 
 () 
 

Frequency to run report.

.google.ads.admanager.v1.Schedule.Frequency frequency = 3;

Returns
Type
Description
int

The enum numeric value on the wire for frequency.

getMonthlySchedule()

  public 
  
 Schedule 
 . 
 MonthlySchedule 
  
 getMonthlySchedule 
 () 
 

Days of month to schedule report run.

.google.ads.admanager.v1.Schedule.MonthlySchedule monthly_schedule = 7;

Returns
Type
Description

The monthlySchedule.

getMonthlyScheduleOrBuilder()

  public 
  
 Schedule 
 . 
 MonthlyScheduleOrBuilder 
  
 getMonthlyScheduleOrBuilder 
 () 
 

Days of month to schedule report run.

.google.ads.admanager.v1.Schedule.MonthlySchedule monthly_schedule = 7;

Returns
Type
Description

getParserForType()

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

getSerializedSize()

  public 
  
 int 
  
 getSerializedSize 
 () 
 
Returns
Type
Description
int
Overrides

getStartDate()

  public 
  
 Date 
  
 getStartDate 
 () 
 

Date for the first run of the report.

.google.type.Date start_date = 1;

Returns
Type
Description
com.google.type.Date

The startDate.

getStartDateOrBuilder()

  public 
  
 DateOrBuilder 
  
 getStartDateOrBuilder 
 () 
 

Date for the first run of the report.

.google.type.Date start_date = 1;

Returns
Type
Description
com.google.type.DateOrBuilder

getStartTime()

  public 
  
 TimeOfDay 
  
 getStartTime 
 () 
 

Indicates start time for schedule to run Will use the time_zone from ReportDefinition . Defaults to the publisher's time zone if not specified.

For HOURLY, TWO_TIMES_DAILY, THREE_TIMES_DAILY, or FOUR_TIMES_DAILY, this will be the time of day that the first report will run on the first day. For example, if the start time is 2:00 PM, and the frequency is THREE_TIMES_DAILY, the first day will have reports scheduled at 2:00 PM, 10:00 PM. Each subsequent day will have reports scheduled at 6:00 AM, 2:00 PM, 10:00 PM.

.google.type.TimeOfDay start_time = 4;

Returns
Type
Description
com.google.type.TimeOfDay

The startTime.

getStartTimeOrBuilder()

  public 
  
 TimeOfDayOrBuilder 
  
 getStartTimeOrBuilder 
 () 
 

Indicates start time for schedule to run Will use the time_zone from ReportDefinition . Defaults to the publisher's time zone if not specified.

For HOURLY, TWO_TIMES_DAILY, THREE_TIMES_DAILY, or FOUR_TIMES_DAILY, this will be the time of day that the first report will run on the first day. For example, if the start time is 2:00 PM, and the frequency is THREE_TIMES_DAILY, the first day will have reports scheduled at 2:00 PM, 10:00 PM. Each subsequent day will have reports scheduled at 6:00 AM, 2:00 PM, 10:00 PM.

.google.type.TimeOfDay start_time = 4;

Returns
Type
Description
com.google.type.TimeOfDayOrBuilder

getWeeklySchedule()

  public 
  
 Schedule 
 . 
 WeeklySchedule 
  
 getWeeklySchedule 
 () 
 

Days of week to schedule report run.

.google.ads.admanager.v1.Schedule.WeeklySchedule weekly_schedule = 6;

Returns
Type
Description

The weeklySchedule.

getWeeklyScheduleOrBuilder()

  public 
  
 Schedule 
 . 
 WeeklyScheduleOrBuilder 
  
 getWeeklyScheduleOrBuilder 
 () 
 

Days of week to schedule report run.

.google.ads.admanager.v1.Schedule.WeeklySchedule weekly_schedule = 6;

Returns
Type
Description

hasEndDate()

  public 
  
 boolean 
  
 hasEndDate 
 () 
 

Date for the final run of the report.

.google.type.Date end_date = 2;

Returns
Type
Description

Whether the endDate field is set.

hasMonthlySchedule()

  public 
  
 boolean 
  
 hasMonthlySchedule 
 () 
 

Days of month to schedule report run.

.google.ads.admanager.v1.Schedule.MonthlySchedule monthly_schedule = 7;

Returns
Type
Description

Whether the monthlySchedule field is set.

hasStartDate()

  public 
  
 boolean 
  
 hasStartDate 
 () 
 

Date for the first run of the report.

.google.type.Date start_date = 1;

Returns
Type
Description

Whether the startDate field is set.

hasStartTime()

  public 
  
 boolean 
  
 hasStartTime 
 () 
 

Indicates start time for schedule to run Will use the time_zone from ReportDefinition . Defaults to the publisher's time zone if not specified.

For HOURLY, TWO_TIMES_DAILY, THREE_TIMES_DAILY, or FOUR_TIMES_DAILY, this will be the time of day that the first report will run on the first day. For example, if the start time is 2:00 PM, and the frequency is THREE_TIMES_DAILY, the first day will have reports scheduled at 2:00 PM, 10:00 PM. Each subsequent day will have reports scheduled at 6:00 AM, 2:00 PM, 10:00 PM.

.google.type.TimeOfDay start_time = 4;

Returns
Type
Description

Whether the startTime field is set.

hasWeeklySchedule()

  public 
  
 boolean 
  
 hasWeeklySchedule 
 () 
 

Days of week to schedule report run.

.google.ads.admanager.v1.Schedule.WeeklySchedule weekly_schedule = 6;

Returns
Type
Description

Whether the weeklySchedule field is set.

hashCode()

  public 
  
 int 
  
 hashCode 
 () 
 
Returns
Type
Description
int
Overrides

internalGetFieldAccessorTable()

  protected 
  
 GeneratedMessageV3 
 . 
 FieldAccessorTable 
  
 internalGetFieldAccessorTable 
 () 
 
Returns
Type
Description
Overrides

isInitialized()

  public 
  
 final 
  
 boolean 
  
 isInitialized 
 () 
 
Returns
Type
Description
Overrides

newBuilderForType()

  public 
  
 Schedule 
 . 
 Builder 
  
 newBuilderForType 
 () 
 
Returns
Type
Description

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

  public 
  
 Schedule 
 . 
 Builder 
  
 toBuilder 
 () 
 
Returns
Type
Description

writeTo(CodedOutputStream output)

  public 
  
 void 
  
 writeTo 
 ( 
 CodedOutputStream 
  
 output 
 ) 
 
Parameter
Name
Description
Overrides
Exceptions
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: