Class ListReportDetailsResponse.Builder (0.39.0)

public static final class ListReportDetailsResponse.Builder extends GeneratedMessageV3.Builder<ListReportDetailsResponse.Builder> implements ListReportDetailsResponseOrBuilder

Message for response to listing ReportDetails

Protobuf type google.cloud.storageinsights.v1.ListReportDetailsResponse

Static Methods

getDescriptor()

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

Methods

addAllReportDetails(Iterable<? extends ReportDetail> values)

public ListReportDetailsResponse.Builder addAllReportDetails(Iterable<? extends ReportDetail> values)

The list of ReportDetail

repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.storageinsights.v1.ReportDetail>
Returns
Type Description
ListReportDetailsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addReportDetails(ReportDetail value)

public ListReportDetailsResponse.Builder addReportDetails(ReportDetail value)

The list of ReportDetail

repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1;

Parameter
Name Description
value ReportDetail
Returns
Type Description
ListReportDetailsResponse.Builder

addReportDetails(ReportDetail.Builder builderForValue)

public ListReportDetailsResponse.Builder addReportDetails(ReportDetail.Builder builderForValue)

The list of ReportDetail

repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1;

Parameter
Name Description
builderForValue ReportDetail.Builder
Returns
Type Description
ListReportDetailsResponse.Builder

addReportDetails(int index, ReportDetail value)

public ListReportDetailsResponse.Builder addReportDetails(int index, ReportDetail value)

The list of ReportDetail

repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1;

Parameters
Name Description
index int
value ReportDetail
Returns
Type Description
ListReportDetailsResponse.Builder

addReportDetails(int index, ReportDetail.Builder builderForValue)

public ListReportDetailsResponse.Builder addReportDetails(int index, ReportDetail.Builder builderForValue)

The list of ReportDetail

repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1;

Parameters
Name Description
index int
builderForValue ReportDetail.Builder
Returns
Type Description
ListReportDetailsResponse.Builder

addReportDetailsBuilder()

public ReportDetail.Builder addReportDetailsBuilder()

The list of ReportDetail

repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1;

Returns
Type Description
ReportDetail.Builder

addReportDetailsBuilder(int index)

public ReportDetail.Builder addReportDetailsBuilder(int index)

The list of ReportDetail

repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportDetail.Builder

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListReportDetailsResponse build()
Returns
Type Description
ListReportDetailsResponse

buildPartial()

public ListReportDetailsResponse buildPartial()
Returns
Type Description
ListReportDetailsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListReportDetailsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListReportDetailsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReportDetails()

public ListReportDetailsResponse.Builder clearReportDetails()

The list of ReportDetail

repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1;

Returns
Type Description
ListReportDetailsResponse.Builder

clearUnreachable()

public ListReportDetailsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListReportDetailsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListReportDetailsResponse getDefaultInstanceForType()
Returns
Type Description
ListReportDetailsResponse

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.

getReportDetails(int index)

public ReportDetail getReportDetails(int index)

The list of ReportDetail

repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportDetail

getReportDetailsBuilder(int index)

public ReportDetail.Builder getReportDetailsBuilder(int index)

The list of ReportDetail

repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportDetail.Builder

getReportDetailsBuilderList()

public List<ReportDetail.Builder> getReportDetailsBuilderList()

The list of ReportDetail

repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1;

Returns
Type Description
List<Builder>

getReportDetailsCount()

public int getReportDetailsCount()

The list of ReportDetail

repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1;

Returns
Type Description
int

getReportDetailsList()

public List<ReportDetail> getReportDetailsList()

The list of ReportDetail

repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1;

Returns
Type Description
List<ReportDetail>

getReportDetailsOrBuilder(int index)

public ReportDetailOrBuilder getReportDetailsOrBuilder(int index)

The list of ReportDetail

repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportDetailOrBuilder

getReportDetailsOrBuilderList()

public List<? extends ReportDetailOrBuilder> getReportDetailsOrBuilderList()

The list of ReportDetail

repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1;

Returns
Type Description
List<? extends com.google.cloud.storageinsights.v1.ReportDetailOrBuilder>

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeReportDetails(int index)

public ListReportDetailsResponse.Builder removeReportDetails(int index)

The list of ReportDetail

repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1;

Parameter
Name Description
index int
Returns
Type Description
ListReportDetailsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setReportDetails(int index, ReportDetail value)

public ListReportDetailsResponse.Builder setReportDetails(int index, ReportDetail value)

The list of ReportDetail

repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1;

Parameters
Name Description
index int
value ReportDetail
Returns
Type Description
ListReportDetailsResponse.Builder

setReportDetails(int index, ReportDetail.Builder builderForValue)

public ListReportDetailsResponse.Builder setReportDetails(int index, ReportDetail.Builder builderForValue)

The list of ReportDetail

repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1;

Parameters
Name Description
index int
builderForValue ReportDetail.Builder
Returns
Type Description
ListReportDetailsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.