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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateTimeSeriesError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateTimeSeriesError build()
Returns
buildPartial()
public CreateTimeSeriesError buildPartial()
Returns
clear()
public CreateTimeSeriesError.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateTimeSeriesError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateTimeSeriesError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
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
clone()
public CreateTimeSeriesError.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateTimeSeriesError getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Type | Description |
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
Type | Description |
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
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=445
DEPRECATED. Time series ID that resulted in the status
error.
.google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true];
Returns
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
getTimeSeriesOrBuilder()
public TimeSeriesOrBuilder getTimeSeriesOrBuilder()
DEPRECATED. Time series ID that resulted in the status
error.
.google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true];
Returns
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
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=445
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateTimeSeriesError other)
public CreateTimeSeriesError.Builder mergeFrom(CreateTimeSeriesError other)
Parameter
Returns
public CreateTimeSeriesError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateTimeSeriesError.Builder mergeFrom(Message other)
Parameter
Returns
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
Name | Description |
value | com.google.rpc.Status
|
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateTimeSeriesError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateTimeSeriesError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateTimeSeriesError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Name | Description |
value | com.google.rpc.Status
|
Returns
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
Name | Description |
builderForValue | com.google.rpc.Status.Builder
|
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateTimeSeriesError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides