Class ListSchedulesResponse.Builder (1.39.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.notebooks.v1.Schedule>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
ListSchedulesResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListSchedulesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSchedule
Returns
TypeDescription
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
NameDescription
builderForValueSchedule.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueSchedule
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSchedule.Builder
Returns
TypeDescription
ListSchedulesResponse.Builder

addSchedulesBuilder()

public Schedule.Builder addSchedulesBuilder()

A list of returned instances.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListSchedulesResponse.Builder

This builder for chaining.

build()

public ListSchedulesResponse build()
Returns
TypeDescription
ListSchedulesResponse

buildPartial()

public ListSchedulesResponse buildPartial()
Returns
TypeDescription
ListSchedulesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListSchedulesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListSchedulesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSchedules()

public ListSchedulesResponse.Builder clearSchedules()

A list of returned instances.

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

Returns
TypeDescription
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
TypeDescription
ListSchedulesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListSchedulesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSchedulesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Schedule

getSchedulesBuilder(int index)

public Schedule.Builder getSchedulesBuilder(int index)

A list of returned instances.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Schedule.Builder

getSchedulesBuilderList()

public List<Schedule.Builder> getSchedulesBuilderList()

A list of returned instances.

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

Returns
TypeDescription
List<Builder>

getSchedulesCount()

public int getSchedulesCount()

A list of returned instances.

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

Returns
TypeDescription
int

getSchedulesList()

public List<Schedule> getSchedulesList()

A list of returned instances.

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

Returns
TypeDescription
List<Schedule>

getSchedulesOrBuilder(int index)

public ScheduleOrBuilder getSchedulesOrBuilder(int index)

A list of returned instances.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ScheduleOrBuilder

getSchedulesOrBuilderList()

public List<? extends ScheduleOrBuilder> getSchedulesOrBuilderList()

A list of returned instances.

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

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListSchedulesResponse other)

public ListSchedulesResponse.Builder mergeFrom(ListSchedulesResponse other)
Parameter
NameDescription
otherListSchedulesResponse
Returns
TypeDescription
ListSchedulesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSchedulesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListSchedulesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListSchedulesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueSchedule
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSchedule.Builder
Returns
TypeDescription
ListSchedulesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListSchedulesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListSchedulesResponse.Builder

This builder for chaining.