Package io.kubernetes.client.proto
Class Meta.StatusCause.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
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.Descriptorcom.google.protobuf.Descriptors.DescriptorgetField()The field of the resource that has caused this error, as named by its JSON serialization.com.google.protobuf.ByteStringThe 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.ByteStringA human-readable description of the cause of the error.A machine-readable description of the cause of the error.com.google.protobuf.ByteStringA machine-readable description of the cause of the error.booleanhasField()The field of the resource that has caused this error, as named by its JSON serialization.booleanA human-readable description of the cause of the error.booleanA machine-readable description of the cause of the error.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Meta.StatusCause other) final Meta.StatusCause.BuildermergeUnknownFields(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.BuildersetUnknownFields(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
-
setField
public Meta.StatusCause.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
-
addRepeatedField
public Meta.StatusCause.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Meta.StatusCause.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasReasonin 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:
getReasonin 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:
getReasonBytesin 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:
hasMessagein 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:
getMessagein 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:
getMessageBytesin 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:
hasFieldin 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:
getFieldin 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:
getFieldBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
-
mergeUnknownFields
public final Meta.StatusCause.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
-