Class ListMigrationJobsResponse.Builder (2.44.0)

public static final class ListMigrationJobsResponse.Builder extends GeneratedMessageV3.Builder<ListMigrationJobsResponse.Builder> implements ListMigrationJobsResponseOrBuilder

Response message for 'ListMigrationJobs' request.

Protobuf type google.cloud.clouddms.v1.ListMigrationJobsResponse

Static Methods

getDescriptor()

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

Methods

addAllMigrationJobs(Iterable<? extends MigrationJob> values)

public ListMigrationJobsResponse.Builder addAllMigrationJobs(Iterable<? extends MigrationJob> values)

The list of migration jobs objects.

repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.clouddms.v1.MigrationJob>
Returns
Type Description
ListMigrationJobsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addMigrationJobs(MigrationJob value)

public ListMigrationJobsResponse.Builder addMigrationJobs(MigrationJob value)

The list of migration jobs objects.

repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;

Parameter
Name Description
value MigrationJob
Returns
Type Description
ListMigrationJobsResponse.Builder

addMigrationJobs(MigrationJob.Builder builderForValue)

public ListMigrationJobsResponse.Builder addMigrationJobs(MigrationJob.Builder builderForValue)

The list of migration jobs objects.

repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;

Parameter
Name Description
builderForValue MigrationJob.Builder
Returns
Type Description
ListMigrationJobsResponse.Builder

addMigrationJobs(int index, MigrationJob value)

public ListMigrationJobsResponse.Builder addMigrationJobs(int index, MigrationJob value)

The list of migration jobs objects.

repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;

Parameters
Name Description
index int
value MigrationJob
Returns
Type Description
ListMigrationJobsResponse.Builder

addMigrationJobs(int index, MigrationJob.Builder builderForValue)

public ListMigrationJobsResponse.Builder addMigrationJobs(int index, MigrationJob.Builder builderForValue)

The list of migration jobs objects.

repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;

Parameters
Name Description
index int
builderForValue MigrationJob.Builder
Returns
Type Description
ListMigrationJobsResponse.Builder

addMigrationJobsBuilder()

public MigrationJob.Builder addMigrationJobsBuilder()

The list of migration jobs objects.

repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;

Returns
Type Description
MigrationJob.Builder

addMigrationJobsBuilder(int index)

public MigrationJob.Builder addMigrationJobsBuilder(int index)

The list of migration jobs objects.

repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
MigrationJob.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListMigrationJobsResponse build()
Returns
Type Description
ListMigrationJobsResponse

buildPartial()

public ListMigrationJobsResponse buildPartial()
Returns
Type Description
ListMigrationJobsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMigrationJobs()

public ListMigrationJobsResponse.Builder clearMigrationJobs()

The list of migration jobs objects.

repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;

Returns
Type Description
ListMigrationJobsResponse.Builder

clearNextPageToken()

public ListMigrationJobsResponse.Builder clearNextPageToken()

A token which 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
ListMigrationJobsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListMigrationJobsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListMigrationJobsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListMigrationJobsResponse getDefaultInstanceForType()
Returns
Type Description
ListMigrationJobsResponse

getDescriptorForType()

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

getMigrationJobs(int index)

public MigrationJob getMigrationJobs(int index)

The list of migration jobs objects.

repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
MigrationJob

getMigrationJobsBuilder(int index)

public MigrationJob.Builder getMigrationJobsBuilder(int index)

The list of migration jobs objects.

repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
MigrationJob.Builder

getMigrationJobsBuilderList()

public List<MigrationJob.Builder> getMigrationJobsBuilderList()

The list of migration jobs objects.

repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;

Returns
Type Description
List<Builder>

getMigrationJobsCount()

public int getMigrationJobsCount()

The list of migration jobs objects.

repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;

Returns
Type Description
int

getMigrationJobsList()

public List<MigrationJob> getMigrationJobsList()

The list of migration jobs objects.

repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;

Returns
Type Description
List<MigrationJob>

getMigrationJobsOrBuilder(int index)

public MigrationJobOrBuilder getMigrationJobsOrBuilder(int index)

The list of migration jobs objects.

repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
MigrationJobOrBuilder

getMigrationJobsOrBuilderList()

public List<? extends MigrationJobOrBuilder> getMigrationJobsOrBuilderList()

The list of migration jobs objects.

repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;

Returns
Type Description
List<? extends com.google.cloud.clouddms.v1.MigrationJobOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token which 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 which 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(ListMigrationJobsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeMigrationJobs(int index)

public ListMigrationJobsResponse.Builder removeMigrationJobs(int index)

The list of migration jobs objects.

repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListMigrationJobsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMigrationJobs(int index, MigrationJob value)

public ListMigrationJobsResponse.Builder setMigrationJobs(int index, MigrationJob value)

The list of migration jobs objects.

repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;

Parameters
Name Description
index int
value MigrationJob
Returns
Type Description
ListMigrationJobsResponse.Builder

setMigrationJobs(int index, MigrationJob.Builder builderForValue)

public ListMigrationJobsResponse.Builder setMigrationJobs(int index, MigrationJob.Builder builderForValue)

The list of migration jobs objects.

repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;

Parameters
Name Description
index int
builderForValue MigrationJob.Builder
Returns
Type Description
ListMigrationJobsResponse.Builder

setNextPageToken(String value)

public ListMigrationJobsResponse.Builder setNextPageToken(String value)

A token which 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
ListMigrationJobsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListMigrationJobsResponse.Builder setNextPageTokenBytes(ByteString value)

A token which 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
ListMigrationJobsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.