public static final class Runtime.Unknown.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Runtime.Unknown.Builder> 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 | Method and Description |
|---|---|
Runtime.Unknown.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Runtime.Unknown |
build() |
Runtime.Unknown |
buildPartial() |
Runtime.Unknown.Builder |
clear() |
Runtime.Unknown.Builder |
clearContentEncoding()
ContentEncoding is encoding used to encode 'Raw' data.
|
Runtime.Unknown.Builder |
clearContentType()
ContentType is serialization method used to serialize 'Raw'.
|
Runtime.Unknown.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Runtime.Unknown.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Runtime.Unknown.Builder |
clearRaw()
Raw will hold the complete serialized object which couldn't be matched
with a registered type.
|
Runtime.Unknown.Builder |
clearTypeMeta()
optional .k8s.io.apimachinery.pkg.runtime.TypeMeta typeMeta = 1; |
Runtime.Unknown.Builder |
clone() |
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'.
|
Runtime.Unknown |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getRaw()
Raw will hold the complete serialized object which couldn't be matched
with a registered type.
|
Runtime.TypeMeta |
getTypeMeta()
optional .k8s.io.apimachinery.pkg.runtime.TypeMeta typeMeta = 1; |
Runtime.TypeMeta.Builder |
getTypeMetaBuilder()
optional .k8s.io.apimachinery.pkg.runtime.TypeMeta typeMeta = 1; |
Runtime.TypeMetaOrBuilder |
getTypeMetaOrBuilder()
optional .k8s.io.apimachinery.pkg.runtime.TypeMeta typeMeta = 1; |
boolean |
hasContentEncoding()
ContentEncoding is encoding used to encode 'Raw' data.
|
boolean |
hasContentType()
ContentType is serialization method used to serialize 'Raw'.
|
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() |
Runtime.Unknown.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Runtime.Unknown.Builder |
mergeFrom(com.google.protobuf.Message other) |
Runtime.Unknown.Builder |
mergeFrom(Runtime.Unknown other) |
Runtime.Unknown.Builder |
mergeTypeMeta(Runtime.TypeMeta value)
optional .k8s.io.apimachinery.pkg.runtime.TypeMeta typeMeta = 1; |
Runtime.Unknown.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Runtime.Unknown.Builder |
setContentEncoding(String value)
ContentEncoding is encoding used to encode 'Raw' data.
|
Runtime.Unknown.Builder |
setContentEncodingBytes(com.google.protobuf.ByteString value)
ContentEncoding is encoding used to encode 'Raw' data.
|
Runtime.Unknown.Builder |
setContentType(String value)
ContentType is serialization method used to serialize 'Raw'.
|
Runtime.Unknown.Builder |
setContentTypeBytes(com.google.protobuf.ByteString value)
ContentType is serialization method used to serialize 'Raw'.
|
Runtime.Unknown.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Runtime.Unknown.Builder |
setRaw(com.google.protobuf.ByteString value)
Raw will hold the complete serialized object which couldn't be matched
with a registered type.
|
Runtime.Unknown.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Runtime.Unknown.Builder |
setTypeMeta(Runtime.TypeMeta.Builder builderForValue)
optional .k8s.io.apimachinery.pkg.runtime.TypeMeta typeMeta = 1; |
Runtime.Unknown.Builder |
setTypeMeta(Runtime.TypeMeta value)
optional .k8s.io.apimachinery.pkg.runtime.TypeMeta typeMeta = 1; |
Runtime.Unknown.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Runtime.Unknown.Builder>public Runtime.Unknown.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Runtime.Unknown.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<Runtime.Unknown.Builder>public Runtime.Unknown getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Runtime.Unknown build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Runtime.Unknown buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Runtime.Unknown.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Runtime.Unknown.Builder>public Runtime.Unknown.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<Runtime.Unknown.Builder>public Runtime.Unknown.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Runtime.Unknown.Builder>public Runtime.Unknown.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Runtime.Unknown.Builder>public Runtime.Unknown.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<Runtime.Unknown.Builder>public Runtime.Unknown.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<Runtime.Unknown.Builder>public Runtime.Unknown.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Runtime.Unknown.Builder>public Runtime.Unknown.Builder mergeFrom(Runtime.Unknown other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Runtime.Unknown.Builder>public Runtime.Unknown.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<Runtime.Unknown.Builder>IOExceptionpublic 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.Unknown.Builder setTypeMeta(Runtime.TypeMeta value)
optional .k8s.io.apimachinery.pkg.runtime.TypeMeta typeMeta = 1;public Runtime.Unknown.Builder setTypeMeta(Runtime.TypeMeta.Builder builderForValue)
optional .k8s.io.apimachinery.pkg.runtime.TypeMeta typeMeta = 1;public Runtime.Unknown.Builder mergeTypeMeta(Runtime.TypeMeta value)
optional .k8s.io.apimachinery.pkg.runtime.TypeMeta typeMeta = 1;public Runtime.Unknown.Builder clearTypeMeta()
optional .k8s.io.apimachinery.pkg.runtime.TypeMeta typeMeta = 1;public Runtime.TypeMeta.Builder getTypeMetaBuilder()
optional .k8s.io.apimachinery.pkg.runtime.TypeMeta typeMeta = 1;public 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 Runtime.Unknown.Builder setRaw(com.google.protobuf.ByteString value)
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;public Runtime.Unknown.Builder clearRaw()
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;public 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 Runtime.Unknown.Builder setContentEncoding(String value)
ContentEncoding is encoding used to encode 'Raw' data. Unspecified means no encoding.
optional string contentEncoding = 3;public Runtime.Unknown.Builder clearContentEncoding()
ContentEncoding is encoding used to encode 'Raw' data. Unspecified means no encoding.
optional string contentEncoding = 3;public Runtime.Unknown.Builder setContentEncodingBytes(com.google.protobuf.ByteString value)
ContentEncoding is encoding used to encode 'Raw' data. Unspecified means no encoding.
optional string contentEncoding = 3;public 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 Runtime.Unknown.Builder setContentType(String value)
ContentType is serialization method used to serialize 'Raw'. Unspecified means ContentTypeJSON.
optional string contentType = 4;public Runtime.Unknown.Builder clearContentType()
ContentType is serialization method used to serialize 'Raw'. Unspecified means ContentTypeJSON.
optional string contentType = 4;public Runtime.Unknown.Builder setContentTypeBytes(com.google.protobuf.ByteString value)
ContentType is serialization method used to serialize 'Raw'. Unspecified means ContentTypeJSON.
optional string contentType = 4;public final Runtime.Unknown.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Runtime.Unknown.Builder>public final Runtime.Unknown.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Runtime.Unknown.Builder>Copyright © 2018. All rights reserved.