public static final class FeedFailureDetails.Builder extends GeneratedMessage.Builder<FeedFailureDetails.Builder> implements FeedFailureDetailsOrBuilderFeedFailureDetails 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FeedFailureDetails.BuilderImplements
FeedFailureDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FeedFailureDetails build()| Returns | |
|---|---|
| Type | Description |
FeedFailureDetails |
|
buildPartial()
public FeedFailureDetails buildPartial()| Returns | |
|---|---|
| Type | Description |
FeedFailureDetails |
|
clear()
public FeedFailureDetails.Builder clear()| Returns | |
|---|---|
| Type | Description |
FeedFailureDetails.Builder |
|
clearErrorAction()
public FeedFailureDetails.Builder clearErrorAction()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 |
FeedFailureDetails.Builder |
This builder for chaining. |
clearErrorCause()
public FeedFailureDetails.Builder clearErrorCause()Output only. error_cause contains the information regarding the failure cause.
string error_cause = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FeedFailureDetails.Builder |
This builder for chaining. |
clearErrorCode()
public FeedFailureDetails.Builder clearErrorCode()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 |
FeedFailureDetails.Builder |
This builder for chaining. |
clearHttpErrorCode()
public FeedFailureDetails.Builder clearHttpErrorCode()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 |
FeedFailureDetails.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FeedFailureDetails getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FeedFailureDetails |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FeedFailureDetails other)
public FeedFailureDetails.Builder mergeFrom(FeedFailureDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
FeedFailureDetails |
| Returns | |
|---|---|
| Type | Description |
FeedFailureDetails.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FeedFailureDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FeedFailureDetails.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FeedFailureDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FeedFailureDetails.Builder |
|
setErrorAction(String value)
public FeedFailureDetails.Builder setErrorAction(String value)Output only. error_action contains the user action prescribed for remediation of feed error.
string error_action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe errorAction to set. |
| Returns | |
|---|---|
| Type | Description |
FeedFailureDetails.Builder |
This builder for chaining. |
setErrorActionBytes(ByteString value)
public FeedFailureDetails.Builder setErrorActionBytes(ByteString value)Output only. error_action contains the user action prescribed for remediation of feed error.
string error_action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for errorAction to set. |
| Returns | |
|---|---|
| Type | Description |
FeedFailureDetails.Builder |
This builder for chaining. |
setErrorCause(String value)
public FeedFailureDetails.Builder setErrorCause(String value)Output only. error_cause contains the information regarding the failure cause.
string error_cause = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe errorCause to set. |
| Returns | |
|---|---|
| Type | Description |
FeedFailureDetails.Builder |
This builder for chaining. |
setErrorCauseBytes(ByteString value)
public FeedFailureDetails.Builder setErrorCauseBytes(ByteString value)Output only. error_cause contains the information regarding the failure cause.
string error_cause = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for errorCause to set. |
| Returns | |
|---|---|
| Type | Description |
FeedFailureDetails.Builder |
This builder for chaining. |
setErrorCode(String value)
public FeedFailureDetails.Builder setErrorCode(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe errorCode to set. |
| Returns | |
|---|---|
| Type | Description |
FeedFailureDetails.Builder |
This builder for chaining. |
setErrorCodeBytes(ByteString value)
public FeedFailureDetails.Builder setErrorCodeBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for errorCode to set. |
| Returns | |
|---|---|
| Type | Description |
FeedFailureDetails.Builder |
This builder for chaining. |
setHttpErrorCode(int value)
public FeedFailureDetails.Builder setHttpErrorCode(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe httpErrorCode to set. |
| Returns | |
|---|---|
| Type | Description |
FeedFailureDetails.Builder |
This builder for chaining. |