Class Schedule.Builder (1.27.0)

public static final class Schedule.Builder extends GeneratedMessageV3.Builder<Schedule.Builder> implements ScheduleOrBuilder

The definition of a schedule.

Protobuf type google.cloud.notebooks.v1.Schedule

Implements

ScheduleOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllRecentExecutions(Iterable<? extends Execution> values)

public Schedule.Builder addAllRecentExecutions(Iterable<? extends Execution> values)

Output only. The most recent execution names triggered from this schedule and their corresponding states.

repeated .google.cloud.notebooks.v1.Execution recent_executions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.notebooks.v1.Execution>
Returns
TypeDescription
Schedule.Builder

addRecentExecutions(Execution value)

public Schedule.Builder addRecentExecutions(Execution value)

Output only. The most recent execution names triggered from this schedule and their corresponding states.

repeated .google.cloud.notebooks.v1.Execution recent_executions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueExecution
Returns
TypeDescription
Schedule.Builder

addRecentExecutions(Execution.Builder builderForValue)

public Schedule.Builder addRecentExecutions(Execution.Builder builderForValue)

Output only. The most recent execution names triggered from this schedule and their corresponding states.

repeated .google.cloud.notebooks.v1.Execution recent_executions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueExecution.Builder
Returns
TypeDescription
Schedule.Builder

addRecentExecutions(int index, Execution value)

public Schedule.Builder addRecentExecutions(int index, Execution value)

Output only. The most recent execution names triggered from this schedule and their corresponding states.

repeated .google.cloud.notebooks.v1.Execution recent_executions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueExecution
Returns
TypeDescription
Schedule.Builder

addRecentExecutions(int index, Execution.Builder builderForValue)

public Schedule.Builder addRecentExecutions(int index, Execution.Builder builderForValue)

Output only. The most recent execution names triggered from this schedule and their corresponding states.

repeated .google.cloud.notebooks.v1.Execution recent_executions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueExecution.Builder
Returns
TypeDescription
Schedule.Builder

addRecentExecutionsBuilder()

public Execution.Builder addRecentExecutionsBuilder()

Output only. The most recent execution names triggered from this schedule and their corresponding states.

repeated .google.cloud.notebooks.v1.Execution recent_executions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Execution.Builder

addRecentExecutionsBuilder(int index)

public Execution.Builder addRecentExecutionsBuilder(int index)

Output only. The most recent execution names triggered from this schedule and their corresponding states.

repeated .google.cloud.notebooks.v1.Execution recent_executions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
Execution.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Schedule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Schedule.Builder
Overrides

build()

public Schedule build()
Returns
TypeDescription
Schedule

buildPartial()

public Schedule buildPartial()
Returns
TypeDescription
Schedule

clear()

public Schedule.Builder clear()
Returns
TypeDescription
Schedule.Builder
Overrides

clearCreateTime()

public Schedule.Builder clearCreateTime()

Output only. Time the schedule was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Schedule.Builder

clearCronSchedule()

public Schedule.Builder clearCronSchedule()

Cron-tab formatted schedule by which the job will execute. Format: minute, hour, day of month, month, day of week, e.g. 0 0 * * WED = every Wednesday More examples: https://crontab.guru/examples.html

string cron_schedule = 5;

Returns
TypeDescription
Schedule.Builder

This builder for chaining.

clearDescription()

public Schedule.Builder clearDescription()

A brief description of this environment.

string description = 3;

Returns
TypeDescription
Schedule.Builder

This builder for chaining.

clearDisplayName()

public Schedule.Builder clearDisplayName()

Output only. Display name used for UI purposes. Name can only contain alphanumeric characters, hyphens -, and underscores _.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Schedule.Builder

This builder for chaining.

clearExecutionTemplate()

public Schedule.Builder clearExecutionTemplate()

Notebook Execution Template corresponding to this schedule.

.google.cloud.notebooks.v1.ExecutionTemplate execution_template = 9;

Returns
TypeDescription
Schedule.Builder

clearField(Descriptors.FieldDescriptor field)

public Schedule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Schedule.Builder
Overrides

clearName()

public Schedule.Builder clearName()

Output only. The name of this schedule. Format: projects/{project_id}/locations/{location}/schedules/{schedule_id}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Schedule.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Schedule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Schedule.Builder
Overrides

clearRecentExecutions()

public Schedule.Builder clearRecentExecutions()

Output only. The most recent execution names triggered from this schedule and their corresponding states.

repeated .google.cloud.notebooks.v1.Execution recent_executions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Schedule.Builder

clearState()

public Schedule.Builder clearState()

.google.cloud.notebooks.v1.Schedule.State state = 4;

Returns
TypeDescription
Schedule.Builder

This builder for chaining.

clearTimeZone()

public Schedule.Builder clearTimeZone()

Timezone on which the cron_schedule. The value of this field must be a time zone name from the tz database. TZ Database: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

Note that some time zones include a provision for daylight savings time. The rules for daylight saving time are determined by the chosen tz. For UTC use the string "utc". If a time zone is not specified, the default will be in UTC (also known as GMT).

string time_zone = 6;

Returns
TypeDescription
Schedule.Builder

This builder for chaining.

clearUpdateTime()

public Schedule.Builder clearUpdateTime()

Output only. Time the schedule was last updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Schedule.Builder

clone()

public Schedule.Builder clone()
Returns
TypeDescription
Schedule.Builder
Overrides

getCreateTime()

public Timestamp getCreateTime()

Output only. Time the schedule was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Time the schedule was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time the schedule was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getCronSchedule()

public String getCronSchedule()

Cron-tab formatted schedule by which the job will execute. Format: minute, hour, day of month, month, day of week, e.g. 0 0 * * WED = every Wednesday More examples: https://crontab.guru/examples.html

string cron_schedule = 5;

Returns
TypeDescription
String

The cronSchedule.

getCronScheduleBytes()

public ByteString getCronScheduleBytes()

Cron-tab formatted schedule by which the job will execute. Format: minute, hour, day of month, month, day of week, e.g. 0 0 * * WED = every Wednesday More examples: https://crontab.guru/examples.html

string cron_schedule = 5;

Returns
TypeDescription
ByteString

The bytes for cronSchedule.

getDefaultInstanceForType()

public Schedule getDefaultInstanceForType()
Returns
TypeDescription
Schedule

getDescription()

public String getDescription()

A brief description of this environment.

string description = 3;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A brief description of this environment.

string description = 3;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Output only. Display name used for UI purposes. Name can only contain alphanumeric characters, hyphens -, and underscores _.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. Display name used for UI purposes. Name can only contain alphanumeric characters, hyphens -, and underscores _.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for displayName.

getExecutionTemplate()

public ExecutionTemplate getExecutionTemplate()

Notebook Execution Template corresponding to this schedule.

.google.cloud.notebooks.v1.ExecutionTemplate execution_template = 9;

Returns
TypeDescription
ExecutionTemplate

The executionTemplate.

getExecutionTemplateBuilder()

public ExecutionTemplate.Builder getExecutionTemplateBuilder()

Notebook Execution Template corresponding to this schedule.

.google.cloud.notebooks.v1.ExecutionTemplate execution_template = 9;

Returns
TypeDescription
ExecutionTemplate.Builder

getExecutionTemplateOrBuilder()

public ExecutionTemplateOrBuilder getExecutionTemplateOrBuilder()

Notebook Execution Template corresponding to this schedule.

.google.cloud.notebooks.v1.ExecutionTemplate execution_template = 9;

Returns
TypeDescription
ExecutionTemplateOrBuilder

getName()

public String getName()

Output only. The name of this schedule. Format: projects/{project_id}/locations/{location}/schedules/{schedule_id}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The name of this schedule. Format: projects/{project_id}/locations/{location}/schedules/{schedule_id}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getRecentExecutions(int index)

public Execution getRecentExecutions(int index)

Output only. The most recent execution names triggered from this schedule and their corresponding states.

repeated .google.cloud.notebooks.v1.Execution recent_executions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
Execution

getRecentExecutionsBuilder(int index)

public Execution.Builder getRecentExecutionsBuilder(int index)

Output only. The most recent execution names triggered from this schedule and their corresponding states.

repeated .google.cloud.notebooks.v1.Execution recent_executions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
Execution.Builder

getRecentExecutionsBuilderList()

public List<Execution.Builder> getRecentExecutionsBuilderList()

Output only. The most recent execution names triggered from this schedule and their corresponding states.

repeated .google.cloud.notebooks.v1.Execution recent_executions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<Builder>

getRecentExecutionsCount()

public int getRecentExecutionsCount()

Output only. The most recent execution names triggered from this schedule and their corresponding states.

repeated .google.cloud.notebooks.v1.Execution recent_executions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getRecentExecutionsList()

public List<Execution> getRecentExecutionsList()

Output only. The most recent execution names triggered from this schedule and their corresponding states.

repeated .google.cloud.notebooks.v1.Execution recent_executions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<Execution>

getRecentExecutionsOrBuilder(int index)

public ExecutionOrBuilder getRecentExecutionsOrBuilder(int index)

Output only. The most recent execution names triggered from this schedule and their corresponding states.

repeated .google.cloud.notebooks.v1.Execution recent_executions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
ExecutionOrBuilder

getRecentExecutionsOrBuilderList()

public List<? extends ExecutionOrBuilder> getRecentExecutionsOrBuilderList()

Output only. The most recent execution names triggered from this schedule and their corresponding states.

repeated .google.cloud.notebooks.v1.Execution recent_executions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<? extends com.google.cloud.notebooks.v1.ExecutionOrBuilder>

getState()

public Schedule.State getState()

.google.cloud.notebooks.v1.Schedule.State state = 4;

Returns
TypeDescription
Schedule.State

The state.

getStateValue()

public int getStateValue()

.google.cloud.notebooks.v1.Schedule.State state = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getTimeZone()

public String getTimeZone()

Timezone on which the cron_schedule. The value of this field must be a time zone name from the tz database. TZ Database: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

Note that some time zones include a provision for daylight savings time. The rules for daylight saving time are determined by the chosen tz. For UTC use the string "utc". If a time zone is not specified, the default will be in UTC (also known as GMT).

string time_zone = 6;

Returns
TypeDescription
String

The timeZone.

getTimeZoneBytes()

public ByteString getTimeZoneBytes()

Timezone on which the cron_schedule. The value of this field must be a time zone name from the tz database. TZ Database: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

Note that some time zones include a provision for daylight savings time. The rules for daylight saving time are determined by the chosen tz. For UTC use the string "utc". If a time zone is not specified, the default will be in UTC (also known as GMT).

string time_zone = 6;

Returns
TypeDescription
ByteString

The bytes for timeZone.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Time the schedule was last updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Time the schedule was last updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Time the schedule was last updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Time the schedule was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasExecutionTemplate()

public boolean hasExecutionTemplate()

Notebook Execution Template corresponding to this schedule.

.google.cloud.notebooks.v1.ExecutionTemplate execution_template = 9;

Returns
TypeDescription
boolean

Whether the executionTemplate field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Time the schedule was last updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public Schedule.Builder mergeCreateTime(Timestamp value)

Output only. Time the schedule was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Schedule.Builder

mergeExecutionTemplate(ExecutionTemplate value)

public Schedule.Builder mergeExecutionTemplate(ExecutionTemplate value)

Notebook Execution Template corresponding to this schedule.

.google.cloud.notebooks.v1.ExecutionTemplate execution_template = 9;

Parameter
NameDescription
valueExecutionTemplate
Returns
TypeDescription
Schedule.Builder

mergeFrom(Schedule other)

public Schedule.Builder mergeFrom(Schedule other)
Parameter
NameDescription
otherSchedule
Returns
TypeDescription
Schedule.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Schedule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Schedule.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Schedule.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Schedule.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Schedule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Schedule.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Schedule.Builder mergeUpdateTime(Timestamp value)

Output only. Time the schedule was last updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Schedule.Builder

removeRecentExecutions(int index)

public Schedule.Builder removeRecentExecutions(int index)

Output only. The most recent execution names triggered from this schedule and their corresponding states.

repeated .google.cloud.notebooks.v1.Execution recent_executions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
Schedule.Builder

setCreateTime(Timestamp value)

public Schedule.Builder setCreateTime(Timestamp value)

Output only. Time the schedule was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Schedule.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Schedule.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Time the schedule was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Schedule.Builder

setCronSchedule(String value)

public Schedule.Builder setCronSchedule(String value)

Cron-tab formatted schedule by which the job will execute. Format: minute, hour, day of month, month, day of week, e.g. 0 0 * * WED = every Wednesday More examples: https://crontab.guru/examples.html

string cron_schedule = 5;

Parameter
NameDescription
valueString

The cronSchedule to set.

Returns
TypeDescription
Schedule.Builder

This builder for chaining.

setCronScheduleBytes(ByteString value)

public Schedule.Builder setCronScheduleBytes(ByteString value)

Cron-tab formatted schedule by which the job will execute. Format: minute, hour, day of month, month, day of week, e.g. 0 0 * * WED = every Wednesday More examples: https://crontab.guru/examples.html

string cron_schedule = 5;

Parameter
NameDescription
valueByteString

The bytes for cronSchedule to set.

Returns
TypeDescription
Schedule.Builder

This builder for chaining.

setDescription(String value)

public Schedule.Builder setDescription(String value)

A brief description of this environment.

string description = 3;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
Schedule.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Schedule.Builder setDescriptionBytes(ByteString value)

A brief description of this environment.

string description = 3;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
Schedule.Builder

This builder for chaining.

setDisplayName(String value)

public Schedule.Builder setDisplayName(String value)

Output only. Display name used for UI purposes. Name can only contain alphanumeric characters, hyphens -, and underscores _.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
Schedule.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Schedule.Builder setDisplayNameBytes(ByteString value)

Output only. Display name used for UI purposes. Name can only contain alphanumeric characters, hyphens -, and underscores _.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Schedule.Builder

This builder for chaining.

setExecutionTemplate(ExecutionTemplate value)

public Schedule.Builder setExecutionTemplate(ExecutionTemplate value)

Notebook Execution Template corresponding to this schedule.

.google.cloud.notebooks.v1.ExecutionTemplate execution_template = 9;

Parameter
NameDescription
valueExecutionTemplate
Returns
TypeDescription
Schedule.Builder

setExecutionTemplate(ExecutionTemplate.Builder builderForValue)

public Schedule.Builder setExecutionTemplate(ExecutionTemplate.Builder builderForValue)

Notebook Execution Template corresponding to this schedule.

.google.cloud.notebooks.v1.ExecutionTemplate execution_template = 9;

Parameter
NameDescription
builderForValueExecutionTemplate.Builder
Returns
TypeDescription
Schedule.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Schedule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Schedule.Builder
Overrides

setName(String value)

public Schedule.Builder setName(String value)

Output only. The name of this schedule. Format: projects/{project_id}/locations/{location}/schedules/{schedule_id}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Schedule.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Schedule.Builder setNameBytes(ByteString value)

Output only. The name of this schedule. Format: projects/{project_id}/locations/{location}/schedules/{schedule_id}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Schedule.Builder

This builder for chaining.

setRecentExecutions(int index, Execution value)

public Schedule.Builder setRecentExecutions(int index, Execution value)

Output only. The most recent execution names triggered from this schedule and their corresponding states.

repeated .google.cloud.notebooks.v1.Execution recent_executions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueExecution
Returns
TypeDescription
Schedule.Builder

setRecentExecutions(int index, Execution.Builder builderForValue)

public Schedule.Builder setRecentExecutions(int index, Execution.Builder builderForValue)

Output only. The most recent execution names triggered from this schedule and their corresponding states.

repeated .google.cloud.notebooks.v1.Execution recent_executions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueExecution.Builder
Returns
TypeDescription
Schedule.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Schedule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Schedule.Builder
Overrides

setState(Schedule.State value)

public Schedule.Builder setState(Schedule.State value)

.google.cloud.notebooks.v1.Schedule.State state = 4;

Parameter
NameDescription
valueSchedule.State

The state to set.

Returns
TypeDescription
Schedule.Builder

This builder for chaining.

setStateValue(int value)

public Schedule.Builder setStateValue(int value)

.google.cloud.notebooks.v1.Schedule.State state = 4;

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
Schedule.Builder

This builder for chaining.

setTimeZone(String value)

public Schedule.Builder setTimeZone(String value)

Timezone on which the cron_schedule. The value of this field must be a time zone name from the tz database. TZ Database: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

Note that some time zones include a provision for daylight savings time. The rules for daylight saving time are determined by the chosen tz. For UTC use the string "utc". If a time zone is not specified, the default will be in UTC (also known as GMT).

string time_zone = 6;

Parameter
NameDescription
valueString

The timeZone to set.

Returns
TypeDescription
Schedule.Builder

This builder for chaining.

setTimeZoneBytes(ByteString value)

public Schedule.Builder setTimeZoneBytes(ByteString value)

Timezone on which the cron_schedule. The value of this field must be a time zone name from the tz database. TZ Database: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

Note that some time zones include a provision for daylight savings time. The rules for daylight saving time are determined by the chosen tz. For UTC use the string "utc". If a time zone is not specified, the default will be in UTC (also known as GMT).

string time_zone = 6;

Parameter
NameDescription
valueByteString

The bytes for timeZone to set.

Returns
TypeDescription
Schedule.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Schedule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Schedule.Builder
Overrides

setUpdateTime(Timestamp value)

public Schedule.Builder setUpdateTime(Timestamp value)

Output only. Time the schedule was last updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Schedule.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Schedule.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Time the schedule was last updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Schedule.Builder