Class CreateTimeSeriesSummary.Builder (3.45.0)

public static final class CreateTimeSeriesSummary.Builder extends GeneratedMessageV3.Builder<CreateTimeSeriesSummary.Builder> implements CreateTimeSeriesSummaryOrBuilder

Summary of the result of a failed request to write data to a time series.

Protobuf type google.monitoring.v3.CreateTimeSeriesSummary

Static Methods

getDescriptor()

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

Methods

addAllErrors(Iterable<? extends CreateTimeSeriesSummary.Error> values)

public CreateTimeSeriesSummary.Builder addAllErrors(Iterable<? extends CreateTimeSeriesSummary.Error> values)

The number of points that failed to be written. Order is not guaranteed.

repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3;

Parameter
Name Description
values Iterable<? extends com.google.monitoring.v3.CreateTimeSeriesSummary.Error>
Returns
Type Description
CreateTimeSeriesSummary.Builder

addErrors(CreateTimeSeriesSummary.Error value)

public CreateTimeSeriesSummary.Builder addErrors(CreateTimeSeriesSummary.Error value)

The number of points that failed to be written. Order is not guaranteed.

repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3;

Parameter
Name Description
value CreateTimeSeriesSummary.Error
Returns
Type Description
CreateTimeSeriesSummary.Builder

addErrors(CreateTimeSeriesSummary.Error.Builder builderForValue)

public CreateTimeSeriesSummary.Builder addErrors(CreateTimeSeriesSummary.Error.Builder builderForValue)

The number of points that failed to be written. Order is not guaranteed.

repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3;

Parameter
Name Description
builderForValue CreateTimeSeriesSummary.Error.Builder
Returns
Type Description
CreateTimeSeriesSummary.Builder

addErrors(int index, CreateTimeSeriesSummary.Error value)

public CreateTimeSeriesSummary.Builder addErrors(int index, CreateTimeSeriesSummary.Error value)

The number of points that failed to be written. Order is not guaranteed.

repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3;

Parameters
Name Description
index int
value CreateTimeSeriesSummary.Error
Returns
Type Description
CreateTimeSeriesSummary.Builder

addErrors(int index, CreateTimeSeriesSummary.Error.Builder builderForValue)

public CreateTimeSeriesSummary.Builder addErrors(int index, CreateTimeSeriesSummary.Error.Builder builderForValue)

The number of points that failed to be written. Order is not guaranteed.

repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3;

Parameters
Name Description
index int
builderForValue CreateTimeSeriesSummary.Error.Builder
Returns
Type Description
CreateTimeSeriesSummary.Builder

addErrorsBuilder()

public CreateTimeSeriesSummary.Error.Builder addErrorsBuilder()

The number of points that failed to be written. Order is not guaranteed.

repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3;

Returns
Type Description
CreateTimeSeriesSummary.Error.Builder

addErrorsBuilder(int index)

public CreateTimeSeriesSummary.Error.Builder addErrorsBuilder(int index)

The number of points that failed to be written. Order is not guaranteed.

repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3;

Parameter
Name Description
index int
Returns
Type Description
CreateTimeSeriesSummary.Error.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateTimeSeriesSummary build()
Returns
Type Description
CreateTimeSeriesSummary

buildPartial()

public CreateTimeSeriesSummary buildPartial()
Returns
Type Description
CreateTimeSeriesSummary

clear()

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

clearErrors()

public CreateTimeSeriesSummary.Builder clearErrors()

The number of points that failed to be written. Order is not guaranteed.

repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3;

Returns
Type Description
CreateTimeSeriesSummary.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSuccessPointCount()

public CreateTimeSeriesSummary.Builder clearSuccessPointCount()

The number of points that were successfully written.

int32 success_point_count = 2;

Returns
Type Description
CreateTimeSeriesSummary.Builder

This builder for chaining.

clearTotalPointCount()

public CreateTimeSeriesSummary.Builder clearTotalPointCount()

The number of points in the request.

int32 total_point_count = 1;

Returns
Type Description
CreateTimeSeriesSummary.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateTimeSeriesSummary getDefaultInstanceForType()
Returns
Type Description
CreateTimeSeriesSummary

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getErrors(int index)

public CreateTimeSeriesSummary.Error getErrors(int index)

The number of points that failed to be written. Order is not guaranteed.

repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3;

Parameter
Name Description
index int
Returns
Type Description
CreateTimeSeriesSummary.Error

getErrorsBuilder(int index)

public CreateTimeSeriesSummary.Error.Builder getErrorsBuilder(int index)

The number of points that failed to be written. Order is not guaranteed.

repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3;

Parameter
Name Description
index int
Returns
Type Description
CreateTimeSeriesSummary.Error.Builder

getErrorsBuilderList()

public List<CreateTimeSeriesSummary.Error.Builder> getErrorsBuilderList()

The number of points that failed to be written. Order is not guaranteed.

repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3;

Returns
Type Description
List<Builder>

getErrorsCount()

public int getErrorsCount()

The number of points that failed to be written. Order is not guaranteed.

repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3;

Returns
Type Description
int

getErrorsList()

public List<CreateTimeSeriesSummary.Error> getErrorsList()

The number of points that failed to be written. Order is not guaranteed.

repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3;

Returns
Type Description
List<Error>

getErrorsOrBuilder(int index)

public CreateTimeSeriesSummary.ErrorOrBuilder getErrorsOrBuilder(int index)

The number of points that failed to be written. Order is not guaranteed.

repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3;

Parameter
Name Description
index int
Returns
Type Description
CreateTimeSeriesSummary.ErrorOrBuilder

getErrorsOrBuilderList()

public List<? extends CreateTimeSeriesSummary.ErrorOrBuilder> getErrorsOrBuilderList()

The number of points that failed to be written. Order is not guaranteed.

repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3;

Returns
Type Description
List<? extends com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder>

getSuccessPointCount()

public int getSuccessPointCount()

The number of points that were successfully written.

int32 success_point_count = 2;

Returns
Type Description
int

The successPointCount.

getTotalPointCount()

public int getTotalPointCount()

The number of points in the request.

int32 total_point_count = 1;

Returns
Type Description
int

The totalPointCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateTimeSeriesSummary other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeErrors(int index)

public CreateTimeSeriesSummary.Builder removeErrors(int index)

The number of points that failed to be written. Order is not guaranteed.

repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3;

Parameter
Name Description
index int
Returns
Type Description
CreateTimeSeriesSummary.Builder

setErrors(int index, CreateTimeSeriesSummary.Error value)

public CreateTimeSeriesSummary.Builder setErrors(int index, CreateTimeSeriesSummary.Error value)

The number of points that failed to be written. Order is not guaranteed.

repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3;

Parameters
Name Description
index int
value CreateTimeSeriesSummary.Error
Returns
Type Description
CreateTimeSeriesSummary.Builder

setErrors(int index, CreateTimeSeriesSummary.Error.Builder builderForValue)

public CreateTimeSeriesSummary.Builder setErrors(int index, CreateTimeSeriesSummary.Error.Builder builderForValue)

The number of points that failed to be written. Order is not guaranteed.

repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3;

Parameters
Name Description
index int
builderForValue CreateTimeSeriesSummary.Error.Builder
Returns
Type Description
CreateTimeSeriesSummary.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSuccessPointCount(int value)

public CreateTimeSeriesSummary.Builder setSuccessPointCount(int value)

The number of points that were successfully written.

int32 success_point_count = 2;

Parameter
Name Description
value int

The successPointCount to set.

Returns
Type Description
CreateTimeSeriesSummary.Builder

This builder for chaining.

setTotalPointCount(int value)

public CreateTimeSeriesSummary.Builder setTotalPointCount(int value)

The number of points in the request.

int32 total_point_count = 1;

Parameter
Name Description
value int

The totalPointCount to set.

Returns
Type Description
CreateTimeSeriesSummary.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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