Class ListErrorFramesResponse.Builder (0.73.0)

public static final class ListErrorFramesResponse.Builder extends GeneratedMessage.Builder<ListErrorFramesResponse.Builder> implements ListErrorFramesResponseOrBuilder

A response for listing error frames.

Protobuf type google.cloud.migrationcenter.v1.ListErrorFramesResponse

Static Methods

getDescriptor()

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

Methods

addAllErrorFrames(Iterable<? extends ErrorFrame> values)

public ListErrorFramesResponse.Builder addAllErrorFrames(Iterable<? extends ErrorFrame> values)

The list of error frames.

repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.migrationcenter.v1.ErrorFrame>
Returns
Type Description
ListErrorFramesResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListErrorFramesResponse.Builder

This builder for chaining.

addErrorFrames(ErrorFrame value)

public ListErrorFramesResponse.Builder addErrorFrames(ErrorFrame value)

The list of error frames.

repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;

Parameter
Name Description
value ErrorFrame
Returns
Type Description
ListErrorFramesResponse.Builder

addErrorFrames(ErrorFrame.Builder builderForValue)

public ListErrorFramesResponse.Builder addErrorFrames(ErrorFrame.Builder builderForValue)

The list of error frames.

repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;

Parameter
Name Description
builderForValue ErrorFrame.Builder
Returns
Type Description
ListErrorFramesResponse.Builder

addErrorFrames(int index, ErrorFrame value)

public ListErrorFramesResponse.Builder addErrorFrames(int index, ErrorFrame value)

The list of error frames.

repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;

Parameters
Name Description
index int
value ErrorFrame
Returns
Type Description
ListErrorFramesResponse.Builder

addErrorFrames(int index, ErrorFrame.Builder builderForValue)

public ListErrorFramesResponse.Builder addErrorFrames(int index, ErrorFrame.Builder builderForValue)

The list of error frames.

repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;

Parameters
Name Description
index int
builderForValue ErrorFrame.Builder
Returns
Type Description
ListErrorFramesResponse.Builder

addErrorFramesBuilder()

public ErrorFrame.Builder addErrorFramesBuilder()

The list of error frames.

repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;

Returns
Type Description
ErrorFrame.Builder

addErrorFramesBuilder(int index)

public ErrorFrame.Builder addErrorFramesBuilder(int index)

The list of error frames.

repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;

Parameter
Name Description
index int
Returns
Type Description
ErrorFrame.Builder

addUnreachable(String value)

public ListErrorFramesResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListErrorFramesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListErrorFramesResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListErrorFramesResponse.Builder

This builder for chaining.

build()

public ListErrorFramesResponse build()
Returns
Type Description
ListErrorFramesResponse

buildPartial()

public ListErrorFramesResponse buildPartial()
Returns
Type Description
ListErrorFramesResponse

clear()

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

clearErrorFrames()

public ListErrorFramesResponse.Builder clearErrorFrames()

The list of error frames.

repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;

Returns
Type Description
ListErrorFramesResponse.Builder

clearNextPageToken()

public ListErrorFramesResponse.Builder clearNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ListErrorFramesResponse.Builder

This builder for chaining.

clearUnreachable()

public ListErrorFramesResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListErrorFramesResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListErrorFramesResponse getDefaultInstanceForType()
Returns
Type Description
ListErrorFramesResponse

getDescriptorForType()

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

getErrorFrames(int index)

public ErrorFrame getErrorFrames(int index)

The list of error frames.

repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;

Parameter
Name Description
index int
Returns
Type Description
ErrorFrame

getErrorFramesBuilder(int index)

public ErrorFrame.Builder getErrorFramesBuilder(int index)

The list of error frames.

repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;

Parameter
Name Description
index int
Returns
Type Description
ErrorFrame.Builder

getErrorFramesBuilderList()

public List<ErrorFrame.Builder> getErrorFramesBuilderList()

The list of error frames.

repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;

Returns
Type Description
List<Builder>

getErrorFramesCount()

public int getErrorFramesCount()

The list of error frames.

repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;

Returns
Type Description
int

getErrorFramesList()

public List<ErrorFrame> getErrorFramesList()

The list of error frames.

repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;

Returns
Type Description
List<ErrorFrame>

getErrorFramesOrBuilder(int index)

public ErrorFrameOrBuilder getErrorFramesOrBuilder(int index)

The list of error frames.

repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;

Parameter
Name Description
index int
Returns
Type Description
ErrorFrameOrBuilder

getErrorFramesOrBuilderList()

public List<? extends ErrorFrameOrBuilder> getErrorFramesOrBuilderList()

The list of error frames.

repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;

Returns
Type Description
List<? extends com.google.cloud.migrationcenter.v1.ErrorFrameOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

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)

Locations that could not be reached.

repeated string unreachable = 3;

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

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListErrorFramesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeErrorFrames(int index)

public ListErrorFramesResponse.Builder removeErrorFrames(int index)

The list of error frames.

repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;

Parameter
Name Description
index int
Returns
Type Description
ListErrorFramesResponse.Builder

setErrorFrames(int index, ErrorFrame value)

public ListErrorFramesResponse.Builder setErrorFrames(int index, ErrorFrame value)

The list of error frames.

repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;

Parameters
Name Description
index int
value ErrorFrame
Returns
Type Description
ListErrorFramesResponse.Builder

setErrorFrames(int index, ErrorFrame.Builder builderForValue)

public ListErrorFramesResponse.Builder setErrorFrames(int index, ErrorFrame.Builder builderForValue)

The list of error frames.

repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;

Parameters
Name Description
index int
builderForValue ErrorFrame.Builder
Returns
Type Description
ListErrorFramesResponse.Builder

setNextPageToken(String value)

public ListErrorFramesResponse.Builder setNextPageToken(String value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListErrorFramesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListErrorFramesResponse.Builder setNextPageTokenBytes(ByteString value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListErrorFramesResponse.Builder

This builder for chaining.

setUnreachable(int index, String value)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListErrorFramesResponse.Builder

This builder for chaining.