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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListErrorFramesResponse.BuilderImplements
ListErrorFramesResponseOrBuilderStatic 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 |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListErrorFramesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListErrorFramesResponse.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 |
clearErrorFrames()
public ListErrorFramesResponse.Builder clearErrorFrames()
The list of error frames.
repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;
Returns | |
---|---|
Type | Description |
ListErrorFramesResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListErrorFramesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListErrorFramesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListErrorFramesResponse.Builder |
clearUnreachable()
public ListErrorFramesResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ListErrorFramesResponse.Builder | This builder for chaining. |
clone()
public ListErrorFramesResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListErrorFramesResponse.Builder |
getDefaultInstanceForType()
public ListErrorFramesResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListErrorFramesResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListErrorFramesResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ListErrorFramesResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListErrorFramesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListErrorFramesResponse.Builder |
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 |
setField(Descriptors.FieldDescriptor field, Object value)
public ListErrorFramesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
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. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListErrorFramesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ListErrorFramesResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListErrorFramesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListErrorFramesResponse.Builder |
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. |