Class ListImportJobsResponse.Builder (0.18.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.migrationcenter.v1.ImportJob>
Returns
TypeDescription
ListImportJobsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListImportJobsResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueImportJob
Returns
TypeDescription
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
NameDescription
builderForValueImportJob.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueImportJob
Returns
TypeDescription
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
NameDescription
indexint
builderForValueImportJob.Builder
Returns
TypeDescription
ListImportJobsResponse.Builder

addImportJobsBuilder()

public ImportJob.Builder addImportJobsBuilder()

The list of import jobs.

repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ImportJob.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListImportJobsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListImportJobsResponse.Builder

This builder for chaining.

build()

public ListImportJobsResponse build()
Returns
TypeDescription
ListImportJobsResponse

buildPartial()

public ListImportJobsResponse buildPartial()
Returns
TypeDescription
ListImportJobsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearImportJobs()

public ListImportJobsResponse.Builder clearImportJobs()

The list of import jobs.

repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;

Returns
TypeDescription
ListImportJobsResponse.Builder

clearNextPageToken()

public ListImportJobsResponse.Builder clearNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
TypeDescription
ListImportJobsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListImportJobsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListImportJobsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListImportJobsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListImportJobsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getImportJobs(int index)

public ImportJob getImportJobs(int index)

The list of import jobs.

repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ImportJob.Builder

getImportJobsBuilderList()

public List<ImportJob.Builder> getImportJobsBuilderList()

The list of import jobs.

repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;

Returns
TypeDescription
List<Builder>

getImportJobsCount()

public int getImportJobsCount()

The list of import jobs.

repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;

Returns
TypeDescription
int

getImportJobsList()

public List<ImportJob> getImportJobsList()

The list of import jobs.

repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ImportJobOrBuilder

getImportJobsOrBuilderList()

public List<? extends ImportJobOrBuilder> getImportJobsOrBuilderList()

The list of import jobs.

repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;

Returns
TypeDescription
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
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListImportJobsResponse other)

public ListImportJobsResponse.Builder mergeFrom(ListImportJobsResponse other)
Parameter
NameDescription
otherListImportJobsResponse
Returns
TypeDescription
ListImportJobsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeImportJobs(int index)

public ListImportJobsResponse.Builder removeImportJobs(int index)

The list of import jobs.

repeated .google.cloud.migrationcenter.v1.ImportJob import_jobs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListImportJobsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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
NameDescription
indexint
valueImportJob
Returns
TypeDescription
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
NameDescription
indexint
builderForValueImportJob.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListImportJobsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListImportJobsResponse.Builder setUnreachable(int index, String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListImportJobsResponse.Builder

This builder for chaining.