Package com.google.monitoring.v3
Class CreateTimeSeriesSummary.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CreateTimeSeriesSummary.Builder>
com.google.monitoring.v3.CreateTimeSeriesSummary.Builder
- All Implemented Interfaces:
CreateTimeSeriesSummaryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CreateTimeSeriesSummary
public static final class CreateTimeSeriesSummary.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllErrors(Iterable<? extends CreateTimeSeriesSummary.Error> values) The number of points that failed to be written.addErrors(int index, CreateTimeSeriesSummary.Error value) The number of points that failed to be written.addErrors(int index, CreateTimeSeriesSummary.Error.Builder builderForValue) The number of points that failed to be written.The number of points that failed to be written.addErrors(CreateTimeSeriesSummary.Error.Builder builderForValue) The number of points that failed to be written.The number of points that failed to be written.addErrorsBuilder(int index) The number of points that failed to be written.build()clear()The number of points that failed to be written.The number of points that were successfully written.The number of points in the request.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetErrors(int index) The number of points that failed to be written.getErrorsBuilder(int index) The number of points that failed to be written.The number of points that failed to be written.intThe number of points that failed to be written.The number of points that failed to be written.getErrorsOrBuilder(int index) The number of points that failed to be written.List<? extends CreateTimeSeriesSummary.ErrorOrBuilder>The number of points that failed to be written.intThe number of points that were successfully written.intThe number of points in the request.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(CreateTimeSeriesSummary other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeErrors(int index) The number of points that failed to be written.setErrors(int index, CreateTimeSeriesSummary.Error value) The number of points that failed to be written.setErrors(int index, CreateTimeSeriesSummary.Error.Builder builderForValue) The number of points that failed to be written.setSuccessPointCount(int value) The number of points that were successfully written.setTotalPointCount(int value) The number of points in the request.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CreateTimeSeriesSummary.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CreateTimeSeriesSummary.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CreateTimeSeriesSummary.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CreateTimeSeriesSummary.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CreateTimeSeriesSummary.Builder>
-
mergeFrom
public CreateTimeSeriesSummary.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CreateTimeSeriesSummary.Builder>- Throws:
IOException
-
getTotalPointCount
public int getTotalPointCount()The number of points in the request.
int32 total_point_count = 1;- Specified by:
getTotalPointCountin interfaceCreateTimeSeriesSummaryOrBuilder- Returns:
- The totalPointCount.
-
setTotalPointCount
The number of points in the request.
int32 total_point_count = 1;- Parameters:
value- The totalPointCount to set.- Returns:
- This builder for chaining.
-
clearTotalPointCount
The number of points in the request.
int32 total_point_count = 1;- Returns:
- This builder for chaining.
-
getSuccessPointCount
public int getSuccessPointCount()The number of points that were successfully written.
int32 success_point_count = 2;- Specified by:
getSuccessPointCountin interfaceCreateTimeSeriesSummaryOrBuilder- Returns:
- The successPointCount.
-
setSuccessPointCount
The number of points that were successfully written.
int32 success_point_count = 2;- Parameters:
value- The successPointCount to set.- Returns:
- This builder for chaining.
-
clearSuccessPointCount
The number of points that were successfully written.
int32 success_point_count = 2;- Returns:
- This builder for chaining.
-
getErrorsList
The number of points that failed to be written. Order is not guaranteed.
repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3;- Specified by:
getErrorsListin interfaceCreateTimeSeriesSummaryOrBuilder
-
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;- Specified by:
getErrorsCountin interfaceCreateTimeSeriesSummaryOrBuilder
-
getErrors
The number of points that failed to be written. Order is not guaranteed.
repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3;- Specified by:
getErrorsin interfaceCreateTimeSeriesSummaryOrBuilder
-
setErrors
The number of points that failed to be written. Order is not guaranteed.
repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3; -
setErrors
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; -
addErrors
The number of points that failed to be written. Order is not guaranteed.
repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3; -
addErrors
The number of points that failed to be written. Order is not guaranteed.
repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3; -
addErrors
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
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; -
addAllErrors
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; -
clearErrors
The number of points that failed to be written. Order is not guaranteed.
repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3; -
removeErrors
The number of points that failed to be written. Order is not guaranteed.
repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3; -
getErrorsBuilder
The number of points that failed to be written. Order is not guaranteed.
repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3; -
getErrorsOrBuilder
The number of points that failed to be written. Order is not guaranteed.
repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3;- Specified by:
getErrorsOrBuilderin interfaceCreateTimeSeriesSummaryOrBuilder
-
getErrorsOrBuilderList
The number of points that failed to be written. Order is not guaranteed.
repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3;- Specified by:
getErrorsOrBuilderListin interfaceCreateTimeSeriesSummaryOrBuilder
-
addErrorsBuilder
The number of points that failed to be written. Order is not guaranteed.
repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3; -
addErrorsBuilder
The number of points that failed to be written. Order is not guaranteed.
repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3; -
getErrorsBuilderList
The number of points that failed to be written. Order is not guaranteed.
repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3;
-