Class CreateScheduleRequest.Builder (1.4.0)

Stay organized with collections Save and categorize content based on your preferences.
public static final class CreateScheduleRequest.Builder extends GeneratedMessageV3.Builder<CreateScheduleRequest.Builder> implements CreateScheduleRequestOrBuilder

Request for created scheduled notebooks

Protobuf type google.cloud.notebooks.v1.CreateScheduleRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateScheduleRequest build()
Returns
TypeDescription
CreateScheduleRequest

buildPartial()

public CreateScheduleRequest buildPartial()
Returns
TypeDescription
CreateScheduleRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateScheduleRequest.Builder clearParent()

Required. Format: parent=projects/{project_id}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
CreateScheduleRequest.Builder

This builder for chaining.

clearSchedule()

public CreateScheduleRequest.Builder clearSchedule()

Required. The schedule to be created.

.google.cloud.notebooks.v1.Schedule schedule = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateScheduleRequest.Builder

clearScheduleId()

public CreateScheduleRequest.Builder clearScheduleId()

Required. User-defined unique ID of this schedule.

string schedule_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateScheduleRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateScheduleRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateScheduleRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Required. Format: parent=projects/{project_id}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Format: parent=projects/{project_id}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getSchedule()

public Schedule getSchedule()

Required. The schedule to be created.

.google.cloud.notebooks.v1.Schedule schedule = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Schedule

The schedule.

getScheduleBuilder()

public Schedule.Builder getScheduleBuilder()

Required. The schedule to be created.

.google.cloud.notebooks.v1.Schedule schedule = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Schedule.Builder

getScheduleId()

public String getScheduleId()

Required. User-defined unique ID of this schedule.

string schedule_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The scheduleId.

getScheduleIdBytes()

public ByteString getScheduleIdBytes()

Required. User-defined unique ID of this schedule.

string schedule_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for scheduleId.

getScheduleOrBuilder()

public ScheduleOrBuilder getScheduleOrBuilder()

Required. The schedule to be created.

.google.cloud.notebooks.v1.Schedule schedule = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ScheduleOrBuilder

hasSchedule()

public b