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()intgetCode()Suggested HTTP return code for this status, 0 if not set.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorExtended 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.ByteStringA 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.ByteStringA machine-readable description of why this operation is in the "Failure" status.Status of the operation.com.google.protobuf.ByteStringStatus of the operation.booleanhasCode()Suggested HTTP return code for this status, 0 if not set.booleanExtended data associated with the reason.booleanA human-readable description of the status of this operation.booleanStandard list metadata.booleanA machine-readable description of why this operation is in the "Failure" status.booleanStatus of the operation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeDetails(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.BuildermergeUnknownFields(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.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.Status.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.Status.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.Status.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.Status.Builder>
-
setField
public Meta.Status.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.Status.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.Status.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.Status.Builder>
-
addRepeatedField
public Meta.Status.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.Status.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Meta.Status.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasMetadatain 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:
getMetadatain 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:
getMetadataOrBuilderin 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:
hasStatusin 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:
getStatusin 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:
getStatusBytesin 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:
hasMessagein interfaceMeta.StatusOrBuilder
-
getMessage
A human-readable description of the status of this operation. +optional
optional string message = 3;- Specified by:
getMessagein 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:
getMessageBytesin 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:
hasReasonin 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:
getReasonin 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:
getReasonBytesin 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:
hasDetailsin 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:
getDetailsin 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:
getDetailsOrBuilderin interfaceMeta.StatusOrBuilder
-
hasCode
public boolean hasCode()Suggested HTTP return code for this status, 0 if not set. +optional
optional int32 code = 6;- Specified by:
hasCodein interfaceMeta.StatusOrBuilder
-
getCode
public int getCode()Suggested HTTP return code for this status, 0 if not set. +optional
optional int32 code = 6;- Specified by:
getCodein 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.Status.Builder>
-
mergeUnknownFields
public final Meta.Status.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.Status.Builder>
-