Package io.kubernetes.client.proto
Class Meta.StatusDetails.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusDetails.Builder>
io.kubernetes.client.proto.Meta.StatusDetails.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Meta.StatusDetailsOrBuilder,Cloneable
- Enclosing class:
- Meta.StatusDetails
public static final class Meta.StatusDetails.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusDetails.Builder>
implements Meta.StatusDetailsOrBuilder
StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.Protobuf type
k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails-
Method Summary
Modifier and TypeMethodDescriptionaddAllCauses(Iterable<? extends Meta.StatusCause> values) The Causes array includes more details associated with the StatusReason failure.addCauses(int index, Meta.StatusCause value) The Causes array includes more details associated with the StatusReason failure.addCauses(int index, Meta.StatusCause.Builder builderForValue) The Causes array includes more details associated with the StatusReason failure.addCauses(Meta.StatusCause value) The Causes array includes more details associated with the StatusReason failure.addCauses(Meta.StatusCause.Builder builderForValue) The Causes array includes more details associated with the StatusReason failure.The Causes array includes more details associated with the StatusReason failure.addCausesBuilder(int index) The Causes array includes more details associated with the StatusReason failure.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The Causes array includes more details associated with the StatusReason failure.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The group attribute of the resource associated with the status StatusReason.The kind attribute of the resource associated with the status StatusReason.The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) If specified, the time in seconds before the operation should be retried.clearUid()UID of the resource.clone()getCauses(int index) The Causes array includes more details associated with the StatusReason failure.getCausesBuilder(int index) The Causes array includes more details associated with the StatusReason failure.The Causes array includes more details associated with the StatusReason failure.intThe Causes array includes more details associated with the StatusReason failure.The Causes array includes more details associated with the StatusReason failure.getCausesOrBuilder(int index) The Causes array includes more details associated with the StatusReason failure.List<? extends Meta.StatusCauseOrBuilder>The Causes array includes more details associated with the StatusReason failure.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetGroup()The group attribute of the resource associated with the status StatusReason.com.google.protobuf.ByteStringThe group attribute of the resource associated with the status StatusReason.getKind()The kind attribute of the resource associated with the status StatusReason.com.google.protobuf.ByteStringThe kind attribute of the resource associated with the status StatusReason.getName()The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).com.google.protobuf.ByteStringThe name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).intIf specified, the time in seconds before the operation should be retried.getUid()UID of the resource.com.google.protobuf.ByteStringUID of the resource.booleanhasGroup()The group attribute of the resource associated with the status StatusReason.booleanhasKind()The kind attribute of the resource associated with the status StatusReason.booleanhasName()The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).booleanIf specified, the time in seconds before the operation should be retried.booleanhasUid()UID of the resource.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.StatusDetails other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeCauses(int index) The Causes array includes more details associated with the StatusReason failure.setCauses(int index, Meta.StatusCause value) The Causes array includes more details associated with the StatusReason failure.setCauses(int index, Meta.StatusCause.Builder builderForValue) The Causes array includes more details associated with the StatusReason failure.The group attribute of the resource associated with the status StatusReason.setGroupBytes(com.google.protobuf.ByteString value) The group attribute of the resource associated with the status StatusReason.The kind attribute of the resource associated with the status StatusReason.setKindBytes(com.google.protobuf.ByteString value) The kind attribute of the resource associated with the status StatusReason.The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).setNameBytes(com.google.protobuf.ByteString value) The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRetryAfterSeconds(int value) If specified, the time in seconds before the operation should be retried.UID of the resource.setUidBytes(com.google.protobuf.ByteString value) UID of the resource.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, 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.StatusDetails.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.StatusDetails.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.StatusDetails.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.StatusDetails.Builder>
-
setField
public Meta.StatusDetails.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.StatusDetails.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusDetails.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusDetails.Builder>
-
setRepeatedField
public Meta.StatusDetails.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.StatusDetails.Builder>
-
addRepeatedField
public Meta.StatusDetails.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.StatusDetails.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Meta.StatusDetails.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusDetails.Builder>
-
mergeFrom
public Meta.StatusDetails.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.StatusDetails.Builder>- Throws:
IOException
-
hasName
public boolean hasName()The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described). +optional
optional string name = 1;- Specified by:
hasNamein interfaceMeta.StatusDetailsOrBuilder
-
getName
The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described). +optional
optional string name = 1;- Specified by:
getNamein interfaceMeta.StatusDetailsOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described). +optional
optional string name = 1;- Specified by:
getNameBytesin interfaceMeta.StatusDetailsOrBuilder
-
setName
The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described). +optional
optional string name = 1; -
clearName
The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described). +optional
optional string name = 1; -
setNameBytes
The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described). +optional
optional string name = 1; -
hasGroup
public boolean hasGroup()The group attribute of the resource associated with the status StatusReason. +optional
optional string group = 2;- Specified by:
hasGroupin interfaceMeta.StatusDetailsOrBuilder
-
getGroup
The group attribute of the resource associated with the status StatusReason. +optional
optional string group = 2;- Specified by:
getGroupin interfaceMeta.StatusDetailsOrBuilder
-
getGroupBytes
public com.google.protobuf.ByteString getGroupBytes()The group attribute of the resource associated with the status StatusReason. +optional
optional string group = 2;- Specified by:
getGroupBytesin interfaceMeta.StatusDetailsOrBuilder
-
setGroup
The group attribute of the resource associated with the status StatusReason. +optional
optional string group = 2; -
clearGroup
The group attribute of the resource associated with the status StatusReason. +optional
optional string group = 2; -
setGroupBytes
The group attribute of the resource associated with the status StatusReason. +optional
optional string group = 2; -
hasKind
public boolean hasKind()The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional
optional string kind = 3;- Specified by:
hasKindin interfaceMeta.StatusDetailsOrBuilder
-
getKind
The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional
optional string kind = 3;- Specified by:
getKindin interfaceMeta.StatusDetailsOrBuilder
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional
optional string kind = 3;- Specified by:
getKindBytesin interfaceMeta.StatusDetailsOrBuilder
-
setKind
The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional
optional string kind = 3; -
clearKind
The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional
optional string kind = 3; -
setKindBytes
The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional
optional string kind = 3; -
hasUid
public boolean hasUid()UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/user-guide/identifiers#uids +optional
optional string uid = 6;- Specified by:
hasUidin interfaceMeta.StatusDetailsOrBuilder
-
getUid
UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/user-guide/identifiers#uids +optional
optional string uid = 6;- Specified by:
getUidin interfaceMeta.StatusDetailsOrBuilder
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/user-guide/identifiers#uids +optional
optional string uid = 6;- Specified by:
getUidBytesin interfaceMeta.StatusDetailsOrBuilder
-
setUid
UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/user-guide/identifiers#uids +optional
optional string uid = 6; -
clearUid
UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/user-guide/identifiers#uids +optional
optional string uid = 6; -
setUidBytes
UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/user-guide/identifiers#uids +optional
optional string uid = 6; -
getCausesList
The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;- Specified by:
getCausesListin interfaceMeta.StatusDetailsOrBuilder
-
getCausesCount
public int getCausesCount()The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;- Specified by:
getCausesCountin interfaceMeta.StatusDetailsOrBuilder
-
getCauses
The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;- Specified by:
getCausesin interfaceMeta.StatusDetailsOrBuilder
-
setCauses
The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; -
setCauses
The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; -
addCauses
The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; -
addCauses
The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; -
addCauses
The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; -
addCauses
The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; -
addAllCauses
The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; -
clearCauses
The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; -
removeCauses
The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; -
getCausesBuilder
The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; -
getCausesOrBuilder
The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;- Specified by:
getCausesOrBuilderin interfaceMeta.StatusDetailsOrBuilder
-
getCausesOrBuilderList
The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;- Specified by:
getCausesOrBuilderListin interfaceMeta.StatusDetailsOrBuilder
-
addCausesBuilder
The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; -
addCausesBuilder
The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; -
getCausesBuilderList
The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; -
hasRetryAfterSeconds
public boolean hasRetryAfterSeconds()If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action. +optional
optional int32 retryAfterSeconds = 5;- Specified by:
hasRetryAfterSecondsin interfaceMeta.StatusDetailsOrBuilder
-
getRetryAfterSeconds
public int getRetryAfterSeconds()If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action. +optional
optional int32 retryAfterSeconds = 5;- Specified by:
getRetryAfterSecondsin interfaceMeta.StatusDetailsOrBuilder
-
setRetryAfterSeconds
If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action. +optional
optional int32 retryAfterSeconds = 5; -
clearRetryAfterSeconds
If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action. +optional
optional int32 retryAfterSeconds = 5; -
setUnknownFields
public final Meta.StatusDetails.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusDetails.Builder>
-
mergeUnknownFields
public final Meta.StatusDetails.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusDetails.Builder>
-