Class ListReportDetailsResponse.Builder (0.3.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.storageinsights.v1.ReportDetail>
Returns
TypeDescription
ListReportDetailsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addReportDetailsBuilder()

public ReportDetail.Builder addReportDetailsBuilder()

The list of ReportDetail

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

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

addUnreachable(String value)

public ListReportDetailsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListReportDetailsResponse.Builder

This builder for chaining.

build()

public ListReportDetailsResponse build()
Returns
TypeDescription
ListReportDetailsResponse

buildPartial()

public ListReportDetailsResponse buildPartial()
Returns
TypeDescription
ListReportDetailsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReportDetails()

public ListReportDetailsResponse.Builder clearReportDetails()

The list of ReportDetail

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

Returns
TypeDescription
ListReportDetailsResponse.Builder

clearUnreachable()

public ListReportDetailsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListReportDetailsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListReportDetailsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListReportDetailsResponse

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.

getReportDetails(int index)

public ReportDetail getReportDetails(int index)

The list of ReportDetail

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ReportDetail

getReportDetailsBuilder(int index)

public ReportDetail.Builder getReportDetailsBuilder(int index)

The list of ReportDetail

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ReportDetail.Builder

getReportDetailsBuilderList()

public List<ReportDetail.Builder> getReportDetailsBuilderList()

The list of ReportDetail

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

Returns
TypeDescription
List<Builder>

getReportDetailsCount()

public int getReportDetailsCount()

The list of ReportDetail

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

Returns
TypeDescription
int

getReportDetailsList()

public List<ReportDetail> getReportDetailsList()

The list of ReportDetail

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

Returns
TypeDescription
List<ReportDetail>

getReportDetailsOrBuilder(int index)

public ReportDetailOrBuilder getReportDetailsOrBuilder(int index)

The list of ReportDetail

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ReportDetailOrBuilder

getReportDetailsOrBuilderList()

public List<? extends ReportDetailOrBuilder> getReportDetailsOrBuilderList()

The list of ReportDetail

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

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

public ListReportDetailsResponse.Builder mergeFrom(ListReportDetailsResponse other)
Parameter
NameDescription
otherListReportDetailsResponse
Returns
TypeDescription
ListReportDetailsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueReportDetail
Returns
TypeDescription
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
NameDescription
indexint
builderForValueReportDetail.Builder
Returns
TypeDescription
ListReportDetailsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListReportDetailsResponse.Builder

This builder for chaining.