Class ListReportConfigsResponse.Builder (0.30.0)

public static final class ListReportConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListReportConfigsResponse.Builder> implements ListReportConfigsResponseOrBuilder

Response message for listing report configs.

Protobuf type google.cloud.migrationcenter.v1.ListReportConfigsResponse

Static Methods

getDescriptor()

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

Methods

addAllReportConfigs(Iterable<? extends ReportConfig> values)

public ListReportConfigsResponse.Builder addAllReportConfigs(Iterable<? extends ReportConfig> values)

A list of report configs.

repeated .google.cloud.migrationcenter.v1.ReportConfig report_configs = 1;

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

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addReportConfigs(ReportConfig value)

public ListReportConfigsResponse.Builder addReportConfigs(ReportConfig value)

A list of report configs.

repeated .google.cloud.migrationcenter.v1.ReportConfig report_configs = 1;

Parameter
Name Description
value ReportConfig
Returns
Type Description
ListReportConfigsResponse.Builder

addReportConfigs(ReportConfig.Builder builderForValue)

public ListReportConfigsResponse.Builder addReportConfigs(ReportConfig.Builder builderForValue)

A list of report configs.

repeated .google.cloud.migrationcenter.v1.ReportConfig report_configs = 1;

Parameter
Name Description
builderForValue ReportConfig.Builder
Returns
Type Description
ListReportConfigsResponse.Builder

addReportConfigs(int index, ReportConfig value)

public ListReportConfigsResponse.Builder addReportConfigs(int index, ReportConfig value)

A list of report configs.

repeated .google.cloud.migrationcenter.v1.ReportConfig report_configs = 1;

Parameters
Name Description
index int
value ReportConfig
Returns
Type Description
ListReportConfigsResponse.Builder

addReportConfigs(int index, ReportConfig.Builder builderForValue)

public ListReportConfigsResponse.Builder addReportConfigs(int index, ReportConfig.Builder builderForValue)

A list of report configs.

repeated .google.cloud.migrationcenter.v1.ReportConfig report_configs = 1;

Parameters
Name Description
index int
builderForValue ReportConfig.Builder
Returns
Type Description
ListReportConfigsResponse.Builder

addReportConfigsBuilder()

public ReportConfig.Builder addReportConfigsBuilder()

A list of report configs.

repeated .google.cloud.migrationcenter.v1.ReportConfig report_configs = 1;

Returns
Type Description
ReportConfig.Builder

addReportConfigsBuilder(int index)

public ReportConfig.Builder addReportConfigsBuilder(int index)

A list of report configs.

repeated .google.cloud.migrationcenter.v1.ReportConfig report_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportConfig.Builder

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListReportConfigsResponse build()
Returns
Type Description
ListReportConfigsResponse

buildPartial()

public ListReportConfigsResponse buildPartial()
Returns
Type Description
ListReportConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListReportConfigsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListReportConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReportConfigs()

public ListReportConfigsResponse.Builder clearReportConfigs()

A list of report configs.

repeated .google.cloud.migrationcenter.v1.ReportConfig report_configs = 1;

Returns
Type Description
ListReportConfigsResponse.Builder

clearUnreachable()

public ListReportConfigsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListReportConfigsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListReportConfigsResponse getDefaultInstanceForType()
Returns
Type Description
ListReportConfigsResponse

getDescriptorForType()

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

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.

getReportConfigs(int index)

public ReportConfig getReportConfigs(int index)

A list of report configs.

repeated .google.cloud.migrationcenter.v1.ReportConfig report_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportConfig

getReportConfigsBuilder(int index)

public ReportConfig.Builder getReportConfigsBuilder(int index)

A list of report configs.

repeated .google.cloud.migrationcenter.v1.ReportConfig report_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportConfig.Builder

getReportConfigsBuilderList()

public List<ReportConfig.Builder> getReportConfigsBuilderList()

A list of report configs.

repeated .google.cloud.migrationcenter.v1.ReportConfig report_configs = 1;

Returns
Type Description
List<Builder>

getReportConfigsCount()

public int getReportConfigsCount()

A list of report configs.

repeated .google.cloud.migrationcenter.v1.ReportConfig report_configs = 1;

Returns
Type Description
int

getReportConfigsList()

public List<ReportConfig> getReportConfigsList()

A list of report configs.

repeated .google.cloud.migrationcenter.v1.ReportConfig report_configs = 1;

Returns
Type Description
List<ReportConfig>

getReportConfigsOrBuilder(int index)

public ReportConfigOrBuilder getReportConfigsOrBuilder(int index)

A list of report configs.

repeated .google.cloud.migrationcenter.v1.ReportConfig report_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportConfigOrBuilder

getReportConfigsOrBuilderList()

public List<? extends ReportConfigOrBuilder> getReportConfigsOrBuilderList()

A list of report configs.

repeated .google.cloud.migrationcenter.v1.ReportConfig report_configs = 1;

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

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListReportConfigsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeReportConfigs(int index)

public ListReportConfigsResponse.Builder removeReportConfigs(int index)

A list of report configs.

repeated .google.cloud.migrationcenter.v1.ReportConfig report_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListReportConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setReportConfigs(int index, ReportConfig value)

public ListReportConfigsResponse.Builder setReportConfigs(int index, ReportConfig value)

A list of report configs.

repeated .google.cloud.migrationcenter.v1.ReportConfig report_configs = 1;

Parameters
Name Description
index int
value ReportConfig
Returns
Type Description
ListReportConfigsResponse.Builder

setReportConfigs(int index, ReportConfig.Builder builderForValue)

public ListReportConfigsResponse.Builder setReportConfigs(int index, ReportConfig.Builder builderForValue)

A list of report configs.

repeated .google.cloud.migrationcenter.v1.ReportConfig report_configs = 1;

Parameters
Name Description
index int
builderForValue ReportConfig.Builder
Returns
Type Description
ListReportConfigsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.