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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
public Meta.StatusCause getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Meta.StatusCause build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Meta.StatusCause buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Meta.StatusCause.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Meta.StatusCause.Builder>
IOException
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;
hasReason
in interface Meta.StatusCauseOrBuilder
public 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.StatusCauseOrBuilder
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;
getReasonBytes
in interface Meta.StatusCauseOrBuilder
public 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.StatusCauseOrBuilder
public 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.StatusCauseOrBuilder
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;
getMessageBytes
in interface Meta.StatusCauseOrBuilder
public 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.StatusCauseOrBuilder
public 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.StatusCauseOrBuilder
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;
getFieldBytes
in interface Meta.StatusCauseOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
Copyright © 2021. All rights reserved.