Class FetchErrorsResponse (1.28.0)

public final class FetchErrorsResponse extends GeneratedMessageV3 implements FetchErrorsResponseOrBuilder

Response message for a 'FetchErrors' response.

Protobuf type google.cloud.datastream.v1alpha1.FetchErrorsResponse

Static Fields

ERRORS_FIELD_NUMBER

public static final int ERRORS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static FetchErrorsResponse getDefaultInstance()
Returns
TypeDescription
FetchErrorsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static FetchErrorsResponse.Builder newBuilder()
Returns
TypeDescription
FetchErrorsResponse.Builder

newBuilder(FetchErrorsResponse prototype)

public static FetchErrorsResponse.Builder newBuilder(FetchErrorsResponse prototype)
Parameter
NameDescription
prototypeFetchErrorsResponse
Returns
TypeDescription
FetchErrorsResponse.Builder

parseDelimitedFrom(InputStream input)

public static FetchErrorsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FetchErrorsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchErrorsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FetchErrorsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static FetchErrorsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
FetchErrorsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FetchErrorsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FetchErrorsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FetchErrorsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
FetchErrorsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FetchErrorsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FetchErrorsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FetchErrorsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
FetchErrorsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchErrorsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FetchErrorsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static FetchErrorsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FetchErrorsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchErrorsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FetchErrorsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static FetchErrorsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
FetchErrorsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FetchErrorsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FetchErrorsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<FetchErrorsResponse> parser()
Returns
TypeDescription
Parser<FetchErrorsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public FetchErrorsResponse getDefaultInstanceForType()
Returns
TypeDescription
FetchErrorsResponse

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

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>

getParserForType()

public Parser<FetchErrorsResponse> getParserForType()
Returns
TypeDescription
Parser<FetchErrorsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public FetchErrorsResponse.Builder newBuilderForType()
Returns
TypeDescription
FetchErrorsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FetchErrorsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
FetchErrorsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public FetchErrorsResponse.Builder toBuilder()
Returns
TypeDescription
FetchErrorsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException