Class ListReportConfigsResponse.Builder (0.68.0)

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

Message for response to listing ReportConfigs

Protobuf type google.cloud.storageinsights.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)

The list of ReportConfig

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.storageinsights.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.

addReportConfigs(ReportConfig value)

public ListReportConfigsResponse.Builder addReportConfigs(ReportConfig value)

The list of ReportConfig

repeated .google.cloud.storageinsights.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)

The list of ReportConfig

repeated .google.cloud.storageinsights.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)

The list of ReportConfig

repeated .google.cloud.storageinsights.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)

The list of ReportConfig

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

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

addReportConfigsBuilder()

public ReportConfig.Builder addReportConfigsBuilder()

The list of ReportConfig

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

Returns
Type Description
ReportConfig.Builder

addReportConfigsBuilder(int index)

public ReportConfig.Builder addReportConfigsBuilder(int index)

The list of ReportConfig

repeated .google.cloud.storageinsights.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

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.

clearReportConfigs()

public ListReportConfigsResponse.Builder clearReportConfigs()

The list of ReportConfig

repeated .google.cloud.storageinsights.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.

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)

The list of ReportConfig

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

Parameter
Name Description
index int
Returns
Type Description
ReportConfig

getReportConfigsBuilder(int index)

public ReportConfig.Builder getReportConfigsBuilder(int index)

The list of ReportConfig

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

Parameter
Name Description
index int
Returns
Type Description
ReportConfig.Builder

getReportConfigsBuilderList()

public List<ReportConfig.Builder> getReportConfigsBuilderList()

The list of ReportConfig

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

Returns
Type Description
List<Builder>

getReportConfigsCount()

public int getReportConfigsCount()

The list of ReportConfig

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

Returns
Type Description
int

getReportConfigsList()

public List<ReportConfig> getReportConfigsList()

The list of ReportConfig

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

Returns
Type Description
List<ReportConfig>

getReportConfigsOrBuilder(int index)

public ReportConfigOrBuilder getReportConfigsOrBuilder(int index)

The list of ReportConfig

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

Parameter
Name Description
index int
Returns
Type Description
ReportConfigOrBuilder

getReportConfigsOrBuilderList()

public List<? extends ReportConfigOrBuilder> getReportConfigsOrBuilderList()

The list of ReportConfig

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

Returns
Type Description
List<? extends com.google.cloud.storageinsights.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 GeneratedMessage.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

removeReportConfigs(int index)

public ListReportConfigsResponse.Builder removeReportConfigs(int index)

The list of ReportConfig

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

Parameter
Name Description
index int
Returns
Type Description
ListReportConfigsResponse.Builder

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.

setReportConfigs(int index, ReportConfig value)

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

The list of ReportConfig

repeated .google.cloud.storageinsights.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)

The list of ReportConfig

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

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

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.