Class Schedule.Builder (1.52.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.notebooks.v1.Execution>
Returns
Type Description
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
Name Description
value Execution
Returns
Type Description
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
Name Description
builderForValue Execution.Builder
Returns
Type Description
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
Name Description
index int
value Execution
Returns
Type Description
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
Name Description
index int
builderForValue Execution.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
Execution.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Schedule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Schedule.Builder
Overrides

build()

public Schedule build()
Returns
Type Description
Schedule

buildPartial()

public Schedule buildPartial()
Returns
Type Description
Schedule

clear()

public Schedule.Builder clear()
Returns
Type Description
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
Type Description
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
Type Description
Schedule.Builder

This builder for chaining.

clearDescription()

public Schedule.Builder clearDescription()

A brief description of this environment.

string description = 3;

Returns
Type Description
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
Type Description
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
Type Description
Schedule.Builder

clearField(Descriptors.FieldDescriptor field)

public Schedule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
Schedule.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Schedule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
Schedule.Builder

clearState()

public Schedule.Builder clearState()

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

Returns
Type Description
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
Type Description
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
Type Description
Schedule.Builder

clone()

public Schedule.Builder clone()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for cronSchedule.

getDefaultInstanceForType()

public Schedule getDefaultInstanceForType()
Returns
Type Description
Schedule

getDescription()

public String getDescription()

A brief description of this environment.

string description = 3;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A brief description of this environment.

string description = 3;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
ExecutionTemplate

The executionTemplate.

getExecutionTemplateBuilder()

public ExecutionTemplate.Builder getExecutionTemplateBuilder()

Notebook Execution Template corresponding to this schedule.

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

Returns
Type Description
ExecutionTemplate.Builder

getExecutionTemplateOrBuilder()

public ExecutionTemplateOrBuilder getExecutionTemplateOrBuilder()

Notebook Execution Template corresponding to this schedule.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.notebooks.v1.ExecutionOrBuilder>

getState()

public Schedule.State getState()

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

Returns
Type Description
Schedule.State

The state.

getStateValue()

public int getStateValue()

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
value ExecutionTemplate
Returns
Type Description
Schedule.Builder

mergeFrom(Schedule other)

public Schedule.Builder mergeFrom(Schedule other)
Parameter
Name Description
other Schedule
Returns
Type Description
Schedule.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Schedule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Schedule.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Schedule.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Schedule.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Schedule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
value String

The cronSchedule to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for cronSchedule to set.

Returns
Type Description
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
Name Description
value String

The description to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
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
Name Description
value String

The displayName to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
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
Name Description
value ExecutionTemplate
Returns
Type Description
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
Name Description
builderForValue ExecutionTemplate.Builder
Returns
Type Description
Schedule.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Schedule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
index int
value Execution
Returns
Type Description
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
Name Description
index int
builderForValue Execution.Builder
Returns
Type Description
Schedule.Builder

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

public Schedule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Schedule.Builder
Overrides

setState(Schedule.State value)

public Schedule.Builder setState(Schedule.State value)

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

Parameter
Name Description
value Schedule.State

The state to set.

Returns
Type Description
Schedule.Builder

This builder for chaining.

setStateValue(int value)

public Schedule.Builder setStateValue(int value)

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

Parameter
Name Description
value int

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

Returns
Type Description
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
Name Description
value String

The timeZone to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for timeZone to set.

Returns
Type Description
Schedule.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Schedule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
Schedule.Builder