Class ListReplicationCyclesResponse.Builder (1.42.0)

public static final class ListReplicationCyclesResponse.Builder extends GeneratedMessageV3.Builder<ListReplicationCyclesResponse.Builder> implements ListReplicationCyclesResponseOrBuilder

Response message for 'ListReplicationCycles' request.

Protobuf type google.cloud.vmmigration.v1.ListReplicationCyclesResponse

Static Methods

getDescriptor()

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

Methods

addAllReplicationCycles(Iterable<? extends ReplicationCycle> values)

public ListReplicationCyclesResponse.Builder addAllReplicationCycles(Iterable<? extends ReplicationCycle> values)

Output only. The list of replication cycles response.

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

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

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addReplicationCycles(ReplicationCycle value)

public ListReplicationCyclesResponse.Builder addReplicationCycles(ReplicationCycle value)

Output only. The list of replication cycles response.

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

Parameter
Name Description
value ReplicationCycle
Returns
Type Description
ListReplicationCyclesResponse.Builder

addReplicationCycles(ReplicationCycle.Builder builderForValue)

public ListReplicationCyclesResponse.Builder addReplicationCycles(ReplicationCycle.Builder builderForValue)

Output only. The list of replication cycles response.

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

Parameter
Name Description
builderForValue ReplicationCycle.Builder
Returns
Type Description
ListReplicationCyclesResponse.Builder

addReplicationCycles(int index, ReplicationCycle value)

public ListReplicationCyclesResponse.Builder addReplicationCycles(int index, ReplicationCycle value)

Output only. The list of replication cycles response.

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

Parameters
Name Description
index int
value ReplicationCycle
Returns
Type Description
ListReplicationCyclesResponse.Builder

addReplicationCycles(int index, ReplicationCycle.Builder builderForValue)

public ListReplicationCyclesResponse.Builder addReplicationCycles(int index, ReplicationCycle.Builder builderForValue)

Output only. The list of replication cycles response.

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

Parameters
Name Description
index int
builderForValue ReplicationCycle.Builder
Returns
Type Description
ListReplicationCyclesResponse.Builder

addReplicationCyclesBuilder()

public ReplicationCycle.Builder addReplicationCyclesBuilder()

Output only. The list of replication cycles response.

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

Returns
Type Description
ReplicationCycle.Builder

addReplicationCyclesBuilder(int index)

public ReplicationCycle.Builder addReplicationCyclesBuilder(int index)

Output only. The list of replication cycles response.

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

Parameter
Name Description
index int
Returns
Type Description
ReplicationCycle.Builder

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListReplicationCyclesResponse build()
Returns
Type Description
ListReplicationCyclesResponse

buildPartial()

public ListReplicationCyclesResponse buildPartial()
Returns
Type Description
ListReplicationCyclesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReplicationCycles()

public ListReplicationCyclesResponse.Builder clearReplicationCycles()

Output only. The list of replication cycles response.

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

Returns
Type Description
ListReplicationCyclesResponse.Builder

clearUnreachable()

public ListReplicationCyclesResponse.Builder clearUnreachable()

Output only. Locations that could not be reached.

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

Returns
Type Description
ListReplicationCyclesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListReplicationCyclesResponse getDefaultInstanceForType()
Returns
Type Description
ListReplicationCyclesResponse

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.

getReplicationCycles(int index)

public ReplicationCycle getReplicationCycles(int index)

Output only. The list of replication cycles response.

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

Parameter
Name Description
index int
Returns
Type Description
ReplicationCycle

getReplicationCyclesBuilder(int index)

public ReplicationCycle.Builder getReplicationCyclesBuilder(int index)

Output only. The list of replication cycles response.

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

Parameter
Name Description
index int
Returns
Type Description
ReplicationCycle.Builder

getReplicationCyclesBuilderList()

public List<ReplicationCycle.Builder> getReplicationCyclesBuilderList()

Output only. The list of replication cycles response.

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

Returns
Type Description
List<Builder>

getReplicationCyclesCount()

public int getReplicationCyclesCount()

Output only. The list of replication cycles response.

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

Returns
Type Description
int

getReplicationCyclesList()

public List<ReplicationCycle> getReplicationCyclesList()

Output only. The list of replication cycles response.

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

Returns
Type Description
List<ReplicationCycle>

getReplicationCyclesOrBuilder(int index)

public ReplicationCycleOrBuilder getReplicationCyclesOrBuilder(int index)

Output only. The list of replication cycles response.

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

Parameter
Name Description
index int
Returns
Type Description
ReplicationCycleOrBuilder

getReplicationCyclesOrBuilderList()

public List<? extends ReplicationCycleOrBuilder> getReplicationCyclesOrBuilderList()

Output only. The list of replication cycles response.

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

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeReplicationCycles(int index)

public ListReplicationCyclesResponse.Builder removeReplicationCycles(int index)

Output only. The list of replication cycles response.

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

Parameter
Name Description
index int
Returns
Type Description
ListReplicationCyclesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setReplicationCycles(int index, ReplicationCycle value)

public ListReplicationCyclesResponse.Builder setReplicationCycles(int index, ReplicationCycle value)

Output only. The list of replication cycles response.

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

Parameters
Name Description
index int
value ReplicationCycle
Returns
Type Description
ListReplicationCyclesResponse.Builder

setReplicationCycles(int index, ReplicationCycle.Builder builderForValue)

public ListReplicationCyclesResponse.Builder setReplicationCycles(int index, ReplicationCycle.Builder builderForValue)

Output only. The list of replication cycles response.

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

Parameters
Name Description
index int
builderForValue ReplicationCycle.Builder
Returns
Type Description
ListReplicationCyclesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.