Class CreateTimeSeriesSummary.Error (3.38.0)

public static final class CreateTimeSeriesSummary.Error extends GeneratedMessageV3 implements CreateTimeSeriesSummary.ErrorOrBuilder

Detailed information about an error category.

Protobuf type google.monitoring.v3.CreateTimeSeriesSummary.Error

Static Fields

POINT_COUNT_FIELD_NUMBER

public static final int POINT_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateTimeSeriesSummary.Error getDefaultInstance()
Returns
TypeDescription
CreateTimeSeriesSummary.Error

getDescriptor()

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

newBuilder()

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

newBuilder(CreateTimeSeriesSummary.Error prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CreateTimeSeriesSummary.Error getDefaultInstanceForType()
Returns
TypeDescription
CreateTimeSeriesSummary.Error

getParserForType()

public Parser<CreateTimeSeriesSummary.Error> getParserForType()
Returns
TypeDescription
Parser<Error>
Overrides

getPointCount()

public int getPointCount()

The number of points that couldn't be written because of status.

int32 point_count = 2;

Returns
TypeDescription
int

The pointCount.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStatus()

public Status getStatus()

The status of the requested write operation.

.google.rpc.Status status = 1;

Returns
TypeDescription
com.google.rpc.Status

The status.

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

The status of the requested write operation.

.google.rpc.Status status = 1;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

hasStatus()

public boolean hasStatus()

The status of the requested write operation.

.google.rpc.Status status = 1;

Returns
TypeDescription
boolean

Whether the status field is set.

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.Error.Builder newBuilderForType()
Returns
TypeDescription
CreateTimeSeriesSummary.Error.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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