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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
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;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateTimeSeriesSummary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateTimeSeriesSummary build()
buildPartial()
public CreateTimeSeriesSummary buildPartial()
clear()
public CreateTimeSeriesSummary.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public CreateTimeSeriesSummary.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateTimeSeriesSummary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSuccessPointCount()
public CreateTimeSeriesSummary.Builder clearSuccessPointCount()
The number of points that were successfully written.
int32 success_point_count = 2;
clearTotalPointCount()
public CreateTimeSeriesSummary.Builder clearTotalPointCount()
The number of points in the request.
int32 total_point_count = 1;
clone()
public CreateTimeSeriesSummary.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateTimeSeriesSummary getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
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;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateTimeSeriesSummary other)
public CreateTimeSeriesSummary.Builder mergeFrom(CreateTimeSeriesSummary other)
public CreateTimeSeriesSummary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateTimeSeriesSummary.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateTimeSeriesSummary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public CreateTimeSeriesSummary.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateTimeSeriesSummary.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateTimeSeriesSummary.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides