Class CreateTimeSeriesSummary.Error.Builder (3.52.0)

public static final class CreateTimeSeriesSummary.Error.Builder extends GeneratedMessageV3.Builder<CreateTimeSeriesSummary.Error.Builder> implements CreateTimeSeriesSummary.ErrorOrBuilder

Detailed information about an error category.

Protobuf type google.monitoring.v3.CreateTimeSeriesSummary.Error

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateTimeSeriesSummary.Error build()
Returns
Type Description
CreateTimeSeriesSummary.Error

buildPartial()

public CreateTimeSeriesSummary.Error buildPartial()
Returns
Type Description
CreateTimeSeriesSummary.Error

clear()

public CreateTimeSeriesSummary.Error.Builder clear()
Returns
Type Description
CreateTimeSeriesSummary.Error.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPointCount()

public CreateTimeSeriesSummary.Error.Builder clearPointCount()

The number of points that couldn't be written because of status.

int32 point_count = 2;

Returns
Type Description
CreateTimeSeriesSummary.Error.Builder

This builder for chaining.

clearStatus()

public CreateTimeSeriesSummary.Error.Builder clearStatus()

The status of the requested write operation.

.google.rpc.Status status = 1;

Returns
Type Description
CreateTimeSeriesSummary.Error.Builder

clone()

public CreateTimeSeriesSummary.Error.Builder clone()
Returns
Type Description
CreateTimeSeriesSummary.Error.Builder
Overrides

getDefaultInstanceForType()

public CreateTimeSeriesSummary.Error getDefaultInstanceForType()
Returns
Type Description
CreateTimeSeriesSummary.Error

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPointCount()

public int getPointCount()

The number of points that couldn't be written because of status.

int32 point_count = 2;

Returns
Type Description
int

The pointCount.

getStatus()

public Status getStatus()

The status of the requested write operation.

.google.rpc.Status status = 1;

Returns
Type Description
com.google.rpc.Status

The status.

getStatusBuilder()

public Status.Builder getStatusBuilder()

The status of the requested write operation.

.google.rpc.Status status = 1;

Returns
Type Description
com.google.rpc.Status.Builder

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

The status of the requested write operation.

.google.rpc.Status status = 1;

Returns
Type Description
com.google.rpc.StatusOrBuilder

hasStatus()

public boolean hasStatus()

The status of the requested write operation.

.google.rpc.Status status = 1;

Returns
Type Description
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateTimeSeriesSummary.Error other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStatus(Status value)

public CreateTimeSeriesSummary.Error.Builder mergeStatus(Status value)

The status of the requested write operation.

.google.rpc.Status status = 1;

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPointCount(int value)

public CreateTimeSeriesSummary.Error.Builder setPointCount(int value)

The number of points that couldn't be written because of status.

int32 point_count = 2;

Parameter
Name Description
value int

The pointCount to set.

Returns
Type Description
CreateTimeSeriesSummary.Error.Builder

This builder for chaining.

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

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

setStatus(Status value)

public CreateTimeSeriesSummary.Error.Builder setStatus(Status value)

The status of the requested write operation.

.google.rpc.Status status = 1;

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

setStatus(Status.Builder builderForValue)

public CreateTimeSeriesSummary.Error.Builder setStatus(Status.Builder builderForValue)

The status of the requested write operation.

.google.rpc.Status status = 1;

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

setUnknownFields(UnknownFieldSet unknownFields)

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