Class ListImportDataFilesResponse.Builder (0.24.0)

public static final class ListImportDataFilesResponse.Builder extends GeneratedMessageV3.Builder<ListImportDataFilesResponse.Builder> implements ListImportDataFilesResponseOrBuilder

Response for listing payload files of an import job.

Protobuf type google.cloud.migrationcenter.v1.ListImportDataFilesResponse

Static Methods

getDescriptor()

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

Methods

addAllImportDataFiles(Iterable<? extends ImportDataFile> values)

public ListImportDataFilesResponse.Builder addAllImportDataFiles(Iterable<? extends ImportDataFile> values)

The list of import data files.

repeated .google.cloud.migrationcenter.v1.ImportDataFile import_data_files = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.migrationcenter.v1.ImportDataFile>
Returns
Type Description
ListImportDataFilesResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListImportDataFilesResponse.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
ListImportDataFilesResponse.Builder

This builder for chaining.

addImportDataFiles(ImportDataFile value)

public ListImportDataFilesResponse.Builder addImportDataFiles(ImportDataFile value)

The list of import data files.

repeated .google.cloud.migrationcenter.v1.ImportDataFile import_data_files = 1;

Parameter
Name Description
value ImportDataFile
Returns
Type Description
ListImportDataFilesResponse.Builder

addImportDataFiles(ImportDataFile.Builder builderForValue)

public ListImportDataFilesResponse.Builder addImportDataFiles(ImportDataFile.Builder builderForValue)

The list of import data files.

repeated .google.cloud.migrationcenter.v1.ImportDataFile import_data_files = 1;

Parameter
Name Description
builderForValue ImportDataFile.Builder
Returns
Type Description
ListImportDataFilesResponse.Builder

addImportDataFiles(int index, ImportDataFile value)

public ListImportDataFilesResponse.Builder addImportDataFiles(int index, ImportDataFile value)

The list of import data files.

repeated .google.cloud.migrationcenter.v1.ImportDataFile import_data_files = 1;

Parameters
Name Description
index int
value ImportDataFile
Returns
Type Description
ListImportDataFilesResponse.Builder

addImportDataFiles(int index, ImportDataFile.Builder builderForValue)

public ListImportDataFilesResponse.Builder addImportDataFiles(int index, ImportDataFile.Builder builderForValue)

The list of import data files.

repeated .google.cloud.migrationcenter.v1.ImportDataFile import_data_files = 1;

Parameters
Name Description
index int
builderForValue ImportDataFile.Builder
Returns
Type Description
ListImportDataFilesResponse.Builder

addImportDataFilesBuilder()

public ImportDataFile.Builder addImportDataFilesBuilder()

The list of import data files.

repeated .google.cloud.migrationcenter.v1.ImportDataFile import_data_files = 1;

Returns
Type Description
ImportDataFile.Builder

addImportDataFilesBuilder(int index)

public ImportDataFile.Builder addImportDataFilesBuilder(int index)

The list of import data files.

repeated .google.cloud.migrationcenter.v1.ImportDataFile import_data_files = 1;

Parameter
Name Description
index int
Returns
Type Description
ImportDataFile.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListImportDataFilesResponse.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
ListImportDataFilesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListImportDataFilesResponse.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
ListImportDataFilesResponse.Builder

This builder for chaining.

build()

public ListImportDataFilesResponse build()
Returns
Type Description
ListImportDataFilesResponse

buildPartial()

public ListImportDataFilesResponse buildPartial()
Returns
Type Description
ListImportDataFilesResponse

clear()

public ListImportDataFilesResponse.Builder clear()
Returns
Type Description
ListImportDataFilesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearImportDataFiles()

public ListImportDataFilesResponse.Builder clearImportDataFiles()

The list of import data files.

repeated .google.cloud.migrationcenter.v1.ImportDataFile import_data_files = 1;

Returns
Type Description
ListImportDataFilesResponse.Builder

clearNextPageToken()

public ListImportDataFilesResponse.Builder clearNextPageToken()

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListImportDataFilesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListImportDataFilesResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListImportDataFilesResponse.Builder

This builder for chaining.

clone()

public ListImportDataFilesResponse.Builder clone()
Returns
Type Description
ListImportDataFilesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListImportDataFilesResponse getDefaultInstanceForType()
Returns
Type Description
ListImportDataFilesResponse

getDescriptorForType()

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

getImportDataFiles(int index)

public ImportDataFile getImportDataFiles(int index)

The list of import data files.

repeated .google.cloud.migrationcenter.v1.ImportDataFile import_data_files = 1;

Parameter
Name Description
index int
Returns
Type Description
ImportDataFile

getImportDataFilesBuilder(int index)

public ImportDataFile.Builder getImportDataFilesBuilder(int index)

The list of import data files.

repeated .google.cloud.migrationcenter.v1.ImportDataFile import_data_files = 1;

Parameter
Name Description
index int
Returns
Type Description
ImportDataFile.Builder

getImportDataFilesBuilderList()

public List<ImportDataFile.Builder> getImportDataFilesBuilderList()

The list of import data files.

repeated .google.cloud.migrationcenter.v1.ImportDataFile import_data_files = 1;

Returns
Type Description
List<Builder>

getImportDataFilesCount()

public int getImportDataFilesCount()

The list of import data files.

repeated .google.cloud.migrationcenter.v1.ImportDataFile import_data_files = 1;

Returns
Type Description
int

getImportDataFilesList()

public List<ImportDataFile> getImportDataFilesList()

The list of import data files.

repeated .google.cloud.migrationcenter.v1.ImportDataFile import_data_files = 1;

Returns
Type Description
List<ImportDataFile>

getImportDataFilesOrBuilder(int index)

public ImportDataFileOrBuilder getImportDataFilesOrBuilder(int index)

The list of import data files.

repeated .google.cloud.migrationcenter.v1.ImportDataFile import_data_files = 1;

Parameter
Name Description
index int
Returns
Type Description
ImportDataFileOrBuilder

getImportDataFilesOrBuilderList()

public List<? extends ImportDataFileOrBuilder> getImportDataFilesOrBuilderList()

The list of import data files.

repeated .google.cloud.migrationcenter.v1.ImportDataFile import_data_files = 1;

Returns
Type Description
List<? extends com.google.cloud.migrationcenter.v1.ImportDataFileOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListImportDataFilesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeImportDataFiles(int index)

public ListImportDataFilesResponse.Builder removeImportDataFiles(int index)

The list of import data files.

repeated .google.cloud.migrationcenter.v1.ImportDataFile import_data_files = 1;

Parameter
Name Description
index int
Returns
Type Description
ListImportDataFilesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setImportDataFiles(int index, ImportDataFile value)

public ListImportDataFilesResponse.Builder setImportDataFiles(int index, ImportDataFile value)

The list of import data files.

repeated .google.cloud.migrationcenter.v1.ImportDataFile import_data_files = 1;

Parameters
Name Description
index int
value ImportDataFile
Returns
Type Description
ListImportDataFilesResponse.Builder

setImportDataFiles(int index, ImportDataFile.Builder builderForValue)

public ListImportDataFilesResponse.Builder setImportDataFiles(int index, ImportDataFile.Builder builderForValue)

The list of import data files.

repeated .google.cloud.migrationcenter.v1.ImportDataFile import_data_files = 1;

Parameters
Name Description
index int
builderForValue ImportDataFile.Builder
Returns
Type Description
ListImportDataFilesResponse.Builder

setNextPageToken(String value)

public ListImportDataFilesResponse.Builder setNextPageToken(String value)

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListImportDataFilesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListImportDataFilesResponse.Builder setNextPageTokenBytes(ByteString value)

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListImportDataFilesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListImportDataFilesResponse.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
ListImportDataFilesResponse.Builder

This builder for chaining.