Class TransferProto.ListTransferJobsResponse.Builder (1.28.0)

public static final class TransferProto.ListTransferJobsResponse.Builder extends GeneratedMessageV3.Builder<TransferProto.ListTransferJobsResponse.Builder> implements TransferProto.ListTransferJobsResponseOrBuilder

Response from ListTransferJobs.

Protobuf type google.storagetransfer.v1.ListTransferJobsResponse

Static Methods

getDescriptor()

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

Methods

addAllTransferJobs(Iterable<? extends TransferTypes.TransferJob> values)

public TransferProto.ListTransferJobsResponse.Builder addAllTransferJobs(Iterable<? extends TransferTypes.TransferJob> values)

A list of transfer jobs.

repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1;

Parameter
Name Description
values Iterable<? extends com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>
Returns
Type Description
TransferProto.ListTransferJobsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTransferJobs(TransferTypes.TransferJob value)

public TransferProto.ListTransferJobsResponse.Builder addTransferJobs(TransferTypes.TransferJob value)

A list of transfer jobs.

repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1;

Parameter
Name Description
value TransferTypes.TransferJob
Returns
Type Description
TransferProto.ListTransferJobsResponse.Builder

addTransferJobs(TransferTypes.TransferJob.Builder builderForValue)

public TransferProto.ListTransferJobsResponse.Builder addTransferJobs(TransferTypes.TransferJob.Builder builderForValue)

A list of transfer jobs.

repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1;

Parameter
Name Description
builderForValue TransferTypes.TransferJob.Builder
Returns
Type Description
TransferProto.ListTransferJobsResponse.Builder

addTransferJobs(int index, TransferTypes.TransferJob value)

public TransferProto.ListTransferJobsResponse.Builder addTransferJobs(int index, TransferTypes.TransferJob value)

A list of transfer jobs.

repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1;

Parameters
Name Description
index int
value TransferTypes.TransferJob
Returns
Type Description
TransferProto.ListTransferJobsResponse.Builder

addTransferJobs(int index, TransferTypes.TransferJob.Builder builderForValue)

public TransferProto.ListTransferJobsResponse.Builder addTransferJobs(int index, TransferTypes.TransferJob.Builder builderForValue)

A list of transfer jobs.

repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1;

Parameters
Name Description
index int
builderForValue TransferTypes.TransferJob.Builder
Returns
Type Description
TransferProto.ListTransferJobsResponse.Builder

addTransferJobsBuilder()

public TransferTypes.TransferJob.Builder addTransferJobsBuilder()

A list of transfer jobs.

repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1;

Returns
Type Description
TransferTypes.TransferJob.Builder

addTransferJobsBuilder(int index)

public TransferTypes.TransferJob.Builder addTransferJobsBuilder(int index)

A list of transfer jobs.

repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
TransferTypes.TransferJob.Builder

build()

public TransferProto.ListTransferJobsResponse build()
Returns
Type Description
TransferProto.ListTransferJobsResponse

buildPartial()

public TransferProto.ListTransferJobsResponse buildPartial()
Returns
Type Description
TransferProto.ListTransferJobsResponse

clear()

public TransferProto.ListTransferJobsResponse.Builder clear()
Returns
Type Description
TransferProto.ListTransferJobsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public TransferProto.ListTransferJobsResponse.Builder clearNextPageToken()

The list next page token.

string next_page_token = 2;

Returns
Type Description
TransferProto.ListTransferJobsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTransferJobs()

public TransferProto.ListTransferJobsResponse.Builder clearTransferJobs()

A list of transfer jobs.

repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1;

Returns
Type Description
TransferProto.ListTransferJobsResponse.Builder

clone()

public TransferProto.ListTransferJobsResponse.Builder clone()
Returns
Type Description
TransferProto.ListTransferJobsResponse.Builder
Overrides

getDefaultInstanceForType()

public TransferProto.ListTransferJobsResponse getDefaultInstanceForType()
Returns
Type Description
TransferProto.ListTransferJobsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

The list next page token.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The list next page token.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTransferJobs(int index)

public TransferTypes.TransferJob getTransferJobs(int index)

A list of transfer jobs.

repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
TransferTypes.TransferJob

getTransferJobsBuilder(int index)

public TransferTypes.TransferJob.Builder getTransferJobsBuilder(int index)

A list of transfer jobs.

repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
TransferTypes.TransferJob.Builder

getTransferJobsBuilderList()

public List<TransferTypes.TransferJob.Builder> getTransferJobsBuilderList()

A list of transfer jobs.

repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1;

Returns
Type Description
List<Builder>

getTransferJobsCount()

public int getTransferJobsCount()

A list of transfer jobs.

repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1;

Returns
Type Description
int

getTransferJobsList()

public List<TransferTypes.TransferJob> getTransferJobsList()

A list of transfer jobs.

repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1;

Returns
Type Description
List<TransferJob>

getTransferJobsOrBuilder(int index)

public TransferTypes.TransferJobOrBuilder getTransferJobsOrBuilder(int index)

A list of transfer jobs.

repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
TransferTypes.TransferJobOrBuilder

getTransferJobsOrBuilderList()

public List<? extends TransferTypes.TransferJobOrBuilder> getTransferJobsOrBuilderList()

A list of transfer jobs.

repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1;

Returns
Type Description
List<? extends com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(TransferProto.ListTransferJobsResponse other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTransferJobs(int index)

public TransferProto.ListTransferJobsResponse.Builder removeTransferJobs(int index)

A list of transfer jobs.

repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
TransferProto.ListTransferJobsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public TransferProto.ListTransferJobsResponse.Builder setNextPageToken(String value)

The list next page token.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
TransferProto.ListTransferJobsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public TransferProto.ListTransferJobsResponse.Builder setNextPageTokenBytes(ByteString value)

The list next page token.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
TransferProto.ListTransferJobsResponse.Builder

This builder for chaining.

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

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

setTransferJobs(int index, TransferTypes.TransferJob value)

public TransferProto.ListTransferJobsResponse.Builder setTransferJobs(int index, TransferTypes.TransferJob value)

A list of transfer jobs.

repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1;

Parameters
Name Description
index int
value TransferTypes.TransferJob
Returns
Type Description
TransferProto.ListTransferJobsResponse.Builder

setTransferJobs(int index, TransferTypes.TransferJob.Builder builderForValue)

public TransferProto.ListTransferJobsResponse.Builder setTransferJobs(int index, TransferTypes.TransferJob.Builder builderForValue)

A list of transfer jobs.

repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1;

Parameters
Name Description
index int
builderForValue TransferTypes.TransferJob.Builder
Returns
Type Description
TransferProto.ListTransferJobsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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