Class CreateTimeSeriesError.Builder (3.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateTimeSeriesError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateTimeSeriesError.Builder
Overrides

build()

public CreateTimeSeriesError build()
Returns
TypeDescription
CreateTimeSeriesError

buildPartial()

public CreateTimeSeriesError buildPartial()
Returns
TypeDescription
CreateTimeSeriesError

clear()

public CreateTimeSeriesError.Builder clear()
Returns
TypeDescription
CreateTimeSeriesError.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateTimeSeriesError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateTimeSeriesError.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateTimeSeriesError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateTimeSeriesError.Builder
Overrides

clearStatus()

public CreateTimeSeriesError.Builder clearStatus()

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

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

Returns
TypeDescription
CreateTimeSeriesError.Builder

clearTimeSeries()

public CreateTimeSeriesError.Builder clearTimeSeries()

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

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

Returns
TypeDescription
CreateTimeSeriesError.Builder

clone()

public CreateTimeSeriesError.Builder clone()
Returns
TypeDescription
CreateTimeSeriesError.Builder
Overrides

getDefaultInstanceForType()

public CreateTimeSeriesError getDefaultInstanceForType()
Returns
TypeDescription
CreateTimeSeriesError

getDescriptorForType()

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

getStatusBuilder()

public Status.Builder getStatusBuilder()

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

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

Returns
TypeDescription
com.google.rpc.Status.Builder

getStatusOrBuilder()

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.

getTimeSeriesBuilder()

public TimeSeries.Builder getTimeSeriesBuilder()

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

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

Returns
TypeDescription
TimeSeries.Builder

getTimeSeriesOrBuilder()

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateTimeSeriesError other)

public CreateTimeSeriesError.Builder mergeFrom(CreateTimeSeriesError other)
Parameter
NameDescription
otherCreateTimeSeriesError
Returns
TypeDescription
CreateTimeSeriesError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateTimeSeriesError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateTimeSeriesError.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateTimeSeriesError.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateTimeSeriesError.Builder
Overrides

mergeStatus(Status value)

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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
CreateTimeSeriesError.Builder

mergeTimeSeries(TimeSeries value)

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
NameDescription
valueTimeSeries
Returns
TypeDescription
CreateTimeSeriesError.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateTimeSeriesError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateTimeSeriesError.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateTimeSeriesError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateTimeSeriesError.Builder
Overrides

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

public CreateTimeSeriesError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateTimeSeriesError.Builder
Overrides

setStatus(Status value)

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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
CreateTimeSeriesError.Builder

setStatus(Status.Builder builderForValue)

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
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
CreateTimeSeriesError.Builder

setTimeSeries(TimeSeries value)

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
NameDescription
valueTimeSeries
Returns
TypeDescription
CreateTimeSeriesError.Builder

setTimeSeries(TimeSeries.Builder builderForValue)

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
NameDescription
builderForValueTimeSeries.Builder
Returns
TypeDescription
CreateTimeSeriesError.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateTimeSeriesError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateTimeSeriesError.Builder
Overrides