Class FetchErrorsResponse.Builder (1.43.0)

public static final class FetchErrorsResponse.Builder extends GeneratedMessageV3.Builder<FetchErrorsResponse.Builder> implements FetchErrorsResponseOrBuilder

Response message for a 'FetchErrors' response.

Protobuf type google.cloud.datastream.v1alpha1.FetchErrorsResponse

Static Methods

getDescriptor()

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

Methods

addAllErrors(Iterable<? extends Error> values)

public FetchErrorsResponse.Builder addAllErrors(Iterable<? extends Error> values)

The list of errors on the Stream.

repeated .google.cloud.datastream.v1alpha1.Error errors = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.datastream.v1alpha1.Error>
Returns
Type Description
FetchErrorsResponse.Builder

addErrors(Error value)

public FetchErrorsResponse.Builder addErrors(Error value)

The list of errors on the Stream.

repeated .google.cloud.datastream.v1alpha1.Error errors = 1;

Parameter
Name Description
value Error
Returns
Type Description
FetchErrorsResponse.Builder

addErrors(Error.Builder builderForValue)

public FetchErrorsResponse.Builder addErrors(Error.Builder builderForValue)

The list of errors on the Stream.

repeated .google.cloud.datastream.v1alpha1.Error errors = 1;

Parameter
Name Description
builderForValue Error.Builder
Returns
Type Description
FetchErrorsResponse.Builder

addErrors(int index, Error value)

public FetchErrorsResponse.Builder addErrors(int index, Error value)

The list of errors on the Stream.

repeated .google.cloud.datastream.v1alpha1.Error errors = 1;

Parameters
Name Description
index int
value Error
Returns
Type Description
FetchErrorsResponse.Builder

addErrors(int index, Error.Builder builderForValue)

public FetchErrorsResponse.Builder addErrors(int index, Error.Builder builderForValue)

The list of errors on the Stream.

repeated .google.cloud.datastream.v1alpha1.Error errors = 1;

Parameters
Name Description
index int
builderForValue Error.Builder
Returns
Type Description
FetchErrorsResponse.Builder

addErrorsBuilder()

public Error.Builder addErrorsBuilder()

The list of errors on the Stream.

repeated .google.cloud.datastream.v1alpha1.Error errors = 1;

Returns
Type Description
Error.Builder

addErrorsBuilder(int index)

public Error.Builder addErrorsBuilder(int index)

The list of errors on the Stream.

repeated .google.cloud.datastream.v1alpha1.Error errors = 1;

Parameter
Name Description
index int
Returns
Type Description
Error.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FetchErrorsResponse build()
Returns
Type Description
FetchErrorsResponse

buildPartial()

public FetchErrorsResponse buildPartial()
Returns
Type Description
FetchErrorsResponse

clear()

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

clearErrors()

public FetchErrorsResponse.Builder clearErrors()

The list of errors on the Stream.

repeated .google.cloud.datastream.v1alpha1.Error errors = 1;

Returns
Type Description
FetchErrorsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public FetchErrorsResponse getDefaultInstanceForType()
Returns
Type Description
FetchErrorsResponse

getDescriptorForType()

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

getErrors(int index)

public Error getErrors(int index)

The list of errors on the Stream.

repeated .google.cloud.datastream.v1alpha1.Error errors = 1;

Parameter
Name Description
index int
Returns
Type Description
Error

getErrorsBuilder(int index)

public Error.Builder getErrorsBuilder(int index)

The list of errors on the Stream.

repeated .google.cloud.datastream.v1alpha1.Error errors = 1;

Parameter
Name Description
index int
Returns
Type Description
Error.Builder

getErrorsBuilderList()

public List<Error.Builder> getErrorsBuilderList()

The list of errors on the Stream.

repeated .google.cloud.datastream.v1alpha1.Error errors = 1;

Returns
Type Description
List<Builder>

getErrorsCount()

public int getErrorsCount()

The list of errors on the Stream.

repeated .google.cloud.datastream.v1alpha1.Error errors = 1;

Returns
Type Description
int

getErrorsList()

public List<Error> getErrorsList()

The list of errors on the Stream.

repeated .google.cloud.datastream.v1alpha1.Error errors = 1;

Returns
Type Description
List<Error>

getErrorsOrBuilder(int index)

public ErrorOrBuilder getErrorsOrBuilder(int index)

The list of errors on the Stream.

repeated .google.cloud.datastream.v1alpha1.Error errors = 1;

Parameter
Name Description
index int
Returns
Type Description
ErrorOrBuilder

getErrorsOrBuilderList()

public List<? extends ErrorOrBuilder> getErrorsOrBuilderList()

The list of errors on the Stream.

repeated .google.cloud.datastream.v1alpha1.Error errors = 1;

Returns
Type Description
List<? extends com.google.cloud.datastream.v1alpha1.ErrorOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchErrorsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeErrors(int index)

public FetchErrorsResponse.Builder removeErrors(int index)

The list of errors on the Stream.

repeated .google.cloud.datastream.v1alpha1.Error errors = 1;

Parameter
Name Description
index int
Returns
Type Description
FetchErrorsResponse.Builder

setErrors(int index, Error value)

public FetchErrorsResponse.Builder setErrors(int index, Error value)

The list of errors on the Stream.

repeated .google.cloud.datastream.v1alpha1.Error errors = 1;

Parameters
Name Description
index int
value Error
Returns
Type Description
FetchErrorsResponse.Builder

setErrors(int index, Error.Builder builderForValue)

public FetchErrorsResponse.Builder setErrors(int index, Error.Builder builderForValue)

The list of errors on the Stream.

repeated .google.cloud.datastream.v1alpha1.Error errors = 1;

Parameters
Name Description
index int
builderForValue Error.Builder
Returns
Type Description
FetchErrorsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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