Class ListReportsResponse.Builder (0.14.0)

public static final class ListReportsResponse.Builder extends GeneratedMessageV3.Builder<ListReportsResponse.Builder> implements ListReportsResponseOrBuilder

Response message for listing Reports.

Protobuf type google.cloud.migrationcenter.v1.ListReportsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllReports(Iterable<? extends Report> values)

public ListReportsResponse.Builder addAllReports(Iterable<? extends Report> values)

The list of Reports.

repeated .google.cloud.migrationcenter.v1.Report reports = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.migrationcenter.v1.Report>
Returns
TypeDescription
ListReportsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addReports(Report value)

public ListReportsResponse.Builder addReports(Report value)

The list of Reports.

repeated .google.cloud.migrationcenter.v1.Report reports = 1;

Parameter
NameDescription
valueReport
Returns
TypeDescription
ListReportsResponse.Builder

addReports(Report.Builder builderForValue)

public ListReportsResponse.Builder addReports(Report.Builder builderForValue)

The list of Reports.

repeated .google.cloud.migrationcenter.v1.Report reports = 1;

Parameter
NameDescription
builderForValueReport.Builder
Returns
TypeDescription
ListReportsResponse.Builder

addReports(int index, Report value)

public ListReportsResponse.Builder addReports(int index, Report value)

The list of Reports.

repeated .google.cloud.migrationcenter.v1.Report reports = 1;

Parameters
NameDescription
indexint
valueReport
Returns
TypeDescription
ListReportsResponse.Builder

addReports(int index, Report.Builder builderForValue)

public ListReportsResponse.Builder addReports(int index, Report.Builder builderForValue)

The list of Reports.

repeated .google.cloud.migrationcenter.v1.Report reports = 1;

Parameters
NameDescription
indexint
builderForValueReport.Builder
Returns
TypeDescription
ListReportsResponse.Builder

addReportsBuilder()

public Report.Builder addReportsBuilder()

The list of Reports.

repeated .google.cloud.migrationcenter.v1.Report reports = 1;

Returns
TypeDescription
Report.Builder

addReportsBuilder(int index)

public Report.Builder addReportsBuilder(int index)

The list of Reports.

repeated .google.cloud.migrationcenter.v1.Report reports = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Report.Builder

addUnreachable(String value)

public ListReportsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListReportsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListReportsResponse build()
Returns
TypeDescription
ListReportsResponse

buildPartial()

public ListReportsResponse buildPartial()
Returns
TypeDescription
ListReportsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListReportsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
ListReportsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReports()

public ListReportsResponse.Builder clearReports()

The list of Reports.

repeated .google.cloud.migrationcenter.v1.Report reports = 1;

Returns
TypeDescription
ListReportsResponse.Builder

clearUnreachable()

public ListReportsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListReportsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListReportsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListReportsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getReports(int index)

public Report getReports(int index)

The list of Reports.

repeated .google.cloud.migrationcenter.v1.Report reports = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Report

getReportsBuilder(int index)

public Report.Builder getReportsBuilder(int index)

The list of Reports.

repeated .google.cloud.migrationcenter.v1.Report reports = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Report.Builder

getReportsBuilderList()

public List<Report.Builder> getReportsBuilderList()

The list of Reports.

repeated .google.cloud.migrationcenter.v1.Report reports = 1;

Returns
TypeDescription
List<Builder>

getReportsCount()

public int getReportsCount()

The list of Reports.

repeated .google.cloud.migrationcenter.v1.Report reports = 1;

Returns
TypeDescription
int

getReportsList()

public List<Report> getReportsList()

The list of Reports.

repeated .google.cloud.migrationcenter.v1.Report reports = 1;

Returns
TypeDescription
List<Report>

getReportsOrBuilder(int index)

public ReportOrBuilder getReportsOrBuilder(int index)

The list of Reports.

repeated .google.cloud.migrationcenter.v1.Report reports = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ReportOrBuilder

getReportsOrBuilderList()

public List<? extends ReportOrBuilder> getReportsOrBuilderList()

The list of Reports.

repeated .google.cloud.migrationcenter.v1.Report reports = 1;

Returns
TypeDescription
List<? extends com.google.cloud.migrationcenter.v1.ReportOrBuilder>

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

public ListReportsResponse.Builder mergeFrom(ListReportsResponse other)
Parameter
NameDescription
otherListReportsResponse
Returns
TypeDescription
ListReportsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListReportsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListReportsResponse.Builder
Overrides

removeReports(int index)

public ListReportsResponse.Builder removeReports(int index)

The list of Reports.

repeated .google.cloud.migrationcenter.v1.Report reports = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListReportsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setReports(int index, Report value)

public ListReportsResponse.Builder setReports(int index, Report value)

The list of Reports.

repeated .google.cloud.migrationcenter.v1.Report reports = 1;

Parameters
NameDescription
indexint
valueReport
Returns
TypeDescription
ListReportsResponse.Builder

setReports(int index, Report.Builder builderForValue)

public ListReportsResponse.Builder setReports(int index, Report.Builder builderForValue)

The list of Reports.

repeated .google.cloud.migrationcenter.v1.Report reports = 1;

Parameters
NameDescription
indexint
builderForValueReport.Builder
Returns
TypeDescription
ListReportsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.