Class CreateTimeSeriesSummary.Error.Builder (3.8.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateTimeSeriesSummary.Error build()
Returns
TypeDescription
CreateTimeSeriesSummary.Error

buildPartial()

public CreateTimeSeriesSummary.Error buildPartial()
Returns
TypeDescription
CreateTimeSeriesSummary.Error

clear()

public CreateTimeSeriesSummary.Error.Builder clear()
Returns
TypeDescription
CreateTimeSeriesSummary.Error.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateTimeSeriesSummary.Error.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateTimeSeriesSummary.Error.Builder

clone()

public CreateTimeSeriesSummary.Error.Builder clone()
Returns
TypeDescription
CreateTimeSeriesSummary.Error.Builder
Overrides

getDefaultInstanceForType()

public CreateTimeSeriesSummary.Error getDefaultInstanceForType()
Returns
TypeDescription
CreateTimeSeriesSummary.Error

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPointCount()

public int getPointCount()

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

int32 point_count = 2;

Returns
TypeDescription
int

The pointCount.

getStatus()

public Status getStatus()

The status of the requested write operation.

.google.rpc.Status status = 1;

Returns
TypeDescription
com.google.rpc.Status

The status.

getStatusBuilder()

public Status.Builder getStatusBuilder()

The status of the requested write operation.

.google.rpc.Status status = 1;

Returns
TypeDescription
com.google.rpc.Status.Builder

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

The status of the requested write operation.

.google.rpc.Status status = 1;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

hasStatus()

public boolean hasStatus()

The status of the requested write operation.

.google.rpc.Status status = 1;

Returns
TypeDescription
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateTimeSeriesSummary.Error other)

public CreateTimeSeriesSummary.Error.Builder mergeFrom(CreateTimeSeriesSummary.Error other)
Parameter
NameDescription
otherCreateTimeSeriesSummary.Error
Returns
TypeDescription
CreateTimeSeriesSummary.Error.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateTimeSeriesSummary.Error.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
CreateTimeSeriesSummary.Error.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public CreateTimeSeriesSummary.Error.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The pointCount to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
CreateTimeSeriesSummary.Error.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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