Class CreateTimeSeriesSummary (3.41.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
TypeDescription
CreateTimeSeriesSummary

getDescriptor()

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

newBuilder()

public static CreateTimeSeriesSummary.Builder newBuilder()
Returns
TypeDescription
CreateTimeSeriesSummary.Builder

newBuilder(CreateTimeSeriesSummary prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<CreateTimeSeriesSummary> parser()
Returns
TypeDescription
Parser<CreateTimeSeriesSummary>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CreateTimeSeriesSummary getDefaultInstanceForType()
Returns
TypeDescription
CreateTimeSeriesSummary

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

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>

getParserForType()

public Parser<CreateTimeSeriesSummary> getParserForType()
Returns
TypeDescription
Parser<CreateTimeSeriesSummary>
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.

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
TypeDescription
CreateTimeSeriesSummary.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public CreateTimeSeriesSummary.Builder toBuilder()
Returns
TypeDescription
CreateTimeSeriesSummary.Builder

writeTo(CodedOutputStream output)

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