Package io.kubernetes.client.proto
Class Meta.StatusCause.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
io.kubernetes.client.proto.Meta.StatusCause.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Meta.StatusCauseOrBuilder
,Cloneable
- Enclosing class:
- Meta.StatusCause
public static final class Meta.StatusCause.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
implements Meta.StatusCauseOrBuilder
StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.Protobuf type
k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
The field of the resource that has caused this error, as named by its JSON serialization.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) A human-readable description of the cause of the error.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) A machine-readable description of the cause of the error.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getField()
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Meta.StatusCause other) final Meta.StatusCause.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) The field of the resource that has caused this error, as named by its JSON serialization.setFieldBytes
(com.google.protobuf.ByteString value) The field of the resource that has caused this error, as named by its JSON serialization.setMessage
(String value) A human-readable description of the cause of the error.setMessageBytes
(com.google.protobuf.ByteString value) A human-readable description of the cause of the error.A machine-readable description of the cause of the error.setReasonBytes
(com.google.protobuf.ByteString value) A machine-readable description of the cause of the error.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final Meta.StatusCause.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
-
setField
public Meta.StatusCause.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
-
setRepeatedField
public Meta.StatusCause.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
-
addRepeatedField
public Meta.StatusCause.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Meta.StatusCause.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
-
mergeFrom
public Meta.StatusCause.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Meta.StatusCause.Builder>
- Throws:
IOException
-
hasReason
public 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;
- Specified by:
hasReason
in interfaceMeta.StatusCauseOrBuilder
-
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;
- Specified by:
getReason
in interfaceMeta.StatusCauseOrBuilder
-
getReasonBytes
public 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;
- Specified by:
getReasonBytes
in interfaceMeta.StatusCauseOrBuilder
-
setReason
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;
-
clearReason
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;
-
setReasonBytes
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
public 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;
- Specified by:
hasMessage
in interfaceMeta.StatusCauseOrBuilder
-
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;
- Specified by:
getMessage
in interfaceMeta.StatusCauseOrBuilder
-
getMessageBytes
public 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;
- Specified by:
getMessageBytes
in interfaceMeta.StatusCauseOrBuilder
-
setMessage
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;
-
clearMessage
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;
-
setMessageBytes
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
public 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;
- Specified by:
hasField
in interfaceMeta.StatusCauseOrBuilder
-
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;
- Specified by:
getField
in interfaceMeta.StatusCauseOrBuilder
-
getFieldBytes
public 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;
- Specified by:
getFieldBytes
in interfaceMeta.StatusCauseOrBuilder
-
setField
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;
-
clearField
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;
-
setFieldBytes
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;
-
setUnknownFields
public final Meta.StatusCause.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
-
mergeUnknownFields
public final Meta.StatusCause.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
-