public static final class ListSchedulesResponse.Builder extends GeneratedMessage.Builder<ListSchedulesResponse.Builder> implements ListSchedulesResponseOrBuilderResponse for listing scheduled notebook job.
Protobuf type google.cloud.notebooks.v1.ListSchedulesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListSchedulesResponse.BuilderImplements
ListSchedulesResponseOrBuilderStatic 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. |
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 |
StringThe 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 |
ByteStringThe 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 |
|
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. |
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. |
getDefaultInstanceForType()
public ListSchedulesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListSchedulesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
intThe 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 |
intThe 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListSchedulesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListSchedulesResponse.Builder |
|
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 |
|
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 |
StringThe 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 |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListSchedulesResponse.Builder |
This builder for chaining. |
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 |
|
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 |
intThe index to set the value at. |
value |
StringThe unreachable to set. |
| Returns | |
|---|---|
| Type | Description |
ListSchedulesResponse.Builder |
This builder for chaining. |