Class ListCloneJobsResponse.Builder (1.51.0)

public static final class ListCloneJobsResponse.Builder extends GeneratedMessageV3.Builder<ListCloneJobsResponse.Builder> implements ListCloneJobsResponseOrBuilder

Response message for 'ListCloneJobs' request.

Protobuf type google.cloud.vmmigration.v1.ListCloneJobsResponse

Static Methods

getDescriptor()

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

Methods

addAllCloneJobs(Iterable<? extends CloneJob> values)

public ListCloneJobsResponse.Builder addAllCloneJobs(Iterable<? extends CloneJob> values)

Output only. The list of clone jobs response.

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

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

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addCloneJobs(CloneJob value)

public ListCloneJobsResponse.Builder addCloneJobs(CloneJob value)

Output only. The list of clone jobs response.

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

Parameter
Name Description
value CloneJob
Returns
Type Description
ListCloneJobsResponse.Builder

addCloneJobs(CloneJob.Builder builderForValue)

public ListCloneJobsResponse.Builder addCloneJobs(CloneJob.Builder builderForValue)

Output only. The list of clone jobs response.

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

Parameter
Name Description
builderForValue CloneJob.Builder
Returns
Type Description
ListCloneJobsResponse.Builder

addCloneJobs(int index, CloneJob value)

public ListCloneJobsResponse.Builder addCloneJobs(int index, CloneJob value)

Output only. The list of clone jobs response.

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

Parameters
Name Description
index int
value CloneJob
Returns
Type Description
ListCloneJobsResponse.Builder

addCloneJobs(int index, CloneJob.Builder builderForValue)

public ListCloneJobsResponse.Builder addCloneJobs(int index, CloneJob.Builder builderForValue)

Output only. The list of clone jobs response.

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

Parameters
Name Description
index int
builderForValue CloneJob.Builder
Returns
Type Description
ListCloneJobsResponse.Builder

addCloneJobsBuilder()

public CloneJob.Builder addCloneJobsBuilder()

Output only. The list of clone jobs response.

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

Returns
Type Description
CloneJob.Builder

addCloneJobsBuilder(int index)

public CloneJob.Builder addCloneJobsBuilder(int index)

Output only. The list of clone jobs response.

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

Parameter
Name Description
index int
Returns
Type Description
CloneJob.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListCloneJobsResponse build()
Returns
Type Description
ListCloneJobsResponse

buildPartial()

public ListCloneJobsResponse buildPartial()
Returns
Type Description
ListCloneJobsResponse

clear()

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

clearCloneJobs()

public ListCloneJobsResponse.Builder clearCloneJobs()

Output only. The list of clone jobs response.

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

Returns
Type Description
ListCloneJobsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListCloneJobsResponse.Builder clearUnreachable()

Output only. Locations that could not be reached.

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

Returns
Type Description
ListCloneJobsResponse.Builder

This builder for chaining.

clone()

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

getCloneJobs(int index)

public CloneJob getCloneJobs(int index)

Output only. The list of clone jobs response.

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

Parameter
Name Description
index int
Returns
Type Description
CloneJob

getCloneJobsBuilder(int index)

public CloneJob.Builder getCloneJobsBuilder(int index)

Output only. The list of clone jobs response.

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

Parameter
Name Description
index int
Returns
Type Description
CloneJob.Builder

getCloneJobsBuilderList()

public List<CloneJob.Builder> getCloneJobsBuilderList()

Output only. The list of clone jobs response.

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

Returns
Type Description
List<Builder>

getCloneJobsCount()

public int getCloneJobsCount()

Output only. The list of clone jobs response.

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

Returns
Type Description
int

getCloneJobsList()

public List<CloneJob> getCloneJobsList()

Output only. The list of clone jobs response.

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

Returns
Type Description
List<CloneJob>

getCloneJobsOrBuilder(int index)

public CloneJobOrBuilder getCloneJobsOrBuilder(int index)

Output only. The list of clone jobs response.

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

Parameter
Name Description
index int
Returns
Type Description
CloneJobOrBuilder

getCloneJobsOrBuilderList()

public List<? extends CloneJobOrBuilder> getCloneJobsOrBuilderList()

Output only. The list of clone jobs response.

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

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

getDefaultInstanceForType()

public ListCloneJobsResponse getDefaultInstanceForType()
Returns
Type Description
ListCloneJobsResponse

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCloneJobs(int index)

public ListCloneJobsResponse.Builder removeCloneJobs(int index)

Output only. The list of clone jobs response.

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

Parameter
Name Description
index int
Returns
Type Description
ListCloneJobsResponse.Builder

setCloneJobs(int index, CloneJob value)

public ListCloneJobsResponse.Builder setCloneJobs(int index, CloneJob value)

Output only. The list of clone jobs response.

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

Parameters
Name Description
index int
value CloneJob
Returns
Type Description
ListCloneJobsResponse.Builder

setCloneJobs(int index, CloneJob.Builder builderForValue)

public ListCloneJobsResponse.Builder setCloneJobs(int index, CloneJob.Builder builderForValue)

Output only. The list of clone jobs response.

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

Parameters
Name Description
index int
builderForValue CloneJob.Builder
Returns
Type Description
ListCloneJobsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.