public static final class Meta.TypeMeta.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Meta.TypeMeta.Builder> implements Meta.TypeMetaOrBuilder
TypeMeta describes an individual object in an API response or request with strings representing the type of the object and its API schema version. Structures that are versioned or persisted should inline TypeMeta. +k8s:deepcopy-gen=falseProtobuf type
k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta| Modifier and Type | Method and Description |
|---|---|
Meta.TypeMeta.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Meta.TypeMeta |
build() |
Meta.TypeMeta |
buildPartial() |
Meta.TypeMeta.Builder |
clear() |
Meta.TypeMeta.Builder |
clearApiVersion()
APIVersion defines the versioned schema of this representation of an object.
|
Meta.TypeMeta.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Meta.TypeMeta.Builder |
clearKind()
Kind is a string value representing the REST resource this object represents.
|
Meta.TypeMeta.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Meta.TypeMeta.Builder |
clone() |
String |
getApiVersion()
APIVersion defines the versioned schema of this representation of an object.
|
com.google.protobuf.ByteString |
getApiVersionBytes()
APIVersion defines the versioned schema of this representation of an object.
|
Meta.TypeMeta |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getKind()
Kind is a string value representing the REST resource this object represents.
|
com.google.protobuf.ByteString |
getKindBytes()
Kind is a string value representing the REST resource this object represents.
|
boolean |
hasApiVersion()
APIVersion defines the versioned schema of this representation of an object.
|
boolean |
hasKind()
Kind is a string value representing the REST resource this object represents.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Meta.TypeMeta.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Meta.TypeMeta.Builder |
mergeFrom(com.google.protobuf.Message other) |
Meta.TypeMeta.Builder |
mergeFrom(Meta.TypeMeta other) |
Meta.TypeMeta.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Meta.TypeMeta.Builder |
setApiVersion(String value)
APIVersion defines the versioned schema of this representation of an object.
|
Meta.TypeMeta.Builder |
setApiVersionBytes(com.google.protobuf.ByteString value)
APIVersion defines the versioned schema of this representation of an object.
|
Meta.TypeMeta.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Meta.TypeMeta.Builder |
setKind(String value)
Kind is a string value representing the REST resource this object represents.
|
Meta.TypeMeta.Builder |
setKindBytes(com.google.protobuf.ByteString value)
Kind is a string value representing the REST resource this object represents.
|
Meta.TypeMeta.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Meta.TypeMeta.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.TypeMeta.Builder>public Meta.TypeMeta.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.TypeMeta.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.TypeMeta.Builder>public Meta.TypeMeta getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Meta.TypeMeta build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Meta.TypeMeta buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Meta.TypeMeta.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.TypeMeta.Builder>public Meta.TypeMeta.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.TypeMeta.Builder>public Meta.TypeMeta.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.TypeMeta.Builder>public Meta.TypeMeta.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.TypeMeta.Builder>public Meta.TypeMeta.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.TypeMeta.Builder>public Meta.TypeMeta.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.TypeMeta.Builder>public Meta.TypeMeta.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Meta.TypeMeta.Builder>public Meta.TypeMeta.Builder mergeFrom(Meta.TypeMeta other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.TypeMeta.Builder>public Meta.TypeMeta.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Meta.TypeMeta.Builder>IOExceptionpublic boolean hasKind()
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional
optional string kind = 1;hasKind in interface Meta.TypeMetaOrBuilderpublic String getKind()
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional
optional string kind = 1;getKind in interface Meta.TypeMetaOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional
optional string kind = 1;getKindBytes in interface Meta.TypeMetaOrBuilderpublic Meta.TypeMeta.Builder setKind(String value)
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional
optional string kind = 1;public Meta.TypeMeta.Builder clearKind()
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional
optional string kind = 1;public Meta.TypeMeta.Builder setKindBytes(com.google.protobuf.ByteString value)
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional
optional string kind = 1;public boolean hasApiVersion()
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources +optional
optional string apiVersion = 2;hasApiVersion in interface Meta.TypeMetaOrBuilderpublic String getApiVersion()
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources +optional
optional string apiVersion = 2;getApiVersion in interface Meta.TypeMetaOrBuilderpublic com.google.protobuf.ByteString getApiVersionBytes()
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources +optional
optional string apiVersion = 2;getApiVersionBytes in interface Meta.TypeMetaOrBuilderpublic Meta.TypeMeta.Builder setApiVersion(String value)
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources +optional
optional string apiVersion = 2;public Meta.TypeMeta.Builder clearApiVersion()
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources +optional
optional string apiVersion = 2;public Meta.TypeMeta.Builder setApiVersionBytes(com.google.protobuf.ByteString value)
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources +optional
optional string apiVersion = 2;public final Meta.TypeMeta.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.TypeMeta.Builder>public final Meta.TypeMeta.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.TypeMeta.Builder>Copyright © 2023. All rights reserved.