Package io.kubernetes.client.proto
Class Meta.Status.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Meta.Status.Builder>
io.kubernetes.client.proto.Meta.Status.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Meta.StatusOrBuilder
,Cloneable
- Enclosing class:
- Meta.Status
public static final class Meta.Status.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Meta.Status.Builder>
implements Meta.StatusOrBuilder
Status is a return value for calls that don't return other objects.Protobuf type
k8s.io.apimachinery.pkg.apis.meta.v1.Status
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Suggested HTTP return code for this status, 0 if not set.Extended data associated with the reason.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) A human-readable description of the status of this operation.Standard list metadata.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) A machine-readable description of why this operation is in the "Failure" status.Status of the operation.clone()
int
getCode()
Suggested HTTP return code for this status, 0 if not set.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Extended data associated with the reason.Extended data associated with the reason.Extended data associated with the reason.A human-readable description of the status of this operation.com.google.protobuf.ByteString
A human-readable description of the status of this operation.Standard list metadata.Standard list metadata.Standard list metadata.A machine-readable description of why this operation is in the "Failure" status.com.google.protobuf.ByteString
A machine-readable description of why this operation is in the "Failure" status.Status of the operation.com.google.protobuf.ByteString
Status of the operation.boolean
hasCode()
Suggested HTTP return code for this status, 0 if not set.boolean
Extended data associated with the reason.boolean
A human-readable description of the status of this operation.boolean
Standard list metadata.boolean
A machine-readable description of why this operation is in the "Failure" status.boolean
Status of the operation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeDetails
(Meta.StatusDetails value) Extended data associated with the reason.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Meta.Status other) mergeMetadata
(Meta.ListMeta value) Standard list metadata.final Meta.Status.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setCode
(int value) Suggested HTTP return code for this status, 0 if not set.setDetails
(Meta.StatusDetails value) Extended data associated with the reason.setDetails
(Meta.StatusDetails.Builder builderForValue) Extended data associated with the reason.setMessage
(String value) A human-readable description of the status of this operation.setMessageBytes
(com.google.protobuf.ByteString value) A human-readable description of the status of this operation.setMetadata
(Meta.ListMeta value) Standard list metadata.setMetadata
(Meta.ListMeta.Builder builderForValue) Standard list metadata.A machine-readable description of why this operation is in the "Failure" status.setReasonBytes
(com.google.protobuf.ByteString value) A machine-readable description of why this operation is in the "Failure" status.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Status of the operation.setStatusBytes
(com.google.protobuf.ByteString value) Status of the operation.final Meta.Status.Builder
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.Status.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.Status.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.Status.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.Status.Builder>
-
setField
public Meta.Status.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.Status.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.Status.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.Status.Builder>
-
setRepeatedField
public Meta.Status.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.Status.Builder>
-
addRepeatedField
public Meta.Status.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.Status.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Meta.Status.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.Status.Builder>
-
mergeFrom
public Meta.Status.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.Status.Builder>
- Throws:
IOException
-
hasMetadata
public boolean hasMetadata()Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
- Specified by:
hasMetadata
in interfaceMeta.StatusOrBuilder
-
getMetadata
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
- Specified by:
getMetadata
in interfaceMeta.StatusOrBuilder
-
setMetadata
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
-
setMetadata
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
-
mergeMetadata
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
-
clearMetadata
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
-
getMetadataBuilder
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
-
getMetadataOrBuilder
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
- Specified by:
getMetadataOrBuilder
in interfaceMeta.StatusOrBuilder
-
hasStatus
public boolean hasStatus()Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status +optional
optional string status = 2;
- Specified by:
hasStatus
in interfaceMeta.StatusOrBuilder
-
getStatus
Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status +optional
optional string status = 2;
- Specified by:
getStatus
in interfaceMeta.StatusOrBuilder
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status +optional
optional string status = 2;
- Specified by:
getStatusBytes
in interfaceMeta.StatusOrBuilder
-
setStatus
Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status +optional
optional string status = 2;
-
clearStatus
Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status +optional
optional string status = 2;
-
setStatusBytes
Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status +optional
optional string status = 2;
-
hasMessage
public boolean hasMessage()A human-readable description of the status of this operation. +optional
optional string message = 3;
- Specified by:
hasMessage
in interfaceMeta.StatusOrBuilder
-
getMessage
A human-readable description of the status of this operation. +optional
optional string message = 3;
- Specified by:
getMessage
in interfaceMeta.StatusOrBuilder
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()A human-readable description of the status of this operation. +optional
optional string message = 3;
- Specified by:
getMessageBytes
in interfaceMeta.StatusOrBuilder
-
setMessage
A human-readable description of the status of this operation. +optional
optional string message = 3;
-
clearMessage
A human-readable description of the status of this operation. +optional
optional string message = 3;
-
setMessageBytes
A human-readable description of the status of this operation. +optional
optional string message = 3;
-
hasReason
public boolean hasReason()A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it. +optional
optional string reason = 4;
- Specified by:
hasReason
in interfaceMeta.StatusOrBuilder
-
getReason
A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it. +optional
optional string reason = 4;
- Specified by:
getReason
in interfaceMeta.StatusOrBuilder
-
getReasonBytes
public com.google.protobuf.ByteString getReasonBytes()A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it. +optional
optional string reason = 4;
- Specified by:
getReasonBytes
in interfaceMeta.StatusOrBuilder
-
setReason
A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it. +optional
optional string reason = 4;
-
clearReason
A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it. +optional
optional string reason = 4;
-
setReasonBytes
A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it. +optional
optional string reason = 4;
-
hasDetails
public boolean hasDetails()Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
- Specified by:
hasDetails
in interfaceMeta.StatusOrBuilder
-
getDetails
Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
- Specified by:
getDetails
in interfaceMeta.StatusOrBuilder
-
setDetails
Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
-
setDetails
Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
-
mergeDetails
Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
-
clearDetails
Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
-
getDetailsBuilder
Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
-
getDetailsOrBuilder
Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
- Specified by:
getDetailsOrBuilder
in interfaceMeta.StatusOrBuilder
-
hasCode
public boolean hasCode()Suggested HTTP return code for this status, 0 if not set. +optional
optional int32 code = 6;
- Specified by:
hasCode
in interfaceMeta.StatusOrBuilder
-
getCode
public int getCode()Suggested HTTP return code for this status, 0 if not set. +optional
optional int32 code = 6;
- Specified by:
getCode
in interfaceMeta.StatusOrBuilder
-
setCode
Suggested HTTP return code for this status, 0 if not set. +optional
optional int32 code = 6;
-
clearCode
Suggested HTTP return code for this status, 0 if not set. +optional
optional int32 code = 6;
-
setUnknownFields
public final Meta.Status.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.Status.Builder>
-
mergeUnknownFields
public final Meta.Status.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.Status.Builder>
-