Class CreateTimeSeriesSummary (3.3.0)

public final class CreateTimeSeriesSummary extends GeneratedMessageV3 implements CreateTimeSeriesSummaryOrBuilder

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

Protobuf type google.monitoring.v3.CreateTimeSeriesSummary

Static Fields

ERRORS_FIELD_NUMBER

public static final int ERRORS_FIELD_NUMBER
Field Value
TypeDescription
int

SUCCESS_POINT_COUNT_FIELD_NUMBER

public static final int SUCCESS_POINT_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

TOTAL_POINT_COUNT_FIELD_NUMBER

public static final int TOTAL_POINT_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateTimeSeriesSummary getDefaultInstance()
Returns

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CreateTimeSeriesSummary.Builder newBuilder()
Returns

newBuilder(CreateTimeSeriesSummary prototype)

public static CreateTimeSeriesSummary.Builder newBuilder(CreateTimeSeriesSummary prototype)
Parameter
NameDescription
prototypeCreateTimeSeriesSummary
Returns

parseDelimitedFrom(InputStream input)

public static CreateTimeSeriesSummary parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateTimeSeriesSummary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateTimeSeriesSummary parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns Exceptions

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateTimeSeriesSummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns Exceptions

parseFrom(ByteString data)

public static CreateTimeSeriesSummary parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns Exceptions

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateTimeSeriesSummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns Exceptions

parseFrom(CodedInputStream input)

public static CreateTimeSeriesSummary parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateTimeSeriesSummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateTimeSeriesSummary parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateTimeSeriesSummary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateTimeSeriesSummary parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns Exceptions

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateTimeSeriesSummary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns Exceptions

parser()

public static Parser<CreateTimeSeriesSummary> parser()
Returns

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CreateTimeSeriesSummary getDefaultInstanceForType()
Returns

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

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

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>

getParserForType()

public Parser<CreateTimeSeriesSummary> getParserForType()
Returns Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateTimeSeriesSummary.Builder newBuilderForType()
Returns

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateTimeSeriesSummary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreateTimeSeriesSummary.Builder toBuilder()
Returns

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException