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| Modifier and Type | Method and Description |
|---|---|
Meta.StatusCause.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Meta.StatusCause |
build() |
Meta.StatusCause |
buildPartial() |
Meta.StatusCause.Builder |
clear() |
Meta.StatusCause.Builder |
clearField()
The field of the resource that has caused this error, as named by its JSON
serialization.
|
Meta.StatusCause.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Meta.StatusCause.Builder |
clearMessage()
A human-readable description of the cause of the error.
|
Meta.StatusCause.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Meta.StatusCause.Builder |
clearReason()
A machine-readable description of the cause of the error.
|
Meta.StatusCause.Builder |
clone() |
Meta.StatusCause |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getField()
The field of the resource that has caused this error, as named by its JSON
serialization.
|
com.google.protobuf.ByteString |
getFieldBytes()
The field of the resource that has caused this error, as named by its JSON
serialization.
|
String |
getMessage()
A human-readable description of the cause of the error.
|
com.google.protobuf.ByteString |
getMessageBytes()
A human-readable description of the cause of the error.
|
String |
getReason()
A machine-readable description of the cause of the error.
|
com.google.protobuf.ByteString |
getReasonBytes()
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 |
hasMessage()
A human-readable description of the cause of the error.
|
boolean |
hasReason()
A machine-readable description of the cause of the error.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Meta.StatusCause.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Meta.StatusCause.Builder |
mergeFrom(com.google.protobuf.Message other) |
Meta.StatusCause.Builder |
mergeFrom(Meta.StatusCause other) |
Meta.StatusCause.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Meta.StatusCause.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Meta.StatusCause.Builder |
setField(String value)
The field of the resource that has caused this error, as named by its JSON
serialization.
|
Meta.StatusCause.Builder |
setFieldBytes(com.google.protobuf.ByteString value)
The field of the resource that has caused this error, as named by its JSON
serialization.
|
Meta.StatusCause.Builder |
setMessage(String value)
A human-readable description of the cause of the error.
|
Meta.StatusCause.Builder |
setMessageBytes(com.google.protobuf.ByteString value)
A human-readable description of the cause of the error.
|
Meta.StatusCause.Builder |
setReason(String value)
A machine-readable description of the cause of the error.
|
Meta.StatusCause.Builder |
setReasonBytes(com.google.protobuf.ByteString value)
A machine-readable description of the cause of the error.
|
Meta.StatusCause.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Meta.StatusCause.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>public Meta.StatusCause.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>public Meta.StatusCause getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Meta.StatusCause build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Meta.StatusCause buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Meta.StatusCause.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>public Meta.StatusCause.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>public Meta.StatusCause.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>public Meta.StatusCause.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>public Meta.StatusCause.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>public Meta.StatusCause.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>public Meta.StatusCause.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Meta.StatusCause.Builder>public Meta.StatusCause.Builder mergeFrom(Meta.StatusCause other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>public Meta.StatusCause.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Meta.StatusCause.Builder>IOExceptionpublic 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;hasReason in interface Meta.StatusCauseOrBuilderpublic 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;getReason in interface Meta.StatusCauseOrBuilderpublic 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;getReasonBytes in interface Meta.StatusCauseOrBuilderpublic Meta.StatusCause.Builder setReason(String value)
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;public Meta.StatusCause.Builder 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;public Meta.StatusCause.Builder setReasonBytes(com.google.protobuf.ByteString value)
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;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;hasMessage in interface Meta.StatusCauseOrBuilderpublic 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;getMessage in interface Meta.StatusCauseOrBuilderpublic 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;getMessageBytes in interface Meta.StatusCauseOrBuilderpublic Meta.StatusCause.Builder setMessage(String value)
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;public Meta.StatusCause.Builder 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;public Meta.StatusCause.Builder setMessageBytes(com.google.protobuf.ByteString value)
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;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;hasField in interface Meta.StatusCauseOrBuilderpublic 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;getField in interface Meta.StatusCauseOrBuilderpublic 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;getFieldBytes in interface Meta.StatusCauseOrBuilderpublic Meta.StatusCause.Builder setField(String value)
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;public Meta.StatusCause.Builder 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;public Meta.StatusCause.Builder setFieldBytes(com.google.protobuf.ByteString value)
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;public final Meta.StatusCause.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>public final Meta.StatusCause.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>Copyright © 2021. All rights reserved.