Class ListErrorFramesResponse.Builder (0.15.0)

public static final class ListErrorFramesResponse.Builder extends GeneratedMessageV3.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.migrationcenter.v1.ErrorFrame>
Returns
TypeDescription
ListErrorFramesResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueErrorFrame
Returns
TypeDescription
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
NameDescription
builderForValueErrorFrame.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueErrorFrame
Returns
TypeDescription
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
NameDescription
indexint
builderForValueErrorFrame.Builder
Returns
TypeDescription
ListErrorFramesResponse.Builder

addErrorFramesBuilder()

public ErrorFrame.Builder addErrorFramesBuilder()

The list of error frames.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ErrorFrame.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListErrorFramesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListErrorFramesResponse.Builder
Overrides

addUnreachable(String value)

public ListErrorFramesResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListErrorFramesResponse.Builder

This builder for chaining.

build()

public ListErrorFramesResponse build()
Returns
TypeDescription
ListErrorFramesResponse

buildPartial()

public ListErrorFramesResponse buildPartial()
Returns
TypeDescription
ListErrorFramesResponse

clear()

public ListErrorFramesResponse.Builder clear()
Returns
TypeDescription
ListErrorFramesResponse.Builder
Overrides

clearErrorFrames()

public ListErrorFramesResponse.Builder clearErrorFrames()

The list of error frames.

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

Returns
TypeDescription
ListErrorFramesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListErrorFramesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListErrorFramesResponse.Builder
Overrides

clearNextPageToken()

public ListErrorFramesResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
ListErrorFramesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListErrorFramesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListErrorFramesResponse.Builder
Overrides

clearUnreachable()

public ListErrorFramesResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListErrorFramesResponse.Builder

This builder for chaining.

clone()

public ListErrorFramesResponse.Builder clone()
Returns
TypeDescription
ListErrorFramesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListErrorFramesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListErrorFramesResponse

getDescriptorForType()

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

getErrorFramesBuilderList()

public List<ErrorFrame.Builder> getErrorFramesBuilderList()

The list of error frames.

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

Returns
TypeDescription
List<Builder>

getErrorFramesCount()

public int getErrorFramesCount()

The list of error frames.

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

Returns
TypeDescription
int

getErrorFramesList()

public List<ErrorFrame> getErrorFramesList()

The list of error frames.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ErrorFrameOrBuilder

getErrorFramesOrBuilderList()

public List<? extends ErrorFrameOrBuilder> getErrorFramesOrBuilderList()

The list of error frames.

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

Returns
TypeDescription
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
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

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)

Locations that could not be reached.

repeated string unreachable = 3;

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

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

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

public ListErrorFramesResponse.Builder mergeFrom(ListErrorFramesResponse other)
Parameter
NameDescription
otherListErrorFramesResponse
Returns
TypeDescription
ListErrorFramesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListErrorFramesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueErrorFrame
Returns
TypeDescription
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
NameDescription
indexint
builderForValueErrorFrame.Builder
Returns
TypeDescription
ListErrorFramesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListErrorFramesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListErrorFramesResponse.Builder
Overrides

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
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
ListErrorFramesResponse.Builder

This builder for chaining.

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

public ListErrorFramesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListErrorFramesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListErrorFramesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListErrorFramesResponse.Builder
Overrides

setUnreachable(int index, String value)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListErrorFramesResponse.Builder

This builder for chaining.