public static final class ListJobsResponse.Builder extends GeneratedMessageV3.Builder<ListJobsResponse.Builder> implements ListJobsResponseOrBuilderMessage for response to listing Jobs
Protobuf type google.cloud.storagebatchoperations.v1.ListJobsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListJobsResponse.BuilderImplements
ListJobsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllJobs(Iterable<? extends Job> values)
public ListJobsResponse.Builder addAllJobs(Iterable<? extends Job> values)A list of storage batch jobs.
repeated .google.cloud.storagebatchoperations.v1.Job jobs = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.storagebatchoperations.v1.Job> |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
addAllUnreachable(Iterable<String> values)
public ListJobsResponse.Builder addAllUnreachable(Iterable<String> values)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
This builder for chaining. |
addJobs(Job value)
public ListJobsResponse.Builder addJobs(Job value)A list of storage batch jobs.
repeated .google.cloud.storagebatchoperations.v1.Job jobs = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Job |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
addJobs(Job.Builder builderForValue)
public ListJobsResponse.Builder addJobs(Job.Builder builderForValue)A list of storage batch jobs.
repeated .google.cloud.storagebatchoperations.v1.Job jobs = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Job.Builder |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
addJobs(int index, Job value)
public ListJobsResponse.Builder addJobs(int index, Job value)A list of storage batch jobs.
repeated .google.cloud.storagebatchoperations.v1.Job jobs = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Job |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
addJobs(int index, Job.Builder builderForValue)
public ListJobsResponse.Builder addJobs(int index, Job.Builder builderForValue)A list of storage batch jobs.
repeated .google.cloud.storagebatchoperations.v1.Job jobs = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Job.Builder |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
addJobsBuilder()
public Job.Builder addJobsBuilder()A list of storage batch jobs.
repeated .google.cloud.storagebatchoperations.v1.Job jobs = 1;
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
|
addJobsBuilder(int index)
public Job.Builder addJobsBuilder(int index)A list of storage batch jobs.
repeated .google.cloud.storagebatchoperations.v1.Job jobs = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListJobsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
addUnreachable(String value)
public ListJobsResponse.Builder addUnreachable(String value)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListJobsResponse.Builder addUnreachableBytes(ByteString value)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
This builder for chaining. |
build()
public ListJobsResponse build()| Returns | |
|---|---|
| Type | Description |
ListJobsResponse |
|
buildPartial()
public ListJobsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListJobsResponse |
|
clear()
public ListJobsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public ListJobsResponse.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
clearJobs()
public ListJobsResponse.Builder clearJobs()A list of storage batch jobs.
repeated .google.cloud.storagebatchoperations.v1.Job jobs = 1;
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
clearNextPageToken()
public ListJobsResponse.Builder clearNextPageToken()A token identifying a page of results.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListJobsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
clearUnreachable()
public ListJobsResponse.Builder clearUnreachable()Locations that could not be reached.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
This builder for chaining. |
clone()
public ListJobsResponse.Builder clone()| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
getDefaultInstanceForType()
public ListJobsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListJobsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getJobs(int index)
public Job getJobs(int index)A list of storage batch jobs.
repeated .google.cloud.storagebatchoperations.v1.Job jobs = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Job |
|
getJobsBuilder(int index)
public Job.Builder getJobsBuilder(int index)A list of storage batch jobs.
repeated .google.cloud.storagebatchoperations.v1.Job jobs = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
|
getJobsBuilderList()
public List<Job.Builder> getJobsBuilderList()A list of storage batch jobs.
repeated .google.cloud.storagebatchoperations.v1.Job jobs = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getJobsCount()
public int getJobsCount()A list of storage batch jobs.
repeated .google.cloud.storagebatchoperations.v1.Job jobs = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getJobsList()
public List<Job> getJobsList()A list of storage batch jobs.
repeated .google.cloud.storagebatchoperations.v1.Job jobs = 1;
| Returns | |
|---|---|
| Type | Description |
List<Job> |
|
getJobsOrBuilder(int index)
public JobOrBuilder getJobsOrBuilder(int index)A list of storage batch jobs.
repeated .google.cloud.storagebatchoperations.v1.Job jobs = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
JobOrBuilder |
|
getJobsOrBuilderList()
public List<? extends JobOrBuilder> getJobsOrBuilderList()A list of storage batch jobs.
repeated .google.cloud.storagebatchoperations.v1.Job jobs = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.storagebatchoperations.v1.JobOrBuilder> |
|
getNextPageToken()
public String getNextPageToken()A token identifying a page of results.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()A token identifying a page of results.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getUnreachable(int index)
public String getUnreachable(int index)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The unreachable at the given index. |
getUnreachableBytes(int index)
public ByteString getUnreachableBytes(int index)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the unreachable at the given index. |
getUnreachableCount()
public int getUnreachableCount()Locations that could not be reached.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()Locations that could not be reached.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListJobsResponse other)
public ListJobsResponse.Builder mergeFrom(ListJobsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListJobsResponse |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListJobsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListJobsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListJobsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
removeJobs(int index)
public ListJobsResponse.Builder removeJobs(int index)A list of storage batch jobs.
repeated .google.cloud.storagebatchoperations.v1.Job jobs = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListJobsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
setJobs(int index, Job value)
public ListJobsResponse.Builder setJobs(int index, Job value)A list of storage batch jobs.
repeated .google.cloud.storagebatchoperations.v1.Job jobs = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Job |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
setJobs(int index, Job.Builder builderForValue)
public ListJobsResponse.Builder setJobs(int index, Job.Builder builderForValue)A list of storage batch jobs.
repeated .google.cloud.storagebatchoperations.v1.Job jobs = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Job.Builder |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
setNextPageToken(String value)
public ListJobsResponse.Builder setNextPageToken(String value)A token identifying a page of results.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListJobsResponse.Builder setNextPageTokenBytes(ByteString value)A token identifying a page of results.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListJobsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ListJobsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
setUnreachable(int index, String value)
public ListJobsResponse.Builder setUnreachable(int index, String value)Locations that could not be reached.
repeated string unreachable = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe unreachable to set. |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
This builder for chaining. |