Class ListExecutionsResponse.Builder (1.52.0)

public static final class ListExecutionsResponse.Builder extends GeneratedMessageV3.Builder<ListExecutionsResponse.Builder> implements ListExecutionsResponseOrBuilder

Response for listing scheduled notebook executions

Protobuf type google.cloud.notebooks.v1.ListExecutionsResponse

Static Methods

getDescriptor()

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

Methods

addAllExecutions(Iterable<? extends Execution> values)

public ListExecutionsResponse.Builder addAllExecutions(Iterable<? extends Execution> values)

A list of returned instances.

repeated .google.cloud.notebooks.v1.Execution executions = 1;

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

addAllUnreachable(Iterable<String> values)

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

Executions IDs that could not be reached. For example:

 ['projects/{project_id}/location/{location}/executions/imagenet_test1',
  'projects/{project_id}/location/{location}/executions/classifier_train1']

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListExecutionsResponse.Builder

This builder for chaining.

addExecutions(Execution value)

public ListExecutionsResponse.Builder addExecutions(Execution value)

A list of returned instances.

repeated .google.cloud.notebooks.v1.Execution executions = 1;

Parameter
Name Description
value Execution
Returns
Type Description
ListExecutionsResponse.Builder

addExecutions(Execution.Builder builderForValue)

public ListExecutionsResponse.Builder addExecutions(Execution.Builder builderForValue)

A list of returned instances.

repeated .google.cloud.notebooks.v1.Execution executions = 1;

Parameter
Name Description
builderForValue Execution.Builder
Returns
Type Description
ListExecutionsResponse.Builder

addExecutions(int index, Execution value)

public ListExecutionsResponse.Builder addExecutions(int index, Execution value)

A list of returned instances.

repeated .google.cloud.notebooks.v1.Execution executions = 1;

Parameters
Name Description
index int
value Execution
Returns
Type Description
ListExecutionsResponse.Builder

addExecutions(int index, Execution.Builder builderForValue)

public ListExecutionsResponse.Builder addExecutions(int index, Execution.Builder builderForValue)

A list of returned instances.

repeated .google.cloud.notebooks.v1.Execution executions = 1;

Parameters
Name Description
index int
builderForValue Execution.Builder
Returns
Type Description
ListExecutionsResponse.Builder

addExecutionsBuilder()

public Execution.Builder addExecutionsBuilder()

A list of returned instances.

repeated .google.cloud.notebooks.v1.Execution executions = 1;

Returns
Type Description
Execution.Builder

addExecutionsBuilder(int index)

public Execution.Builder addExecutionsBuilder(int index)

A list of returned instances.

repeated .google.cloud.notebooks.v1.Execution executions = 1;

Parameter
Name Description
index int
Returns
Type Description
Execution.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListExecutionsResponse.Builder addUnreachable(String value)

Executions IDs that could not be reached. For example:

 ['projects/{project_id}/location/{location}/executions/imagenet_test1',
  'projects/{project_id}/location/{location}/executions/classifier_train1']

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListExecutionsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListExecutionsResponse.Builder addUnreachableBytes(ByteString value)

Executions IDs that could not be reached. For example:

 ['projects/{project_id}/location/{location}/executions/imagenet_test1',
  'projects/{project_id}/location/{location}/executions/classifier_train1']

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListExecutionsResponse.Builder

This builder for chaining.

build()

public ListExecutionsResponse build()
Returns
Type Description
ListExecutionsResponse

buildPartial()

public ListExecutionsResponse buildPartial()
Returns
Type Description
ListExecutionsResponse

clear()

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

clearExecutions()

public ListExecutionsResponse.Builder clearExecutions()

A list of returned instances.

repeated .google.cloud.notebooks.v1.Execution executions = 1;

Returns
Type Description
ListExecutionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListExecutionsResponse.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
ListExecutionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListExecutionsResponse.Builder clearUnreachable()

Executions IDs that could not be reached. For example:

 ['projects/{project_id}/location/{location}/executions/imagenet_test1',
  'projects/{project_id}/location/{location}/executions/classifier_train1']

repeated string unreachable = 3;

Returns
Type Description
ListExecutionsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListExecutionsResponse getDefaultInstanceForType()
Returns
Type Description
ListExecutionsResponse

getDescriptorForType()

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

getExecutions(int index)

public Execution getExecutions(int index)

A list of returned instances.

repeated .google.cloud.notebooks.v1.Execution executions = 1;

Parameter
Name Description
index int
Returns
Type Description
Execution

getExecutionsBuilder(int index)

public Execution.Builder getExecutionsBuilder(int index)

A list of returned instances.

repeated .google.cloud.notebooks.v1.Execution executions = 1;

Parameter
Name Description
index int
Returns
Type Description
Execution.Builder

getExecutionsBuilderList()

public List<Execution.Builder> getExecutionsBuilderList()

A list of returned instances.

repeated .google.cloud.notebooks.v1.Execution executions = 1;

Returns
Type Description
List<Builder>

getExecutionsCount()

public int getExecutionsCount()

A list of returned instances.

repeated .google.cloud.notebooks.v1.Execution executions = 1;

Returns
Type Description
int

getExecutionsList()

public List<Execution> getExecutionsList()

A list of returned instances.

repeated .google.cloud.notebooks.v1.Execution executions = 1;

Returns
Type Description
List<Execution>

getExecutionsOrBuilder(int index)

public ExecutionOrBuilder getExecutionsOrBuilder(int index)

A list of returned instances.

repeated .google.cloud.notebooks.v1.Execution executions = 1;

Parameter
Name Description
index int
Returns
Type Description
ExecutionOrBuilder

getExecutionsOrBuilderList()

public List<? extends ExecutionOrBuilder> getExecutionsOrBuilderList()

A list of returned instances.

repeated .google.cloud.notebooks.v1.Execution executions = 1;

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

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.

getUnreachable(int index)

public String getUnreachable(int index)

Executions IDs that could not be reached. For example:

 ['projects/{project_id}/location/{location}/executions/imagenet_test1',
  'projects/{project_id}/location/{location}/executions/classifier_train1']

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)

Executions IDs that could not be reached. For example:

 ['projects/{project_id}/location/{location}/executions/imagenet_test1',
  'projects/{project_id}/location/{location}/executions/classifier_train1']

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

Executions IDs that could not be reached. For example:

 ['projects/{project_id}/location/{location}/executions/imagenet_test1',
  'projects/{project_id}/location/{location}/executions/classifier_train1']

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Executions IDs that could not be reached. For example:

 ['projects/{project_id}/location/{location}/executions/imagenet_test1',
  'projects/{project_id}/location/{location}/executions/classifier_train1']

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeExecutions(int index)

public ListExecutionsResponse.Builder removeExecutions(int index)

A list of returned instances.

repeated .google.cloud.notebooks.v1.Execution executions = 1;

Parameter
Name Description
index int
Returns
Type Description
ListExecutionsResponse.Builder

setExecutions(int index, Execution value)

public ListExecutionsResponse.Builder setExecutions(int index, Execution value)

A list of returned instances.

repeated .google.cloud.notebooks.v1.Execution executions = 1;

Parameters
Name Description
index int
value Execution
Returns
Type Description
ListExecutionsResponse.Builder

setExecutions(int index, Execution.Builder builderForValue)

public ListExecutionsResponse.Builder setExecutions(int index, Execution.Builder builderForValue)

A list of returned instances.

repeated .google.cloud.notebooks.v1.Execution executions = 1;

Parameters
Name Description
index int
builderForValue Execution.Builder
Returns
Type Description
ListExecutionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListExecutionsResponse.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
ListExecutionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListExecutionsResponse.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
ListExecutionsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

Executions IDs that could not be reached. For example:

 ['projects/{project_id}/location/{location}/executions/imagenet_test1',
  'projects/{project_id}/location/{location}/executions/classifier_train1']

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
ListExecutionsResponse.Builder

This builder for chaining.