Class ListTasksResponse.Builder (1.34.0)

public static final class ListTasksResponse.Builder extends GeneratedMessageV3.Builder<ListTasksResponse.Builder> implements ListTasksResponseOrBuilder

List tasks response.

Protobuf type google.cloud.dataplex.v1.ListTasksResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllTasks(Iterable<? extends Task> values)

public ListTasksResponse.Builder addAllTasks(Iterable<? extends Task> values)

Tasks under the given parent lake.

repeated .google.cloud.dataplex.v1.Task tasks = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dataplex.v1.Task>
Returns
TypeDescription
ListTasksResponse.Builder

addAllUnreachableLocations(Iterable<String> values)

public ListTasksResponse.Builder addAllUnreachableLocations(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachableLocations to add.

Returns
TypeDescription
ListTasksResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListTasksResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListTasksResponse.Builder
Overrides

addTasks(Task value)

public ListTasksResponse.Builder addTasks(Task value)

Tasks under the given parent lake.

repeated .google.cloud.dataplex.v1.Task tasks = 1;

Parameter
NameDescription
valueTask
Returns
TypeDescription
ListTasksResponse.Builder

addTasks(Task.Builder builderForValue)

public ListTasksResponse.Builder addTasks(Task.Builder builderForValue)

Tasks under the given parent lake.

repeated .google.cloud.dataplex.v1.Task tasks = 1;

Parameter
NameDescription
builderForValueTask.Builder
Returns
TypeDescription
ListTasksResponse.Builder

addTasks(int index, Task value)

public ListTasksResponse.Builder addTasks(int index, Task value)

Tasks under the given parent lake.

repeated .google.cloud.dataplex.v1.Task tasks = 1;

Parameters
NameDescription
indexint
valueTask
Returns
TypeDescription
ListTasksResponse.Builder

addTasks(int index, Task.Builder builderForValue)

public ListTasksResponse.Builder addTasks(int index, Task.Builder builderForValue)

Tasks under the given parent lake.

repeated .google.cloud.dataplex.v1.Task tasks = 1;

Parameters
NameDescription
indexint
builderForValueTask.Builder
Returns
TypeDescription
ListTasksResponse.Builder

addTasksBuilder()

public Task.Builder addTasksBuilder()

Tasks under the given parent lake.

repeated .google.cloud.dataplex.v1.Task tasks = 1;

Returns
TypeDescription
Task.Builder

addTasksBuilder(int index)

public Task.Builder addTasksBuilder(int index)

Tasks under the given parent lake.

repeated .google.cloud.dataplex.v1.Task tasks = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Task.Builder

addUnreachableLocations(String value)

public ListTasksResponse.Builder addUnreachableLocations(String value)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
NameDescription
valueString

The unreachableLocations to add.

Returns
TypeDescription
ListTasksResponse.Builder

This builder for chaining.

addUnreachableLocationsBytes(ByteString value)

public ListTasksResponse.Builder addUnreachableLocationsBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
NameDescription
valueByteString

The bytes of the unreachableLocations to add.

Returns
TypeDescription
ListTasksResponse.Builder

This builder for chaining.

build()

public ListTasksResponse build()
Returns
TypeDescription
ListTasksResponse

buildPartial()

public ListTasksResponse buildPartial()
Returns
TypeDescription
ListTasksResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListTasksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListTasksResponse.Builder
Overrides

clearNextPageToken()

public ListTasksResponse.Builder clearNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
ListTasksResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTasks()

public ListTasksResponse.Builder clearTasks()

Tasks under the given parent lake.

repeated .google.cloud.dataplex.v1.Task tasks = 1;

Returns
TypeDescription
ListTasksResponse.Builder

clearUnreachableLocations()

public ListTasksResponse.Builder clearUnreachableLocations()

Locations that could not be reached.

repeated string unreachable_locations = 3;

Returns
TypeDescription
ListTasksResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListTasksResponse getDefaultInstanceForType()
Returns
TypeDescription
ListTasksResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getTasks(int index)

public Task getTasks(int index)

Tasks under the given parent lake.

repeated .google.cloud.dataplex.v1.Task tasks = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Task

getTasksBuilder(int index)

public Task.Builder getTasksBuilder(int index)

Tasks under the given parent lake.

repeated .google.cloud.dataplex.v1.Task tasks = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Task.Builder

getTasksBuilderList()

public List<Task.Builder> getTasksBuilderList()

Tasks under the given parent lake.

repeated .google.cloud.dataplex.v1.Task tasks = 1;

Returns
TypeDescription
List<Builder>

getTasksCount()

public int getTasksCount()

Tasks under the given parent lake.

repeated .google.cloud.dataplex.v1.Task tasks = 1;

Returns
TypeDescription
int

getTasksList()

public List<Task> getTasksList()

Tasks under the given parent lake.

repeated .google.cloud.dataplex.v1.Task tasks = 1;

Returns
TypeDescription
List<Task>

getTasksOrBuilder(int index)

public TaskOrBuilder getTasksOrBuilder(int index)

Tasks under the given parent lake.

repeated .google.cloud.dataplex.v1.Task tasks = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TaskOrBuilder

getTasksOrBuilderList()

public List<? extends TaskOrBuilder> getTasksOrBuilderList()

Tasks under the given parent lake.

repeated .google.cloud.dataplex.v1.Task tasks = 1;

Returns
TypeDescription
List<? extends com.google.cloud.dataplex.v1.TaskOrBuilder>

getUnreachableLocations(int index)

public String getUnreachableLocations(int index)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The unreachableLocations at the given index.

getUnreachableLocationsBytes(int index)

public ByteString getUnreachableLocationsBytes(int index)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the unreachableLocations at the given index.

getUnreachableLocationsCount()

public int getUnreachableLocationsCount()

Locations that could not be reached.

repeated string unreachable_locations = 3;

Returns
TypeDescription
int

The count of unreachableLocations.

getUnreachableLocationsList()

public ProtocolStringList getUnreachableLocationsList()

Locations that could not be reached.

repeated string unreachable_locations = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachableLocations.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListTasksResponse other)

public ListTasksResponse.Builder mergeFrom(ListTasksResponse other)
Parameter
NameDescription
otherListTasksResponse
Returns
TypeDescription
ListTasksResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTasksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListTasksResponse.Builder
Overrides

removeTasks(int index)

public ListTasksResponse.Builder removeTasks(int index)

Tasks under the given parent lake.

repeated .google.cloud.dataplex.v1.Task tasks = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListTasksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListTasksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListTasksResponse.Builder
Overrides

setNextPageToken(String value)

public ListTasksResponse.Builder setNextPageToken(String value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListTasksResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListTasksResponse.Builder setNextPageTokenBytes(ByteString value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListTasksResponse.Builder

This builder for chaining.

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

public ListTasksResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListTasksResponse.Builder
Overrides

setTasks(int index, Task value)

public ListTasksResponse.Builder setTasks(int index, Task value)

Tasks under the given parent lake.

repeated .google.cloud.dataplex.v1.Task tasks = 1;

Parameters
NameDescription
indexint
valueTask
Returns
TypeDescription
ListTasksResponse.Builder

setTasks(int index, Task.Builder builderForValue)

public ListTasksResponse.Builder setTasks(int index, Task.Builder builderForValue)

Tasks under the given parent lake.

repeated .google.cloud.dataplex.v1.Task tasks = 1;

Parameters
NameDescription
indexint
builderForValueTask.Builder
Returns
TypeDescription
ListTasksResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListTasksResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListTasksResponse.Builder
Overrides

setUnreachableLocations(int index, String value)

public ListTasksResponse.Builder setUnreachableLocations(int index, String value)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The unreachableLocations to set.

Returns
TypeDescription
ListTasksResponse.Builder

This builder for chaining.