Class CreateTimeSeriesError (3.37.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
TypeDescription
int

TIME_SERIES_FIELD_NUMBER

public static final int TIME_SERIES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateTimeSeriesError getDefaultInstance()
Returns
TypeDescription
CreateTimeSeriesError

getDescriptor()

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

newBuilder()

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

newBuilder(CreateTimeSeriesError prototype)

public static CreateTimeSeriesError.Builder newBuilder(CreateTimeSeriesError prototype)
Parameter
NameDescription
prototypeCreateTimeSeriesError
Returns
TypeDescription
CreateTimeSeriesError.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CreateTimeSeriesError getDefaultInstanceForType()
Returns
TypeDescription
CreateTimeSeriesError

getParserForType()

public Parser<CreateTimeSeriesError> getParserForType()
Returns
TypeDescription
Parser<CreateTimeSeriesError>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStatus() (deprecated)

public Status getStatus()

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

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

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

Returns
TypeDescription
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
TypeDescription
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=445

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

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

Returns
TypeDescription
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
TypeDescription
TimeSeriesOrBuilder

hasStatus() (deprecated)

public boolean hasStatus()

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

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

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

Returns
TypeDescription
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=445

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

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

Returns
TypeDescription
boolean

Whether the timeSeries 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 CreateTimeSeriesError.Builder newBuilderForType()
Returns
TypeDescription
CreateTimeSeriesError.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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