Class CreateTimeSeriesSummary.Builder (3.18.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.monitoring.v3.CreateTimeSeriesSummary.Error>
Returns
TypeDescription
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
NameDescription
valueCreateTimeSeriesSummary.Error
Returns
TypeDescription
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
NameDescription
builderForValueCreateTimeSeriesSummary.Error.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueCreateTimeSeriesSummary.Error
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCreateTimeSeriesSummary.Error.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
CreateTimeSeriesSummary.Error.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateTimeSeriesSummary build()
Returns
TypeDescription
CreateTimeSeriesSummary

buildPartial()

public CreateTimeSeriesSummary buildPartial()
Returns
TypeDescription
CreateTimeSeriesSummary

clear()

public CreateTimeSeriesSummary.Builder clear()
Returns
TypeDescription
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
TypeDescription
CreateTimeSeriesSummary.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSuccessPointCount()

public CreateTimeSeriesSummary.Builder clearSuccessPointCount()

The number of points that were successfully written.

int32 success_point_count = 2;

Returns
TypeDescription
CreateTimeSeriesSummary.Builder

This builder for chaining.

clearTotalPointCount()

public CreateTimeSeriesSummary.Builder clearTotalPointCount()

The number of points in the request.

int32 total_point_count = 1;

Returns
TypeDescription
CreateTimeSeriesSummary.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateTimeSeriesSummary getDefaultInstanceForType()
Returns
TypeDescription
CreateTimeSeriesSummary

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The successPointCount.

getTotalPointCount()

public int getTotalPointCount()

The number of points in the request.

int32 total_point_count = 1;

Returns
TypeDescription
int

The totalPointCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateTimeSeriesSummary other)

public CreateTimeSeriesSummary.Builder mergeFrom(CreateTimeSeriesSummary other)
Parameter
NameDescription
otherCreateTimeSeriesSummary
Returns
TypeDescription
CreateTimeSeriesSummary.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public CreateTimeSeriesSummary.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The successPointCount to set.

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

The totalPointCount to set.

Returns
TypeDescription
CreateTimeSeriesSummary.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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