Class FetchErrorsResponse.Builder (1.1.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.datastream.v1alpha1.Error>
Returns
TypeDescription
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
NameDescription
valueError
Returns
TypeDescription
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
NameDescription
builderForValueError.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueError
Returns
TypeDescription
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
NameDescription
indexint
builderForValueError.Builder
Returns
TypeDescription
FetchErrorsResponse.Builder

addErrorsBuilder()

public Error.Builder addErrorsBuilder()

The list of errors on the Stream.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Error.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FetchErrorsResponse build()
Returns
TypeDescription
FetchErrorsResponse

buildPartial()

public FetchErrorsResponse buildPartial()
Returns
TypeDescription
FetchErrorsResponse

clear()

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

clearErrors()

public FetchErrorsResponse.Builder clearErrors()

The list of errors on the Stream.

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

Returns
TypeDescription
FetchErrorsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public FetchErrorsResponse getDefaultInstanceForType()
Returns
TypeDescription
FetchErrorsResponse

getDescriptorForType()

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

getErrorsBuilderList()

public List<Error.Builder> getErrorsBuilderList()

The list of errors on the Stream.

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

Returns
TypeDescription
List<Builder>

getErrorsCount()

public int getErrorsCount()

The list of errors on the Stream.

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

Returns
TypeDescription
int

getErrorsList()

public List<Error> getErrorsList()

The list of errors on the Stream.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ErrorOrBuilder

getErrorsOrBuilderList()

public List<? extends ErrorOrBuilder> getErrorsOrBuilderList()

The list of errors on the Stream.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FetchErrorsResponse other)

public FetchErrorsResponse.Builder mergeFrom(FetchErrorsResponse other)
Parameter
NameDescription
otherFetchErrorsResponse
Returns
TypeDescription
FetchErrorsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FetchErrorsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueError
Returns
TypeDescription
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
NameDescription
indexint
builderForValueError.Builder
Returns
TypeDescription
FetchErrorsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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