Class CreateTimeSeriesError.Builder (3.55.0)

public static final class CreateTimeSeriesError.Builder extends GeneratedMessageV3.Builder<CreateTimeSeriesError.Builder> implements CreateTimeSeriesErrorOrBuilder

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

Protobuf type google.monitoring.v3.CreateTimeSeriesError

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateTimeSeriesError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateTimeSeriesError.Builder
Overrides

build()

public CreateTimeSeriesError build()
Returns
Type Description
CreateTimeSeriesError

buildPartial()

public CreateTimeSeriesError buildPartial()
Returns
Type Description
CreateTimeSeriesError

clear()

public CreateTimeSeriesError.Builder clear()
Returns
Type Description
CreateTimeSeriesError.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateTimeSeriesError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateTimeSeriesError.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateTimeSeriesError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateTimeSeriesError.Builder
Overrides

clearStatus() (deprecated)

public CreateTimeSeriesError.Builder clearStatus()

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

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

Returns
Type Description
CreateTimeSeriesError.Builder

clearTimeSeries() (deprecated)

public CreateTimeSeriesError.Builder clearTimeSeries()

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

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

Returns
Type Description
CreateTimeSeriesError.Builder

clone()

public CreateTimeSeriesError.Builder clone()
Returns
Type Description
CreateTimeSeriesError.Builder
Overrides

getDefaultInstanceForType()

public CreateTimeSeriesError getDefaultInstanceForType()
Returns
Type Description
CreateTimeSeriesError

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

getStatusBuilder() (deprecated)

public Status.Builder getStatusBuilder()

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

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.

getTimeSeriesBuilder() (deprecated)

public TimeSeries.Builder getTimeSeriesBuilder()

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

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

Returns
Type Description
TimeSeries.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateTimeSeriesError other)

public CreateTimeSeriesError.Builder mergeFrom(CreateTimeSeriesError other)
Parameter
Name Description
other CreateTimeSeriesError
Returns
Type Description
CreateTimeSeriesError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateTimeSeriesError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateTimeSeriesError.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateTimeSeriesError.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateTimeSeriesError.Builder
Overrides

mergeStatus(Status value) (deprecated)

public CreateTimeSeriesError.Builder mergeStatus(Status value)

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

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

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
CreateTimeSeriesError.Builder

mergeTimeSeries(TimeSeries value) (deprecated)

public CreateTimeSeriesError.Builder mergeTimeSeries(TimeSeries value)

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

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

Parameter
Name Description
value TimeSeries
Returns
Type Description
CreateTimeSeriesError.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateTimeSeriesError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateTimeSeriesError.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateTimeSeriesError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateTimeSeriesError.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateTimeSeriesError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateTimeSeriesError.Builder
Overrides

setStatus(Status value) (deprecated)

public CreateTimeSeriesError.Builder setStatus(Status value)

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

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

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
CreateTimeSeriesError.Builder

setStatus(Status.Builder builderForValue) (deprecated)

public CreateTimeSeriesError.Builder setStatus(Status.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
CreateTimeSeriesError.Builder

setTimeSeries(TimeSeries value) (deprecated)

public CreateTimeSeriesError.Builder setTimeSeries(TimeSeries value)

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

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

Parameter
Name Description
value TimeSeries
Returns
Type Description
CreateTimeSeriesError.Builder

setTimeSeries(TimeSeries.Builder builderForValue) (deprecated)

public CreateTimeSeriesError.Builder setTimeSeries(TimeSeries.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue TimeSeries.Builder
Returns
Type Description
CreateTimeSeriesError.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateTimeSeriesError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateTimeSeriesError.Builder
Overrides