Enum google_api_proto::google::cloud::datapipelines::logging::v1::request_log_entry::ErrorCause
source · #[repr(i32)]pub enum ErrorCause {
Show 23 variants
Unspecified = 0,
InvalidRequest = 1,
ProjectNumberNotFound = 2,
PipelineIdAlreadyExists = 3,
PipelineQuotaAllocationFailed = 4,
PipelineNotFound = 5,
InvalidPipelineWorkload = 6,
DataflowWorkerServiceAccountPermissionDenied = 7,
CloudSchedulerServiceAccountPermissionDenied = 8,
InternalDataPipelinesServiceAccountIssue = 9,
CloudSchedulerInvalidArgument = 10,
CloudSchedulerResourceExhausted = 11,
CloudSchedulerJobNotFound = 12,
OtherCloudSchedulerIssue = 13,
DataflowJobAlreadyExists = 14,
DataflowInvalidArgument = 15,
DataflowResourceExhausted = 16,
DataflowJobNotFound = 17,
OtherDataflowIssue = 18,
DatabaseError = 19,
WrongPipelineType = 20,
InternalError = 21,
PipelineOrProjectNotFound = 22,
}
Expand description
Cause code for a Data Pipelines API request error.
Variants§
Unspecified = 0
Default value. This value is not used.
InvalidRequest = 1
The request is invalid.
ProjectNumberNotFound = 2
Failed to fetch project number for the provided project id.
PipelineIdAlreadyExists = 3
The given pipeline already exists.
PipelineQuotaAllocationFailed = 4
Failed to allocate a token for the per project pipeline count quota.
PipelineNotFound = 5
The given pipeline is not found.
InvalidPipelineWorkload = 6
The pipeline’s workload is invalid.
DataflowWorkerServiceAccountPermissionDenied = 7
The user cannot act as the Dataflow worker service account.
CloudSchedulerServiceAccountPermissionDenied = 8
The user cannot act as the Cloud Scheduler service account.
InternalDataPipelinesServiceAccountIssue = 9
Issues related to the per service per project service account.
CloudSchedulerInvalidArgument = 10
Invalid argument in Cloud Scheduler service call.
CloudSchedulerResourceExhausted = 11
Exceeds Cloud Scheduler service quota limit.
CloudSchedulerJobNotFound = 12
Cloud Scheduler job not found.
OtherCloudSchedulerIssue = 13
Other Cloud Scheduler related issues.
DataflowJobAlreadyExists = 14
Dataflow job with the same name already exists.
DataflowInvalidArgument = 15
Invalid argument in Dataflow service call.
DataflowResourceExhausted = 16
Exceeds Dataflow service quota limit.
DataflowJobNotFound = 17
Dataflow job not found.
OtherDataflowIssue = 18
Other Dataflow related issues.
DatabaseError = 19
Database related issues.
WrongPipelineType = 20
Request with the wrong pipeline type. For example, RunPipeline cannot be used with a streaming pipeline.
InternalError = 21
Issues related to other Google internal services/systems.
PipelineOrProjectNotFound = 22
Cannot find the given pipeline or project.
Implementations§
source§impl ErrorCause
impl ErrorCause
source§impl ErrorCause
impl ErrorCause
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for ErrorCause
impl Clone for ErrorCause
source§fn clone(&self) -> ErrorCause
fn clone(&self) -> ErrorCause
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ErrorCause
impl Debug for ErrorCause
source§impl Default for ErrorCause
impl Default for ErrorCause
source§fn default() -> ErrorCause
fn default() -> ErrorCause
source§impl From<ErrorCause> for i32
impl From<ErrorCause> for i32
source§fn from(value: ErrorCause) -> i32
fn from(value: ErrorCause) -> i32
source§impl Hash for ErrorCause
impl Hash for ErrorCause
source§impl Ord for ErrorCause
impl Ord for ErrorCause
source§fn cmp(&self, other: &ErrorCause) -> Ordering
fn cmp(&self, other: &ErrorCause) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for ErrorCause
impl PartialEq for ErrorCause
source§fn eq(&self, other: &ErrorCause) -> bool
fn eq(&self, other: &ErrorCause) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ErrorCause
impl PartialOrd for ErrorCause
source§fn partial_cmp(&self, other: &ErrorCause) -> Option<Ordering>
fn partial_cmp(&self, other: &ErrorCause) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for ErrorCause
impl TryFrom<i32> for ErrorCause
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<ErrorCause, UnknownEnumValue>
fn try_from(value: i32) -> Result<ErrorCause, UnknownEnumValue>
impl Copy for ErrorCause
impl Eq for ErrorCause
impl StructuralPartialEq for ErrorCause
Auto Trait Implementations§
impl Freeze for ErrorCause
impl RefUnwindSafe for ErrorCause
impl Send for ErrorCause
impl Sync for ErrorCause
impl Unpin for ErrorCause
impl UnwindSafe for ErrorCause
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request