Class CreateTimeSeriesSummary (3.46.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
Type Description
int

SUCCESS_POINT_COUNT_FIELD_NUMBER

public static final int SUCCESS_POINT_COUNT_FIELD_NUMBER
Field Value
Type Description
int

TOTAL_POINT_COUNT_FIELD_NUMBER

public static final int TOTAL_POINT_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreateTimeSeriesSummary getDefaultInstance()
Returns
Type Description
CreateTimeSeriesSummary

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CreateTimeSeriesSummary.Builder newBuilder()
Returns
Type Description
CreateTimeSeriesSummary.Builder

newBuilder(CreateTimeSeriesSummary prototype)

public static CreateTimeSeriesSummary.Builder newBuilder(CreateTimeSeriesSummary prototype)
Parameter
Name Description
prototype CreateTimeSeriesSummary
Returns
Type Description
CreateTimeSeriesSummary.Builder

parseDelimitedFrom(InputStream input)

public static CreateTimeSeriesSummary parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateTimeSeriesSummary
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateTimeSeriesSummary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateTimeSeriesSummary
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CreateTimeSeriesSummary parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CreateTimeSeriesSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateTimeSeriesSummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateTimeSeriesSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateTimeSeriesSummary parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CreateTimeSeriesSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateTimeSeriesSummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateTimeSeriesSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateTimeSeriesSummary parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CreateTimeSeriesSummary
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateTimeSeriesSummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateTimeSeriesSummary
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CreateTimeSeriesSummary parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateTimeSeriesSummary
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateTimeSeriesSummary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateTimeSeriesSummary
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CreateTimeSeriesSummary parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CreateTimeSeriesSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateTimeSeriesSummary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateTimeSeriesSummary
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CreateTimeSeriesSummary> parser()
Returns
Type Description
Parser<CreateTimeSeriesSummary>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CreateTimeSeriesSummary getDefaultInstanceForType()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
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;

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder>

getParserForType()

public Parser<CreateTimeSeriesSummary> getParserForType()
Returns
Type Description
Parser<CreateTimeSeriesSummary>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CreateTimeSeriesSummary.Builder newBuilderForType()
Returns
Type Description
CreateTimeSeriesSummary.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateTimeSeriesSummary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CreateTimeSeriesSummary.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CreateTimeSeriesSummary.Builder toBuilder()
Returns
Type Description
CreateTimeSeriesSummary.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException