Class ListSchedulesResponse.Builder (3.33.0)

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

Response message for ScheduleService.ListSchedules

Protobuf type google.cloud.aiplatform.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)

List of Schedules in the requested page.

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

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

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)

List of Schedules in the requested page.

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

Parameter
NameDescription
valueSchedule
Returns
TypeDescription
ListSchedulesResponse.Builder

addSchedules(Schedule.Builder builderForValue)

public ListSchedulesResponse.Builder addSchedules(Schedule.Builder builderForValue)

List of Schedules in the requested page.

repeated .google.cloud.aiplatform.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)

List of Schedules in the requested page.

repeated .google.cloud.aiplatform.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)

List of Schedules in the requested page.

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

Parameters
NameDescription
indexint
builderForValueSchedule.Builder
Returns
TypeDescription
ListSchedulesResponse.Builder

addSchedulesBuilder()

public Schedule.Builder addSchedulesBuilder()

List of Schedules in the requested page.

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

Returns
TypeDescription
Schedule.Builder

addSchedulesBuilder(int index)

public Schedule.Builder addSchedulesBuilder(int index)

List of Schedules in the requested page.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Schedule.Builder

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()

A token to retrieve the next page of results. Pass to ListSchedulesRequest.page_token to obtain that page.

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()

List of Schedules in the requested page.

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

Returns
TypeDescription
ListSchedulesResponse.Builder

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()

A token to retrieve the next page of results. Pass to ListSchedulesRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve the next page of results. Pass to ListSchedulesRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getSchedules(int index)

public Schedule getSchedules(int index)

List of Schedules in the requested page.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Schedule

getSchedulesBuilder(int index)

public Schedule.Builder getSchedulesBuilder(int index)

List of Schedules in the requested page.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Schedule.Builder

getSchedulesBuilderList()

public List<Schedule.Builder> getSchedulesBuilderList()

List of Schedules in the requested page.

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

Returns
TypeDescription
List<Builder>

getSchedulesCount()

public int getSchedulesCount()

List of Schedules in the requested page.

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

Returns
TypeDescription
int

getSchedulesList()

public List<Schedule> getSchedulesList()

List of Schedules in the requested page.

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

Returns
TypeDescription
List<Schedule>

getSchedulesOrBuilder(int index)

public ScheduleOrBuilder getSchedulesOrBuilder(int index)

List of Schedules in the requested page.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ScheduleOrBuilder

getSchedulesOrBuilderList()

public List<? extends ScheduleOrBuilder> getSchedulesOrBuilderList()

List of Schedules in the requested page.

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

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.ScheduleOrBuilder>

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)

List of Schedules in the requested page.

repeated .google.cloud.aiplatform.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)

A token to retrieve the next page of results. Pass to ListSchedulesRequest.page_token to obtain that page.

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)

A token to retrieve the next page of results. Pass to ListSchedulesRequest.page_token to obtain that page.

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)

List of Schedules in the requested page.

repeated .google.cloud.aiplatform.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)

List of Schedules in the requested page.

repeated .google.cloud.aiplatform.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