Class ListReportConfigsResponse.Builder (0.3.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.migrationcenter.v1.ReportConfig>
Returns
TypeDescription
ListReportConfigsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListReportConfigsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueReportConfig
Returns
TypeDescription
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
NameDescription
builderForValueReportConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueReportConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueReportConfig.Builder
Returns
TypeDescription
ListReportConfigsResponse.Builder

addReportConfigsBuilder()

public ReportConfig.Builder addReportConfigsBuilder()

A list of report configs.

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

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

addUnreachable(String value)

public ListReportConfigsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListReportConfigsResponse.Builder

This builder for chaining.

build()

public ListReportConfigsResponse build()
Returns
TypeDescription
ListReportConfigsResponse

buildPartial()

public ListReportConfigsResponse buildPartial()
Returns
TypeDescription
ListReportConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListReportConfigsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListReportConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReportConfigs()

public ListReportConfigsResponse.Builder clearReportConfigs()

A list of report configs.

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

Returns
TypeDescription
ListReportConfigsResponse.Builder

clearUnreachable()

public ListReportConfigsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListReportConfigsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListReportConfigsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListReportConfigsResponse

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.

getReportConfigs(int index)

public ReportConfig getReportConfigs(int index)

A list of report configs.

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

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

getReportConfigsBuilderList()

public List<ReportConfig.Builder> getReportConfigsBuilderList()

A list of report configs.

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

Returns
TypeDescription
List<Builder>

getReportConfigsCount()

public int getReportConfigsCount()

A list of report configs.

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

Returns
TypeDescription
int

getReportConfigsList()

public List<ReportConfig> getReportConfigsList()

A list of report configs.

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

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

getReportConfigsOrBuilderList()

public List<? extends ReportConfigOrBuilder> getReportConfigsOrBuilderList()

A list of report configs.

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

Returns
TypeDescription
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
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(ListReportConfigsResponse other)

public ListReportConfigsResponse.Builder mergeFrom(ListReportConfigsResponse other)
Parameter
NameDescription
otherListReportConfigsResponse
Returns
TypeDescription
ListReportConfigsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ListReportConfigsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueReportConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueReportConfig.Builder
Returns
TypeDescription
ListReportConfigsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListReportConfigsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListReportConfigsResponse.Builder

This builder for chaining.