Package io.kubernetes.client.proto
Class Meta.StatusDetails.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
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.int
The 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.Descriptor
com.google.protobuf.Descriptors.Descriptor
getGroup()
The group attribute of the resource associated with the status StatusReason.com.google.protobuf.ByteString
The 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.ByteString
The 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.ByteString
The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).int
If specified, the time in seconds before the operation should be retried.getUid()
UID of the resource.com.google.protobuf.ByteString
UID of the resource.boolean
hasGroup()
The group attribute of the resource associated with the status StatusReason.boolean
hasKind()
The kind attribute of the resource associated with the status StatusReason.boolean
hasName()
The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).boolean
If specified, the time in seconds before the operation should be retried.boolean
hasUid()
UID of the resource.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.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, 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.StatusDetails.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.StatusDetails.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.StatusDetails.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.StatusDetails.Builder>
-
setField
public Meta.StatusDetails.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.StatusDetails.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusDetails.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusDetails.Builder>
-
addRepeatedField
public Meta.StatusDetails.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.StatusDetails.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Meta.StatusDetails.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
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.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:
hasName
in 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:
getName
in 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:
getNameBytes
in 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:
hasGroup
in interfaceMeta.StatusDetailsOrBuilder
-
getGroup
The group attribute of the resource associated with the status StatusReason. +optional
optional string group = 2;
- Specified by:
getGroup
in 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:
getGroupBytes
in 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:
hasKind
in 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:
getKind
in 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:
getKindBytes
in 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:
hasUid
in 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:
getUid
in 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:
getUidBytes
in 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:
getCausesList
in 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:
getCausesCount
in 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:
getCauses
in 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:
getCausesOrBuilder
in 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:
getCausesOrBuilderList
in 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:
hasRetryAfterSeconds
in 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:
getRetryAfterSeconds
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusDetails.Builder>
-
mergeUnknownFields
public final Meta.StatusDetails.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.StatusDetails.Builder>
-