public static final class Runtime.Unknown extends com.google.protobuf.GeneratedMessageV3 implements Runtime.UnknownOrBuilder
Unknown allows api objects with unknown types to be passed-through. This can be used to deal with the API objects from a plug-in. Unknown objects still have functioning TypeMeta features-- kind, version, etc. TODO: Make this object have easy access to field based accessors and settors for metadata and field mutatation. +k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +protobuf=true +k8s:openapi-gen=trueProtobuf type
k8s.io.apimachinery.pkg.runtime.Unknown| Modifier and Type | Class and Description |
|---|---|
static class |
Runtime.Unknown.Builder
Unknown allows api objects with unknown types to be passed-through.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONTENTENCODING_FIELD_NUMBER |
static int |
CONTENTTYPE_FIELD_NUMBER |
static com.google.protobuf.Parser<Runtime.Unknown> |
PARSER
Deprecated.
|
static int |
RAW_FIELD_NUMBER |
static int |
TYPEMETA_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getContentEncoding()
ContentEncoding is encoding used to encode 'Raw' data.
|
com.google.protobuf.ByteString |
getContentEncodingBytes()
ContentEncoding is encoding used to encode 'Raw' data.
|
String |
getContentType()
ContentType is serialization method used to serialize 'Raw'.
|
com.google.protobuf.ByteString |
getContentTypeBytes()
ContentType is serialization method used to serialize 'Raw'.
|
static Runtime.Unknown |
getDefaultInstance() |
Runtime.Unknown |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<Runtime.Unknown> |
getParserForType() |
com.google.protobuf.ByteString |
getRaw()
Raw will hold the complete serialized object which couldn't be matched
with a registered type.
|
int |
getSerializedSize() |
Runtime.TypeMeta |
getTypeMeta()
optional .k8s.io.apimachinery.pkg.runtime.TypeMeta typeMeta = 1; |
Runtime.TypeMetaOrBuilder |
getTypeMetaOrBuilder()
optional .k8s.io.apimachinery.pkg.runtime.TypeMeta typeMeta = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasContentEncoding()
ContentEncoding is encoding used to encode 'Raw' data.
|
boolean |
hasContentType()
ContentType is serialization method used to serialize 'Raw'.
|
int |
hashCode() |
boolean |
hasRaw()
Raw will hold the complete serialized object which couldn't be matched
with a registered type.
|
boolean |
hasTypeMeta()
optional .k8s.io.apimachinery.pkg.runtime.TypeMeta typeMeta = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Runtime.Unknown.Builder |
newBuilder() |
static Runtime.Unknown.Builder |
newBuilder(Runtime.Unknown prototype) |
Runtime.Unknown.Builder |
newBuilderForType() |
protected Runtime.Unknown.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Runtime.Unknown |
parseDelimitedFrom(InputStream input) |
static Runtime.Unknown |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Runtime.Unknown |
parseFrom(byte[] data) |
static Runtime.Unknown |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Runtime.Unknown |
parseFrom(ByteBuffer data) |
static Runtime.Unknown |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Runtime.Unknown |
parseFrom(com.google.protobuf.ByteString data) |
static Runtime.Unknown |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Runtime.Unknown |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Runtime.Unknown |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Runtime.Unknown |
parseFrom(InputStream input) |
static Runtime.Unknown |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Runtime.Unknown> |
parser() |
Runtime.Unknown.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TYPEMETA_FIELD_NUMBER
public static final int RAW_FIELD_NUMBER
public static final int CONTENTENCODING_FIELD_NUMBER
public static final int CONTENTTYPE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Runtime.Unknown> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasTypeMeta()
optional .k8s.io.apimachinery.pkg.runtime.TypeMeta typeMeta = 1;hasTypeMeta in interface Runtime.UnknownOrBuilderpublic Runtime.TypeMeta getTypeMeta()
optional .k8s.io.apimachinery.pkg.runtime.TypeMeta typeMeta = 1;getTypeMeta in interface Runtime.UnknownOrBuilderpublic Runtime.TypeMetaOrBuilder getTypeMetaOrBuilder()
optional .k8s.io.apimachinery.pkg.runtime.TypeMeta typeMeta = 1;getTypeMetaOrBuilder in interface Runtime.UnknownOrBuilderpublic boolean hasRaw()
Raw will hold the complete serialized object which couldn't be matched with a registered type. Most likely, nothing should be done with this except for passing it through the system.
optional bytes raw = 2;hasRaw in interface Runtime.UnknownOrBuilderpublic com.google.protobuf.ByteString getRaw()
Raw will hold the complete serialized object which couldn't be matched with a registered type. Most likely, nothing should be done with this except for passing it through the system.
optional bytes raw = 2;getRaw in interface Runtime.UnknownOrBuilderpublic boolean hasContentEncoding()
ContentEncoding is encoding used to encode 'Raw' data. Unspecified means no encoding.
optional string contentEncoding = 3;hasContentEncoding in interface Runtime.UnknownOrBuilderpublic String getContentEncoding()
ContentEncoding is encoding used to encode 'Raw' data. Unspecified means no encoding.
optional string contentEncoding = 3;getContentEncoding in interface Runtime.UnknownOrBuilderpublic com.google.protobuf.ByteString getContentEncodingBytes()
ContentEncoding is encoding used to encode 'Raw' data. Unspecified means no encoding.
optional string contentEncoding = 3;getContentEncodingBytes in interface Runtime.UnknownOrBuilderpublic boolean hasContentType()
ContentType is serialization method used to serialize 'Raw'. Unspecified means ContentTypeJSON.
optional string contentType = 4;hasContentType in interface Runtime.UnknownOrBuilderpublic String getContentType()
ContentType is serialization method used to serialize 'Raw'. Unspecified means ContentTypeJSON.
optional string contentType = 4;getContentType in interface Runtime.UnknownOrBuilderpublic com.google.protobuf.ByteString getContentTypeBytes()
ContentType is serialization method used to serialize 'Raw'. Unspecified means ContentTypeJSON.
optional string contentType = 4;getContentTypeBytes in interface Runtime.UnknownOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Runtime.Unknown parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Runtime.Unknown parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Runtime.Unknown parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Runtime.Unknown parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Runtime.Unknown parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Runtime.Unknown parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Runtime.Unknown parseFrom(InputStream input) throws IOException
IOExceptionpublic static Runtime.Unknown parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Runtime.Unknown parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Runtime.Unknown parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Runtime.Unknown parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Runtime.Unknown parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Runtime.Unknown.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Runtime.Unknown.Builder newBuilder()
public static Runtime.Unknown.Builder newBuilder(Runtime.Unknown prototype)
public Runtime.Unknown.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Runtime.Unknown.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Runtime.Unknown getDefaultInstance()
public static com.google.protobuf.Parser<Runtime.Unknown> parser()
public com.google.protobuf.Parser<Runtime.Unknown> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Runtime.Unknown getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020. All rights reserved.