Class ListExecutionsResponse.Builder (1.1.2)

Stay organized with collections Save and categorize content based on your preferences.
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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.notebooks.v1.Execution>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueExecution
Returns
TypeDescription
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
NameDescription
builderForValueExecution.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueExecution
Returns
TypeDescription
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
NameDescription
indexint
builderForValueExecution.Builder
Returns
TypeDescription
ListExecutionsResponse.Builder

addExecutionsBuilder()

public Execution.Builder addExecutionsBuilder()

A list of returned instances.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListExecutionsResponse.Builder

This builder for chaining.

build()

public ListExecutionsResponse build()
Returns
TypeDescription
ListExecutionsResponse

buildPartial()

public ListExecutionsResponse buildPartial()
Returns
TypeDescription
ListExecutionsResponse

clear()

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

clearExecutions()

public ListExecutionsResponse.Builder clearExecutions()

A list of returned instances.

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

Returns
TypeDescription
ListExecutionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListExecutionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListExecutionsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListExecutionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListExecutionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExecutions(int index)

public Execution getExecutions(int index)

A list of returned instances.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Execution

getExecutionsBuilder(int index)

public Execution.Builder getExecutionsBuilder(int index)

A list of returned instances.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Execution.Builder

getExecutionsBuilderList()

public List<Execution.Builder> getExecutionsBuilderList()

A list of returned instances.

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

Returns
TypeDescription
List<Builder>

getExecutionsCount()

public int getExecutionsCount()

A list of returned instances.

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

Returns
TypeDescription
int

getExecutionsList()

public List<Execution> getExecutionsList()

A list of returned instances.

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

Returns
TypeDescription
List<Execution>

getExecutionsOrBuilder(int index)

public ExecutionOrBuilder getExecutionsOrBuilder(int index)

A list of returned instances.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ExecutionOrBuilder

getExecutionsOrBuilderList()

public List<? extends ExecutionOrBuilder> getExecutionsOrBuilderList()

A list of returned instances.

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

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

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

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

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

public ListExecutionsResponse.Builder mergeFrom(ListExecutionsResponse other)
Parameter
NameDescription
otherListExecutionsResponse
Returns
TypeDescription
ListExecutionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListExecutionsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListExecutionsResponse.Builder

This builder for chaining.