Package io.kubernetes.client.proto
Interface Meta.StatusCauseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Meta.StatusCause
,Meta.StatusCause.Builder
- Enclosing class:
- Meta
public static interface Meta.StatusCauseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetField()
The field of the resource that has caused this error, as named by its JSON serialization.com.google.protobuf.ByteString
The field of the resource that has caused this error, as named by its JSON serialization.A human-readable description of the cause of the error.com.google.protobuf.ByteString
A human-readable description of the cause of the error.A machine-readable description of the cause of the error.com.google.protobuf.ByteString
A machine-readable description of the cause of the error.boolean
hasField()
The field of the resource that has caused this error, as named by its JSON serialization.boolean
A human-readable description of the cause of the error.boolean
A machine-readable description of the cause of the error.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasReason
boolean hasReason()A machine-readable description of the cause of the error. If this value is empty there is no information available. +optional
optional string reason = 1;
-
getReason
String getReason()A machine-readable description of the cause of the error. If this value is empty there is no information available. +optional
optional string reason = 1;
-
getReasonBytes
com.google.protobuf.ByteString getReasonBytes()A machine-readable description of the cause of the error. If this value is empty there is no information available. +optional
optional string reason = 1;
-
hasMessage
boolean hasMessage()A human-readable description of the cause of the error. This field may be presented as-is to a reader. +optional
optional string message = 2;
-
getMessage
String getMessage()A human-readable description of the cause of the error. This field may be presented as-is to a reader. +optional
optional string message = 2;
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()A human-readable description of the cause of the error. This field may be presented as-is to a reader. +optional
optional string message = 2;
-
hasField
boolean hasField()The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: "name" - the field "name" on the current resource "items[0].name" - the field "name" on the first array entry in "items" +optional
optional string field = 3;
-
getField
String getField()The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: "name" - the field "name" on the current resource "items[0].name" - the field "name" on the first array entry in "items" +optional
optional string field = 3;
-
getFieldBytes
com.google.protobuf.ByteString getFieldBytes()The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: "name" - the field "name" on the current resource "items[0].name" - the field "name" on the first array entry in "items" +optional
optional string field = 3;
-