public static final class ListImportJobsResponse.Builder extends GeneratedMessageV3.Builder<ListImportJobsResponse.Builder> implements ListImportJobsResponseOrBuilder
A response for listing import jobs.
Protobuf type google.cloud.migrationcenter.v1.ListImportJobsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListImportJobsResponse.BuilderImplements
ListImportJobsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllImportJobs(Iterable<? extends ImportJob> values)
public ListImportJobsResponse.Builder addAllImportJobs(Iterable<? extends ImportJob> values)
The list of import jobs.
repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.migrationcenter.v1.ImportJob> |
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
addAllUnreachable(Iterable<String> values)
public ListImportJobsResponse.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 |
ListImportJobsResponse.Builder |
This builder for chaining. |
addImportJobs(ImportJob value)
public ListImportJobsResponse.Builder addImportJobs(ImportJob value)
The list of import jobs.
repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;
Parameter | |
---|---|
Name | Description |
value |
ImportJob |
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
addImportJobs(ImportJob.Builder builderForValue)
public ListImportJobsResponse.Builder addImportJobs(ImportJob.Builder builderForValue)
The list of import jobs.
repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
ImportJob.Builder |
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
addImportJobs(int index, ImportJob value)
public ListImportJobsResponse.Builder addImportJobs(int index, ImportJob value)
The list of import jobs.
repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ImportJob |
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
addImportJobs(int index, ImportJob.Builder builderForValue)
public ListImportJobsResponse.Builder addImportJobs(int index, ImportJob.Builder builderForValue)
The list of import jobs.
repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ImportJob.Builder |
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
addImportJobsBuilder()
public ImportJob.Builder addImportJobsBuilder()
The list of import jobs.
repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;
Returns | |
---|---|
Type | Description |
ImportJob.Builder |
addImportJobsBuilder(int index)
public ImportJob.Builder addImportJobsBuilder(int index)
The list of import jobs.
repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ImportJob.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListImportJobsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
addUnreachable(String value)
public ListImportJobsResponse.Builder addUnreachable(String value)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
value |
String The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListImportJobsResponse.Builder addUnreachableBytes(ByteString value)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the unreachable to add. |
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
This builder for chaining. |
build()
public ListImportJobsResponse build()
Returns | |
---|---|
Type | Description |
ListImportJobsResponse |
buildPartial()
public ListImportJobsResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListImportJobsResponse |
clear()
public ListImportJobsResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListImportJobsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
clearImportJobs()
public ListImportJobsResponse.Builder clearImportJobs()
The list of import jobs.
repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
clearNextPageToken()
public ListImportJobsResponse.Builder clearNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListImportJobsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
clearUnreachable()
public ListImportJobsResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
This builder for chaining. |
clone()
public ListImportJobsResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
getDefaultInstanceForType()
public ListImportJobsResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListImportJobsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getImportJobs(int index)
public ImportJob getImportJobs(int index)
The list of import jobs.
repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ImportJob |
getImportJobsBuilder(int index)
public ImportJob.Builder getImportJobsBuilder(int index)
The list of import jobs.
repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ImportJob.Builder |
getImportJobsBuilderList()
public List<ImportJob.Builder> getImportJobsBuilderList()
The list of import jobs.
repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
getImportJobsCount()
public int getImportJobsCount()
The list of import jobs.
repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;
Returns | |
---|---|
Type | Description |
int |
getImportJobsList()
public List<ImportJob> getImportJobsList()
The list of import jobs.
repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;
Returns | |
---|---|
Type | Description |
List<ImportJob> |
getImportJobsOrBuilder(int index)
public ImportJobOrBuilder getImportJobsOrBuilder(int index)
The list of import jobs.
repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ImportJobOrBuilder |
getImportJobsOrBuilderList()
public List<? extends ImportJobOrBuilder> getImportJobsOrBuilderList()
The list of import jobs.
repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.migrationcenter.v1.ImportJobOrBuilder> |
getNextPageToken()
public String getNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token identifying a page of results the server should return.
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 |
int The 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 |
int The 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(ListImportJobsResponse other)
public ListImportJobsResponse.Builder mergeFrom(ListImportJobsResponse other)
Parameter | |
---|---|
Name | Description |
other |
ListImportJobsResponse |
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListImportJobsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListImportJobsResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListImportJobsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
removeImportJobs(int index)
public ListImportJobsResponse.Builder removeImportJobs(int index)
The list of import jobs.
repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListImportJobsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
setImportJobs(int index, ImportJob value)
public ListImportJobsResponse.Builder setImportJobs(int index, ImportJob value)
The list of import jobs.
repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ImportJob |
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
setImportJobs(int index, ImportJob.Builder builderForValue)
public ListImportJobsResponse.Builder setImportJobs(int index, ImportJob.Builder builderForValue)
The list of import jobs.
repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ImportJob.Builder |
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
setNextPageToken(String value)
public ListImportJobsResponse.Builder setNextPageToken(String value)
A token identifying a page of results the server should return.
string next_page_token = 2;
Parameter | |
---|---|
Name | Description |
value |
String The nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListImportJobsResponse.Builder setNextPageTokenBytes(ByteString value)
A token identifying a page of results the server should return.
string next_page_token = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListImportJobsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListImportJobsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
setUnreachable(int index, String value)
public ListImportJobsResponse.Builder setUnreachable(int index, String value)
Locations that could not be reached.
repeated string unreachable = 3;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The unreachable to set. |
Returns | |
---|---|
Type | Description |
ListImportJobsResponse.Builder |
This builder for chaining. |