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
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
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateTimeSeriesSummary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateTimeSeriesSummary build()
Returns
buildPartial()
public CreateTimeSeriesSummary buildPartial()
Returns
clear()
public CreateTimeSeriesSummary.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public CreateTimeSeriesSummary.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateTimeSeriesSummary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSuccessPointCount()
public CreateTimeSeriesSummary.Builder clearSuccessPointCount()
The number of points that were successfully written.
int32 success_point_count = 2;
Returns
clearTotalPointCount()
public CreateTimeSeriesSummary.Builder clearTotalPointCount()
The number of points in the request.
int32 total_point_count = 1;
Returns
clone()
public CreateTimeSeriesSummary.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateTimeSeriesSummary getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateTimeSeriesSummary other)
public CreateTimeSeriesSummary.Builder mergeFrom(CreateTimeSeriesSummary other)
Parameter
Returns
public CreateTimeSeriesSummary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateTimeSeriesSummary.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateTimeSeriesSummary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateTimeSeriesSummary.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateTimeSeriesSummary.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
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
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateTimeSeriesSummary.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides