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

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueCutoverJob
Returns
TypeDescription
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
NameDescription
builderForValueCutoverJob.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueCutoverJob
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCutoverJob.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
CutoverJob.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListCutoverJobsResponse.Builder

This builder for chaining.

build()

public ListCutoverJobsResponse build()
Returns
TypeDescription
ListCutoverJobsResponse

buildPartial()

public ListCutoverJobsResponse buildPartial()
Returns
TypeDescription
ListCutoverJobsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListCutoverJobsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListCutoverJobsResponse

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

public ListCutoverJobsResponse.Builder mergeFrom(ListCutoverJobsResponse other)
Parameter
NameDescription
otherListCutoverJobsResponse
Returns
TypeDescription
ListCutoverJobsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListCutoverJobsResponse.Builder

This builder for chaining.