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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferProto.ListTransferJobsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
addTransferJobsBuilder()
public TransferTypes.TransferJob.Builder addTransferJobsBuilder()
A list of transfer jobs.
repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1;
Returns
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
build()
public TransferProto.ListTransferJobsResponse build()
Returns
buildPartial()
public TransferProto.ListTransferJobsResponse buildPartial()
Returns
clear()
public TransferProto.ListTransferJobsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TransferProto.ListTransferJobsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public TransferProto.ListTransferJobsResponse.Builder clearNextPageToken()
The list next page token.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferProto.ListTransferJobsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTransferJobs()
public TransferProto.ListTransferJobsResponse.Builder clearTransferJobs()
A list of transfer jobs.
repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1;
Returns
clone()
public TransferProto.ListTransferJobsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TransferProto.ListTransferJobsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
getTransferJobsBuilderList()
public List<TransferTypes.TransferJob.Builder> getTransferJobsBuilderList()
A list of transfer jobs.
repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1;
Returns
getTransferJobsCount()
public int getTransferJobsCount()
A list of transfer jobs.
repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1;
Returns
getTransferJobsList()
public List<TransferTypes.TransferJob> getTransferJobsList()
A list of transfer jobs.
repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1;
Returns
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public TransferProto.ListTransferJobsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TransferProto.ListTransferJobsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(TransferProto.ListTransferJobsResponse other)
public TransferProto.ListTransferJobsResponse.Builder mergeFrom(TransferProto.ListTransferJobsResponse other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferProto.ListTransferJobsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public TransferProto.ListTransferJobsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferProto.ListTransferJobsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferProto.ListTransferJobsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides