Class ListCloneJobsResponse.Builder (1.39.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.vmmigration.v1.CloneJob>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueCloneJob
Returns
TypeDescription
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
NameDescription
builderForValueCloneJob.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueCloneJob
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCloneJob.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
CloneJob.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListCloneJobsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListCloneJobsResponse.Builder

This builder for chaining.

build()

public ListCloneJobsResponse build()
Returns
TypeDescription
ListCloneJobsResponse

buildPartial()

public ListCloneJobsResponse buildPartial()
Returns
TypeDescription
ListCloneJobsResponse

clear()

public ListCloneJobsResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ListCloneJobsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListCloneJobsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListCloneJobsResponse.Builder

This builder for chaining.

clone()

public ListCloneJobsResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.vmmigration.v1.CloneJobOrBuilder>

getDefaultInstanceForType()

public ListCloneJobsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListCloneJobsResponse

getDescriptorForType()

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

Output only. Locations that could not be reached.

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

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

Output only. Locations that could not be reached.

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

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

public ListCloneJobsResponse.Builder mergeFrom(ListCloneJobsResponse other)
Parameter
NameDescription
otherListCloneJobsResponse
Returns
TypeDescription
ListCloneJobsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListCloneJobsResponse.Builder

This builder for chaining.