Class CreateTimeSeriesError (3.56.0)

public final class CreateTimeSeriesError extends GeneratedMessageV3 implements CreateTimeSeriesErrorOrBuilder

DEPRECATED. Used to hold per-time-series error status.

Protobuf type google.monitoring.v3.CreateTimeSeriesError

Static Fields

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
Type Description
int

TIME_SERIES_FIELD_NUMBER

public static final int TIME_SERIES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreateTimeSeriesError getDefaultInstance()
Returns
Type Description
CreateTimeSeriesError

getDescriptor()

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

newBuilder()

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

newBuilder(CreateTimeSeriesError prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CreateTimeSeriesError getDefaultInstanceForType()
Returns
Type Description
CreateTimeSeriesError

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStatus() (deprecated)

public Status getStatus()

Deprecated. google.monitoring.v3.CreateTimeSeriesError.status is deprecated. See google/monitoring/v3/metric_service.proto;l=467

DEPRECATED. The status of the requested write operation for time_series.

.google.rpc.Status status = 2 [deprecated = true];

Returns
Type Description
com.google.rpc.Status

The status.

getStatusOrBuilder() (deprecated)

public StatusOrBuilder getStatusOrBuilder()

DEPRECATED. The status of the requested write operation for time_series.

.google.rpc.Status status = 2 [deprecated = true];

Returns
Type Description
com.google.rpc.StatusOrBuilder

getTimeSeries() (deprecated)

public TimeSeries getTimeSeries()

Deprecated. google.monitoring.v3.CreateTimeSeriesError.time_series is deprecated. See google/monitoring/v3/metric_service.proto;l=464

DEPRECATED. Time series ID that resulted in the status error.

.google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true];

Returns
Type Description
TimeSeries

The timeSeries.

getTimeSeriesOrBuilder() (deprecated)

public TimeSeriesOrBuilder getTimeSeriesOrBuilder()

DEPRECATED. Time series ID that resulted in the status error.

.google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true];

Returns
Type Description
TimeSeriesOrBuilder

hasStatus() (deprecated)

public boolean hasStatus()

Deprecated. google.monitoring.v3.CreateTimeSeriesError.status is deprecated. See google/monitoring/v3/metric_service.proto;l=467

DEPRECATED. The status of the requested write operation for time_series.

.google.rpc.Status status = 2 [deprecated = true];

Returns
Type Description
boolean

Whether the status field is set.

hasTimeSeries() (deprecated)

public boolean hasTimeSeries()

Deprecated. google.monitoring.v3.CreateTimeSeriesError.time_series is deprecated. See google/monitoring/v3/metric_service.proto;l=464

DEPRECATED. Time series ID that resulted in the status error.

.google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true];

Returns
Type Description
boolean

Whether the timeSeries field is set.

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 CreateTimeSeriesError.Builder newBuilderForType()
Returns
Type Description
CreateTimeSeriesError.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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