Class FeedFailureDetails (0.37.0)

public final class FeedFailureDetails extends GeneratedMessage implements FeedFailureDetailsOrBuilder

FeedFailureDetails contains details about the errors thrown by chronicle for the feeds. These are user visible details. These details help user identify the root cause and take appropriate action for the feed errors.

Protobuf type google.cloud.chronicle.v1.FeedFailureDetails

Static Fields

ERROR_ACTION_FIELD_NUMBER

public static final int ERROR_ACTION_FIELD_NUMBER
Field Value
Type Description
int

ERROR_CAUSE_FIELD_NUMBER

public static final int ERROR_CAUSE_FIELD_NUMBER
Field Value
Type Description
int

ERROR_CODE_FIELD_NUMBER

public static final int ERROR_CODE_FIELD_NUMBER
Field Value
Type Description
int

HTTP_ERROR_CODE_FIELD_NUMBER

public static final int HTTP_ERROR_CODE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FeedFailureDetails getDefaultInstance()
Returns
Type Description
FeedFailureDetails

getDescriptor()

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

newBuilder()

public static FeedFailureDetails.Builder newBuilder()
Returns
Type Description
FeedFailureDetails.Builder

newBuilder(FeedFailureDetails prototype)

public static FeedFailureDetails.Builder newBuilder(FeedFailureDetails prototype)
Parameter
Name Description
prototype FeedFailureDetails
Returns
Type Description
FeedFailureDetails.Builder

parseDelimitedFrom(InputStream input)

public static FeedFailureDetails parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FeedFailureDetails
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FeedFailureDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeedFailureDetails
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FeedFailureDetails parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FeedFailureDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FeedFailureDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeedFailureDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FeedFailureDetails parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FeedFailureDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FeedFailureDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeedFailureDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FeedFailureDetails parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FeedFailureDetails
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FeedFailureDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeedFailureDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FeedFailureDetails parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FeedFailureDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FeedFailureDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeedFailureDetails
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FeedFailureDetails parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FeedFailureDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FeedFailureDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeedFailureDetails
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FeedFailureDetails> parser()
Returns
Type Description
Parser<FeedFailureDetails>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public FeedFailureDetails getDefaultInstanceForType()
Returns
Type Description
FeedFailureDetails

getErrorAction()

public String getErrorAction()

Output only. error_action contains the user action prescribed for remediation of feed error.

string error_action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The errorAction.

getErrorActionBytes()

public ByteString getErrorActionBytes()

Output only. error_action contains the user action prescribed for remediation of feed error.

string error_action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for errorAction.

getErrorCause()

public String getErrorCause()

Output only. error_cause contains the information regarding the failure cause.

string error_cause = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The errorCause.

getErrorCauseBytes()

public ByteString getErrorCauseBytes()

Output only. error_cause contains the information regarding the failure cause.

string error_cause = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for errorCause.

getErrorCode()

public String getErrorCode()

Output only. error_code contains the error code for the feed. The field is populated for the feeds with failed status.

string error_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The errorCode.

getErrorCodeBytes()

public ByteString getErrorCodeBytes()

Output only. error_code contains the error code for the feed. The field is populated for the feeds with failed status.

string error_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for errorCode.

getHttpErrorCode()

public int getHttpErrorCode()

Output only. http_error_code contains the HTTP error code for the feed failure. feed transfer failure may or may not result in http error code.

int32 http_error_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The httpErrorCode.

getParserForType()

public Parser<FeedFailureDetails> getParserForType()
Returns
Type Description
Parser<FeedFailureDetails>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FeedFailureDetails.Builder newBuilderForType()
Returns
Type Description
FeedFailureDetails.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected FeedFailureDetails.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FeedFailureDetails.Builder
Overrides

toBuilder()

public FeedFailureDetails.Builder toBuilder()
Returns
Type Description
FeedFailureDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException