Class ListGroupStatsResponse.Builder (0.157.0-beta)

public static final class ListGroupStatsResponse.Builder extends GeneratedMessageV3.Builder<ListGroupStatsResponse.Builder> implements ListGroupStatsResponseOrBuilder

Contains a set of requested error group stats.

Protobuf type google.devtools.clouderrorreporting.v1beta1.ListGroupStatsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllErrorGroupStats(Iterable<? extends ErrorGroupStats> values)

public ListGroupStatsResponse.Builder addAllErrorGroupStats(Iterable<? extends ErrorGroupStats> values)

The error group stats which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats error_group_stats = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats>
Returns
TypeDescription
ListGroupStatsResponse.Builder

addErrorGroupStats(ErrorGroupStats value)

public ListGroupStatsResponse.Builder addErrorGroupStats(ErrorGroupStats value)

The error group stats which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats error_group_stats = 1;

Parameter
NameDescription
valueErrorGroupStats
Returns
TypeDescription
ListGroupStatsResponse.Builder

addErrorGroupStats(ErrorGroupStats.Builder builderForValue)

public ListGroupStatsResponse.Builder addErrorGroupStats(ErrorGroupStats.Builder builderForValue)

The error group stats which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats error_group_stats = 1;

Parameter
NameDescription
builderForValueErrorGroupStats.Builder
Returns
TypeDescription
ListGroupStatsResponse.Builder

addErrorGroupStats(int index, ErrorGroupStats value)

public ListGroupStatsResponse.Builder addErrorGroupStats(int index, ErrorGroupStats value)

The error group stats which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats error_group_stats = 1;

Parameters
NameDescription
indexint
valueErrorGroupStats
Returns
TypeDescription
ListGroupStatsResponse.Builder

addErrorGroupStats(int index, ErrorGroupStats.Builder builderForValue)

public ListGroupStatsResponse.Builder addErrorGroupStats(int index, ErrorGroupStats.Builder builderForValue)

The error group stats which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats error_group_stats = 1;

Parameters
NameDescription
indexint
builderForValueErrorGroupStats.Builder
Returns
TypeDescription
ListGroupStatsResponse.Builder

addErrorGroupStatsBuilder()

public ErrorGroupStats.Builder addErrorGroupStatsBuilder()

The error group stats which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats error_group_stats = 1;

Returns
TypeDescription
ErrorGroupStats.Builder

addErrorGroupStatsBuilder(int index)

public ErrorGroupStats.Builder addErrorGroupStatsBuilder(int index)

The error group stats which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats error_group_stats = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ErrorGroupStats.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListGroupStatsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListGroupStatsResponse.Builder
Overrides

build()

public ListGroupStatsResponse build()
Returns
TypeDescription
ListGroupStatsResponse

buildPartial()

public ListGroupStatsResponse buildPartial()
Returns
TypeDescription
ListGroupStatsResponse

clear()

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

clearErrorGroupStats()

public ListGroupStatsResponse.Builder clearErrorGroupStats()

The error group stats which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats error_group_stats = 1;

Returns
TypeDescription
ListGroupStatsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListGroupStatsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListGroupStatsResponse.Builder
Overrides

clearNextPageToken()

public ListGroupStatsResponse.Builder clearNextPageToken()

If non-empty, more results are available. Pass this token, along with the same query parameters as the first request, to view the next page of results.

string next_page_token = 2;

Returns
TypeDescription
ListGroupStatsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTimeRangeBegin()

public ListGroupStatsResponse.Builder clearTimeRangeBegin()

The timestamp specifies the start time to which the request was restricted. The start time is set based on the requested time range. It may be adjusted to a later time if a project has exceeded the storage quota and older data has been deleted.

.google.protobuf.Timestamp time_range_begin = 4;

Returns
TypeDescription
ListGroupStatsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListGroupStatsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListGroupStatsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getErrorGroupStats(int index)

public ErrorGroupStats getErrorGroupStats(int index)

The error group stats which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats error_group_stats = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ErrorGroupStats

getErrorGroupStatsBuilder(int index)

public ErrorGroupStats.Builder getErrorGroupStatsBuilder(int index)

The error group stats which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats error_group_stats = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ErrorGroupStats.Builder

getErrorGroupStatsBuilderList()

public List<ErrorGroupStats.Builder> getErrorGroupStatsBuilderList()

The error group stats which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats error_group_stats = 1;

Returns
TypeDescription
List<Builder>

getErrorGroupStatsCount()

public int getErrorGroupStatsCount()

The error group stats which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats error_group_stats = 1;

Returns
TypeDescription
int

getErrorGroupStatsList()

public List<ErrorGroupStats> getErrorGroupStatsList()

The error group stats which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats error_group_stats = 1;

Returns
TypeDescription
List<ErrorGroupStats>

getErrorGroupStatsOrBuilder(int index)

public ErrorGroupStatsOrBuilder getErrorGroupStatsOrBuilder(int index)

The error group stats which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats error_group_stats = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ErrorGroupStatsOrBuilder

getErrorGroupStatsOrBuilderList()

public List<? extends ErrorGroupStatsOrBuilder> getErrorGroupStatsOrBuilderList()

The error group stats which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats error_group_stats = 1;

Returns
TypeDescription
List<? extends com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupStatsOrBuilder>

getNextPageToken()

public String getNextPageToken()

If non-empty, more results are available. Pass this token, along with the same query parameters as the first request, to view the next page of results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If non-empty, more results are available. Pass this token, along with the same query parameters as the first request, to view the next page of results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getTimeRangeBegin()

public Timestamp getTimeRangeBegin()

The timestamp specifies the start time to which the request was restricted. The start time is set based on the requested time range. It may be adjusted to a later time if a project has exceeded the storage quota and older data has been deleted.

.google.protobuf.Timestamp time_range_begin = 4;

Returns
TypeDescription
Timestamp

The timeRangeBegin.

getTimeRangeBeginBuilder()

public Timestamp.Builder getTimeRangeBeginBuilder()

The timestamp specifies the start time to which the request was restricted. The start time is set based on the requested time range. It may be adjusted to a later time if a project has exceeded the storage quota and older data has been deleted.

.google.protobuf.Timestamp time_range_begin = 4;

Returns
TypeDescription
Builder

getTimeRangeBeginOrBuilder()

public TimestampOrBuilder getTimeRangeBeginOrBuilder()

The timestamp specifies the start time to which the request was restricted. The start time is set based on the requested time range. It may be adjusted to a later time if a project has exceeded the storage quota and older data has been deleted.

.google.protobuf.Timestamp time_range_begin = 4;

Returns
TypeDescription
TimestampOrBuilder

hasTimeRangeBegin()

public boolean hasTimeRangeBegin()

The timestamp specifies the start time to which the request was restricted. The start time is set based on the requested time range. It may be adjusted to a later time if a project has exceeded the storage quota and older data has been deleted.

.google.protobuf.Timestamp time_range_begin = 4;

Returns
TypeDescription
boolean

Whether the timeRangeBegin field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListGroupStatsResponse other)

public ListGroupStatsResponse.Builder mergeFrom(ListGroupStatsResponse other)
Parameter
NameDescription
otherListGroupStatsResponse
Returns
TypeDescription
ListGroupStatsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTimeRangeBegin(Timestamp value)

public ListGroupStatsResponse.Builder mergeTimeRangeBegin(Timestamp value)

The timestamp specifies the start time to which the request was restricted. The start time is set based on the requested time range. It may be adjusted to a later time if a project has exceeded the storage quota and older data has been deleted.

.google.protobuf.Timestamp time_range_begin = 4;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ListGroupStatsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListGroupStatsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListGroupStatsResponse.Builder
Overrides

removeErrorGroupStats(int index)

public ListGroupStatsResponse.Builder removeErrorGroupStats(int index)

The error group stats which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats error_group_stats = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListGroupStatsResponse.Builder

setErrorGroupStats(int index, ErrorGroupStats value)

public ListGroupStatsResponse.Builder setErrorGroupStats(int index, ErrorGroupStats value)

The error group stats which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats error_group_stats = 1;

Parameters
NameDescription
indexint
valueErrorGroupStats
Returns
TypeDescription
ListGroupStatsResponse.Builder

setErrorGroupStats(int index, ErrorGroupStats.Builder builderForValue)

public ListGroupStatsResponse.Builder setErrorGroupStats(int index, ErrorGroupStats.Builder builderForValue)

The error group stats which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats error_group_stats = 1;

Parameters
NameDescription
indexint
builderForValueErrorGroupStats.Builder
Returns
TypeDescription
ListGroupStatsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListGroupStatsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListGroupStatsResponse.Builder
Overrides

setNextPageToken(String value)

public ListGroupStatsResponse.Builder setNextPageToken(String value)

If non-empty, more results are available. Pass this token, along with the same query parameters as the first request, to view the next page of results.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListGroupStatsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListGroupStatsResponse.Builder setNextPageTokenBytes(ByteString value)

If non-empty, more results are available. Pass this token, along with the same query parameters as the first request, to view the next page of results.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListGroupStatsResponse.Builder

This builder for chaining.

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

public ListGroupStatsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListGroupStatsResponse.Builder
Overrides

setTimeRangeBegin(Timestamp value)

public ListGroupStatsResponse.Builder setTimeRangeBegin(Timestamp value)

The timestamp specifies the start time to which the request was restricted. The start time is set based on the requested time range. It may be adjusted to a later time if a project has exceeded the storage quota and older data has been deleted.

.google.protobuf.Timestamp time_range_begin = 4;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ListGroupStatsResponse.Builder

setTimeRangeBegin(Timestamp.Builder builderForValue)

public ListGroupStatsResponse.Builder setTimeRangeBegin(Timestamp.Builder builderForValue)

The timestamp specifies the start time to which the request was restricted. The start time is set based on the requested time range. It may be adjusted to a later time if a project has exceeded the storage quota and older data has been deleted.

.google.protobuf.Timestamp time_range_begin = 4;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ListGroupStatsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListGroupStatsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListGroupStatsResponse.Builder
Overrides