Class ListImportDataFilesResponse.Builder (0.10.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.migrationcenter.v1.ImportDataFile>
Returns
TypeDescription
ListImportDataFilesResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListImportDataFilesResponse.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
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
NameDescription
valueImportDataFile
Returns
TypeDescription
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
NameDescription
builderForValueImportDataFile.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueImportDataFile
Returns
TypeDescription
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
NameDescription
indexint
builderForValueImportDataFile.Builder
Returns
TypeDescription
ListImportDataFilesResponse.Builder

addImportDataFilesBuilder()

public ImportDataFile.Builder addImportDataFilesBuilder()

The list of import data files.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListImportDataFilesResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListImportDataFilesResponse.Builder

This builder for chaining.

build()

public ListImportDataFilesResponse build()
Returns
TypeDescription
ListImportDataFilesResponse

buildPartial()

public ListImportDataFilesResponse buildPartial()
Returns
TypeDescription
ListImportDataFilesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListImportDataFilesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ListImportDataFilesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListImportDataFilesResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListImportDataFilesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListImportDataFilesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListImportDataFilesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getImportDataFilesCount()

public int getImportDataFilesCount()

The list of import data files.

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

Returns
TypeDescription
int

getImportDataFilesList()

public List<ImportDataFile> getImportDataFilesList()

The list of import data files.

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

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

getImportDataFilesOrBuilderList()

public List<? extends ImportDataFileOrBuilder> getImportDataFilesOrBuilderList()

The list of import data files.

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

Returns
TypeDescription
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
TypeDescription
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
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(ListImportDataFilesResponse other)

public ListImportDataFilesResponse.Builder mergeFrom(ListImportDataFilesResponse other)
Parameter
NameDescription
otherListImportDataFilesResponse
Returns
TypeDescription
ListImportDataFilesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListImportDataFilesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListImportDataFilesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListImportDataFilesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueImportDataFile
Returns
TypeDescription
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
NameDescription
indexint
builderForValueImportDataFile.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ListImportDataFilesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListImportDataFilesResponse.Builder

This builder for chaining.