Class ListSchedulesResponse.Builder (1.50.0)

public static final class ListSchedulesResponse.Builder extends GeneratedMessageV3.Builder<ListSchedulesResponse.Builder> implements ListSchedulesResponseOrBuilder

Response for listing scheduled notebook job.

Protobuf type google.cloud.notebooks.v1.ListSchedulesResponse

Static Methods

getDescriptor()

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

Methods

addAllSchedules(Iterable<? extends Schedule> values)

public ListSchedulesResponse.Builder addAllSchedules(Iterable<? extends Schedule> values)

A list of returned instances.

repeated .google.cloud.notebooks.v1.Schedule schedules = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.notebooks.v1.Schedule>
Returns
Type Description
ListSchedulesResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListSchedulesResponse.Builder addAllUnreachable(Iterable<String> values)

Schedules that could not be reached. For example:

 ['projects/{project_id}/location/{location}/schedules/monthly_digest',
  'projects/{project_id}/location/{location}/schedules/weekly_sentiment']

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListSchedulesResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSchedules(Schedule value)

public ListSchedulesResponse.Builder addSchedules(Schedule value)

A list of returned instances.

repeated .google.cloud.notebooks.v1.Schedule schedules = 1;

Parameter
Name Description
value Schedule
Returns
Type Description
ListSchedulesResponse.Builder

addSchedules(Schedule.Builder builderForValue)

public ListSchedulesResponse.Builder addSchedules(Schedule.Builder builderForValue)

A list of returned instances.

repeated .google.cloud.notebooks.v1.Schedule schedules = 1;

Parameter
Name Description
builderForValue Schedule.Builder
Returns
Type Description
ListSchedulesResponse.Builder

addSchedules(int index, Schedule value)

public ListSchedulesResponse.Builder addSchedules(int index, Schedule value)

A list of returned instances.

repeated .google.cloud.notebooks.v1.Schedule schedules = 1;

Parameters
Name Description
index int
value Schedule
Returns
Type Description
ListSchedulesResponse.Builder

addSchedules(int index, Schedule.Builder builderForValue)

public ListSchedulesResponse.Builder addSchedules(int index, Schedule.Builder builderForValue)

A list of returned instances.

repeated .google.cloud.notebooks.v1.Schedule schedules = 1;

Parameters
Name Description
index int
builderForValue Schedule.Builder
Returns
Type Description
ListSchedulesResponse.Builder

addSchedulesBuilder()

public Schedule.Builder addSchedulesBuilder()

A list of returned instances.

repeated .google.cloud.notebooks.v1.Schedule schedules = 1;

Returns
Type Description
Schedule.Builder

addSchedulesBuilder(int index)

public Schedule.Builder addSchedulesBuilder(int index)

A list of returned instances.

repeated .google.cloud.notebooks.v1.Schedule schedules = 1;

Parameter
Name Description
index int
Returns
Type Description
Schedule.Builder

addUnreachable(String value)

public ListSchedulesResponse.Builder addUnreachable(String value)

Schedules that could not be reached. For example:

 ['projects/{project_id}/location/{location}/schedules/monthly_digest',
  'projects/{project_id}/location/{location}/schedules/weekly_sentiment']

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListSchedulesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListSchedulesResponse.Builder addUnreachableBytes(ByteString value)

Schedules that could not be reached. For example:

 ['projects/{project_id}/location/{location}/schedules/monthly_digest',
  'projects/{project_id}/location/{location}/schedules/weekly_sentiment']

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListSchedulesResponse.Builder

This builder for chaining.

build()

public ListSchedulesResponse build()
Returns
Type Description
ListSchedulesResponse

buildPartial()

public ListSchedulesResponse buildPartial()
Returns
Type Description
ListSchedulesResponse

clear()

public ListSchedulesResponse.Builder clear()
Returns
Type Description
ListSchedulesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListSchedulesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListSchedulesResponse.Builder
Overrides

clearNextPageToken()

public ListSchedulesResponse.Builder clearNextPageToken()

Page token that can be used to continue listing from the last result in the next list call.

string next_page_token = 2;

Returns
Type Description
ListSchedulesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListSchedulesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListSchedulesResponse.Builder
Overrides

clearSchedules()

public ListSchedulesResponse.Builder clearSchedules()

A list of returned instances.

repeated .google.cloud.notebooks.v1.Schedule schedules = 1;

Returns
Type Description
ListSchedulesResponse.Builder

clearUnreachable()

public ListSchedulesResponse.Builder clearUnreachable()

Schedules that could not be reached. For example:

 ['projects/{project_id}/location/{location}/schedules/monthly_digest',
  'projects/{project_id}/location/{location}/schedules/weekly_sentiment']

repeated string unreachable = 3;

Returns
Type Description
ListSchedulesResponse.Builder

This builder for chaining.

clone()

public ListSchedulesResponse.Builder clone()
Returns
Type Description
ListSchedulesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListSchedulesResponse getDefaultInstanceForType()
Returns
Type Description
ListSchedulesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

Page token that can be used to continue listing from the last result in the next list call.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Page token that can be used to continue listing from the last result in the next list call.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getSchedules(int index)

public Schedule getSchedules(int index)

A list of returned instances.

repeated .google.cloud.notebooks.v1.Schedule schedules = 1;

Parameter
Name Description
index int
Returns
Type Description
Schedule

getSchedulesBuilder(int index)

public Schedule.Builder getSchedulesBuilder(int index)

A list of returned instances.

repeated .google.cloud.notebooks.v1.Schedule schedules = 1;

Parameter
Name Description
index int
Returns
Type Description
Schedule.Builder

getSchedulesBuilderList()

public List<Schedule.Builder> getSchedulesBuilderList()

A list of returned instances.

repeated .google.cloud.notebooks.v1.Schedule schedules = 1;

Returns
Type Description
List<Builder>

getSchedulesCount()

public int getSchedulesCount()

A list of returned instances.

repeated .google.cloud.notebooks.v1.Schedule schedules = 1;

Returns
Type Description
int

getSchedulesList()

public List<Schedule> getSchedulesList()

A list of returned instances.

repeated .google.cloud.notebooks.v1.Schedule schedules = 1;

Returns
Type Description
List<Schedule>

getSchedulesOrBuilder(int index)

public ScheduleOrBuilder getSchedulesOrBuilder(int index)

A list of returned instances.

repeated .google.cloud.notebooks.v1.Schedule schedules = 1;

Parameter
Name Description
index int
Returns
Type Description
ScheduleOrBuilder

getSchedulesOrBuilderList()

public List<? extends ScheduleOrBuilder> getSchedulesOrBuilderList()

A list of returned instances.

repeated .google.cloud.notebooks.v1.Schedule schedules = 1;

Returns
Type Description
List<? extends com.google.cloud.notebooks.v1.ScheduleOrBuilder>

getUnreachable(int index)

public String getUnreachable(int index)

Schedules that could not be reached. For example:

 ['projects/{project_id}/location/{location}/schedules/monthly_digest',
  'projects/{project_id}/location/{location}/schedules/weekly_sentiment']

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Schedules that could not be reached. For example:

 ['projects/{project_id}/location/{location}/schedules/monthly_digest',
  'projects/{project_id}/location/{location}/schedules/weekly_sentiment']

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Schedules that could not be reached. For example:

 ['projects/{project_id}/location/{location}/schedules/monthly_digest',
  'projects/{project_id}/location/{location}/schedules/weekly_sentiment']

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Schedules that could not be reached. For example:

 ['projects/{project_id}/location/{location}/schedules/monthly_digest',
  'projects/{project_id}/location/{location}/schedules/weekly_sentiment']

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListSchedulesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSchedulesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListSchedulesResponse.Builder
Overrides

removeSchedules(int index)

public ListSchedulesResponse.Builder removeSchedules(int index)

A list of returned instances.

repeated .google.cloud.notebooks.v1.Schedule schedules = 1;

Parameter
Name Description
index int
Returns
Type Description
ListSchedulesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListSchedulesResponse.Builder setNextPageToken(String value)

Page token that can be used to continue listing from the last result in the next list call.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListSchedulesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListSchedulesResponse.Builder setNextPageTokenBytes(ByteString value)

Page token that can be used to continue listing from the last result in the next list call.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListSchedulesResponse.Builder

This builder for chaining.

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

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

setSchedules(int index, Schedule value)

public ListSchedulesResponse.Builder setSchedules(int index, Schedule value)

A list of returned instances.

repeated .google.cloud.notebooks.v1.Schedule schedules = 1;

Parameters
Name Description
index int
value Schedule
Returns
Type Description
ListSchedulesResponse.Builder

setSchedules(int index, Schedule.Builder builderForValue)

public ListSchedulesResponse.Builder setSchedules(int index, Schedule.Builder builderForValue)

A list of returned instances.

repeated .google.cloud.notebooks.v1.Schedule schedules = 1;

Parameters
Name Description
index int
builderForValue Schedule.Builder
Returns
Type Description
ListSchedulesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListSchedulesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListSchedulesResponse.Builder
Overrides

setUnreachable(int index, String value)

public ListSchedulesResponse.Builder setUnreachable(int index, String value)

Schedules that could not be reached. For example:

 ['projects/{project_id}/location/{location}/schedules/monthly_digest',
  'projects/{project_id}/location/{location}/schedules/weekly_sentiment']

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListSchedulesResponse.Builder

This builder for chaining.