Class ListCutoverJobsResponse.Builder (1.48.0)

public static final class ListCutoverJobsResponse.Builder extends GeneratedMessageV3.Builder<ListCutoverJobsResponse.Builder> implements ListCutoverJobsResponseOrBuilder

Response message for 'ListCutoverJobs' request.

Protobuf type google.cloud.vmmigration.v1.ListCutoverJobsResponse

Static Methods

getDescriptor()

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

Methods

addAllCutoverJobs(Iterable<? extends CutoverJob> values)

public ListCutoverJobsResponse.Builder addAllCutoverJobs(Iterable<? extends CutoverJob> values)

Output only. The list of cutover jobs response.

repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.vmmigration.v1.CutoverJob>
Returns
Type Description
ListCutoverJobsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Output only. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListCutoverJobsResponse.Builder

This builder for chaining.

addCutoverJobs(CutoverJob value)

public ListCutoverJobsResponse.Builder addCutoverJobs(CutoverJob value)

Output only. The list of cutover jobs response.

repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CutoverJob
Returns
Type Description
ListCutoverJobsResponse.Builder

addCutoverJobs(CutoverJob.Builder builderForValue)

public ListCutoverJobsResponse.Builder addCutoverJobs(CutoverJob.Builder builderForValue)

Output only. The list of cutover jobs response.

repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue CutoverJob.Builder
Returns
Type Description
ListCutoverJobsResponse.Builder

addCutoverJobs(int index, CutoverJob value)

public ListCutoverJobsResponse.Builder addCutoverJobs(int index, CutoverJob value)

Output only. The list of cutover jobs response.

repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value CutoverJob
Returns
Type Description
ListCutoverJobsResponse.Builder

addCutoverJobs(int index, CutoverJob.Builder builderForValue)

public ListCutoverJobsResponse.Builder addCutoverJobs(int index, CutoverJob.Builder builderForValue)

Output only. The list of cutover jobs response.

repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue CutoverJob.Builder
Returns
Type Description
ListCutoverJobsResponse.Builder

addCutoverJobsBuilder()

public CutoverJob.Builder addCutoverJobsBuilder()

Output only. The list of cutover jobs response.

repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CutoverJob.Builder

addCutoverJobsBuilder(int index)

public CutoverJob.Builder addCutoverJobsBuilder(int index)

Output only. The list of cutover jobs response.

repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CutoverJob.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListCutoverJobsResponse.Builder addUnreachable(String value)

Output only. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListCutoverJobsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListCutoverJobsResponse.Builder addUnreachableBytes(ByteString value)

Output only. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListCutoverJobsResponse.Builder

This builder for chaining.

build()

public ListCutoverJobsResponse build()
Returns
Type Description
ListCutoverJobsResponse

buildPartial()

public ListCutoverJobsResponse buildPartial()
Returns
Type Description
ListCutoverJobsResponse

clear()

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

clearCutoverJobs()

public ListCutoverJobsResponse.Builder clearCutoverJobs()

Output only. The list of cutover jobs response.

repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListCutoverJobsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListCutoverJobsResponse.Builder clearNextPageToken()

Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListCutoverJobsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListCutoverJobsResponse.Builder clearUnreachable()

Output only. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListCutoverJobsResponse.Builder

This builder for chaining.

clone()

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

getCutoverJobs(int index)

public CutoverJob getCutoverJobs(int index)

Output only. The list of cutover jobs response.

repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CutoverJob

getCutoverJobsBuilder(int index)

public CutoverJob.Builder getCutoverJobsBuilder(int index)

Output only. The list of cutover jobs response.

repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CutoverJob.Builder

getCutoverJobsBuilderList()

public List<CutoverJob.Builder> getCutoverJobsBuilderList()

Output only. The list of cutover jobs response.

repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getCutoverJobsCount()

public int getCutoverJobsCount()

Output only. The list of cutover jobs response.

repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getCutoverJobsList()

public List<CutoverJob> getCutoverJobsList()

Output only. The list of cutover jobs response.

repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<CutoverJob>

getCutoverJobsOrBuilder(int index)

public CutoverJobOrBuilder getCutoverJobsOrBuilder(int index)

Output only. The list of cutover jobs response.

repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CutoverJobOrBuilder

getCutoverJobsOrBuilderList()

public List<? extends CutoverJobOrBuilder> getCutoverJobsOrBuilderList()

Output only. The list of cutover jobs response.

repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.vmmigration.v1.CutoverJobOrBuilder>

getDefaultInstanceForType()

public ListCutoverJobsResponse getDefaultInstanceForType()
Returns
Type Description
ListCutoverJobsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Output only. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

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)

Output only. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

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()

Output only. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Output only. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

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(ListCutoverJobsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCutoverJobs(int index)

public ListCutoverJobsResponse.Builder removeCutoverJobs(int index)

Output only. The list of cutover jobs response.

repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ListCutoverJobsResponse.Builder

setCutoverJobs(int index, CutoverJob value)

public ListCutoverJobsResponse.Builder setCutoverJobs(int index, CutoverJob value)

Output only. The list of cutover jobs response.

repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value CutoverJob
Returns
Type Description
ListCutoverJobsResponse.Builder

setCutoverJobs(int index, CutoverJob.Builder builderForValue)

public ListCutoverJobsResponse.Builder setCutoverJobs(int index, CutoverJob.Builder builderForValue)

Output only. The list of cutover jobs response.

repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue CutoverJob.Builder
Returns
Type Description
ListCutoverJobsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListCutoverJobsResponse.Builder setNextPageToken(String value)

Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListCutoverJobsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListCutoverJobsResponse.Builder setNextPageTokenBytes(ByteString value)

Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListCutoverJobsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

Output only. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListCutoverJobsResponse.Builder

This builder for chaining.