public static final class V1beta1Apiextensions.ConversionResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.ConversionResponse.Builder> implements V1beta1Apiextensions.ConversionResponseOrBuilder
ConversionResponse describes a conversion response.Protobuf type
k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.ConversionResponse| Modifier and Type | Method and Description |
|---|---|
V1beta1Apiextensions.ConversionResponse.Builder |
addAllConvertedObjects(Iterable<? extends Runtime.RawExtension> values)
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty.
|
V1beta1Apiextensions.ConversionResponse.Builder |
addConvertedObjects(int index,
Runtime.RawExtension.Builder builderForValue)
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty.
|
V1beta1Apiextensions.ConversionResponse.Builder |
addConvertedObjects(int index,
Runtime.RawExtension value)
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty.
|
V1beta1Apiextensions.ConversionResponse.Builder |
addConvertedObjects(Runtime.RawExtension.Builder builderForValue)
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty.
|
V1beta1Apiextensions.ConversionResponse.Builder |
addConvertedObjects(Runtime.RawExtension value)
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty.
|
Runtime.RawExtension.Builder |
addConvertedObjectsBuilder()
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty.
|
Runtime.RawExtension.Builder |
addConvertedObjectsBuilder(int index)
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty.
|
V1beta1Apiextensions.ConversionResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Apiextensions.ConversionResponse |
build() |
V1beta1Apiextensions.ConversionResponse |
buildPartial() |
V1beta1Apiextensions.ConversionResponse.Builder |
clear() |
V1beta1Apiextensions.ConversionResponse.Builder |
clearConvertedObjects()
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty.
|
V1beta1Apiextensions.ConversionResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta1Apiextensions.ConversionResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta1Apiextensions.ConversionResponse.Builder |
clearResult()
result contains the result of conversion with extra details if the conversion failed.
|
V1beta1Apiextensions.ConversionResponse.Builder |
clearUid()
uid is an identifier for the individual request/response.
|
V1beta1Apiextensions.ConversionResponse.Builder |
clone() |
Runtime.RawExtension |
getConvertedObjects(int index)
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty.
|
Runtime.RawExtension.Builder |
getConvertedObjectsBuilder(int index)
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty.
|
List<Runtime.RawExtension.Builder> |
getConvertedObjectsBuilderList()
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty.
|
int |
getConvertedObjectsCount()
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty.
|
List<Runtime.RawExtension> |
getConvertedObjectsList()
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty.
|
Runtime.RawExtensionOrBuilder |
getConvertedObjectsOrBuilder(int index)
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty.
|
List<? extends Runtime.RawExtensionOrBuilder> |
getConvertedObjectsOrBuilderList()
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty.
|
V1beta1Apiextensions.ConversionResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Meta.Status |
getResult()
result contains the result of conversion with extra details if the conversion failed.
|
Meta.Status.Builder |
getResultBuilder()
result contains the result of conversion with extra details if the conversion failed.
|
Meta.StatusOrBuilder |
getResultOrBuilder()
result contains the result of conversion with extra details if the conversion failed.
|
String |
getUid()
uid is an identifier for the individual request/response.
|
com.google.protobuf.ByteString |
getUidBytes()
uid is an identifier for the individual request/response.
|
boolean |
hasResult()
result contains the result of conversion with extra details if the conversion failed.
|
boolean |
hasUid()
uid is an identifier for the individual request/response.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1beta1Apiextensions.ConversionResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta1Apiextensions.ConversionResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta1Apiextensions.ConversionResponse.Builder |
mergeFrom(V1beta1Apiextensions.ConversionResponse other) |
V1beta1Apiextensions.ConversionResponse.Builder |
mergeResult(Meta.Status value)
result contains the result of conversion with extra details if the conversion failed.
|
V1beta1Apiextensions.ConversionResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Apiextensions.ConversionResponse.Builder |
removeConvertedObjects(int index)
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty.
|
V1beta1Apiextensions.ConversionResponse.Builder |
setConvertedObjects(int index,
Runtime.RawExtension.Builder builderForValue)
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty.
|
V1beta1Apiextensions.ConversionResponse.Builder |
setConvertedObjects(int index,
Runtime.RawExtension value)
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty.
|
V1beta1Apiextensions.ConversionResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Apiextensions.ConversionResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta1Apiextensions.ConversionResponse.Builder |
setResult(Meta.Status.Builder builderForValue)
result contains the result of conversion with extra details if the conversion failed.
|
V1beta1Apiextensions.ConversionResponse.Builder |
setResult(Meta.Status value)
result contains the result of conversion with extra details if the conversion failed.
|
V1beta1Apiextensions.ConversionResponse.Builder |
setUid(String value)
uid is an identifier for the individual request/response.
|
V1beta1Apiextensions.ConversionResponse.Builder |
setUidBytes(com.google.protobuf.ByteString value)
uid is an identifier for the individual request/response.
|
V1beta1Apiextensions.ConversionResponse.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<V1beta1Apiextensions.ConversionResponse.Builder>public V1beta1Apiextensions.ConversionResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.ConversionResponse.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<V1beta1Apiextensions.ConversionResponse.Builder>public V1beta1Apiextensions.ConversionResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Apiextensions.ConversionResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Apiextensions.ConversionResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Apiextensions.ConversionResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.ConversionResponse.Builder>public V1beta1Apiextensions.ConversionResponse.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<V1beta1Apiextensions.ConversionResponse.Builder>public V1beta1Apiextensions.ConversionResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.ConversionResponse.Builder>public V1beta1Apiextensions.ConversionResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.ConversionResponse.Builder>public V1beta1Apiextensions.ConversionResponse.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<V1beta1Apiextensions.ConversionResponse.Builder>public V1beta1Apiextensions.ConversionResponse.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<V1beta1Apiextensions.ConversionResponse.Builder>public V1beta1Apiextensions.ConversionResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Apiextensions.ConversionResponse.Builder>public V1beta1Apiextensions.ConversionResponse.Builder mergeFrom(V1beta1Apiextensions.ConversionResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.ConversionResponse.Builder>public V1beta1Apiextensions.ConversionResponse.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<V1beta1Apiextensions.ConversionResponse.Builder>IOExceptionpublic boolean hasUid()
uid is an identifier for the individual request/response. This should be copied over from the corresponding `request.uid`.
optional string uid = 1;hasUid in interface V1beta1Apiextensions.ConversionResponseOrBuilderpublic String getUid()
uid is an identifier for the individual request/response. This should be copied over from the corresponding `request.uid`.
optional string uid = 1;getUid in interface V1beta1Apiextensions.ConversionResponseOrBuilderpublic com.google.protobuf.ByteString getUidBytes()
uid is an identifier for the individual request/response. This should be copied over from the corresponding `request.uid`.
optional string uid = 1;getUidBytes in interface V1beta1Apiextensions.ConversionResponseOrBuilderpublic V1beta1Apiextensions.ConversionResponse.Builder setUid(String value)
uid is an identifier for the individual request/response. This should be copied over from the corresponding `request.uid`.
optional string uid = 1;public V1beta1Apiextensions.ConversionResponse.Builder clearUid()
uid is an identifier for the individual request/response. This should be copied over from the corresponding `request.uid`.
optional string uid = 1;public V1beta1Apiextensions.ConversionResponse.Builder setUidBytes(com.google.protobuf.ByteString value)
uid is an identifier for the individual request/response. This should be copied over from the corresponding `request.uid`.
optional string uid = 1;public List<Runtime.RawExtension> getConvertedObjectsList()
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty. The webhook is expected to set `apiVersion` of these objects to the `request.desiredAPIVersion`. The list must also have the same size as the input list with the same objects in the same order (equal kind, metadata.uid, metadata.name and metadata.namespace). The webhook is allowed to mutate labels and annotations. Any other change to the metadata is silently ignored.
repeated .k8s.io.apimachinery.pkg.runtime.RawExtension convertedObjects = 2;getConvertedObjectsList in interface V1beta1Apiextensions.ConversionResponseOrBuilderpublic int getConvertedObjectsCount()
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty. The webhook is expected to set `apiVersion` of these objects to the `request.desiredAPIVersion`. The list must also have the same size as the input list with the same objects in the same order (equal kind, metadata.uid, metadata.name and metadata.namespace). The webhook is allowed to mutate labels and annotations. Any other change to the metadata is silently ignored.
repeated .k8s.io.apimachinery.pkg.runtime.RawExtension convertedObjects = 2;getConvertedObjectsCount in interface V1beta1Apiextensions.ConversionResponseOrBuilderpublic Runtime.RawExtension getConvertedObjects(int index)
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty. The webhook is expected to set `apiVersion` of these objects to the `request.desiredAPIVersion`. The list must also have the same size as the input list with the same objects in the same order (equal kind, metadata.uid, metadata.name and metadata.namespace). The webhook is allowed to mutate labels and annotations. Any other change to the metadata is silently ignored.
repeated .k8s.io.apimachinery.pkg.runtime.RawExtension convertedObjects = 2;getConvertedObjects in interface V1beta1Apiextensions.ConversionResponseOrBuilderpublic V1beta1Apiextensions.ConversionResponse.Builder setConvertedObjects(int index, Runtime.RawExtension value)
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty. The webhook is expected to set `apiVersion` of these objects to the `request.desiredAPIVersion`. The list must also have the same size as the input list with the same objects in the same order (equal kind, metadata.uid, metadata.name and metadata.namespace). The webhook is allowed to mutate labels and annotations. Any other change to the metadata is silently ignored.
repeated .k8s.io.apimachinery.pkg.runtime.RawExtension convertedObjects = 2;public V1beta1Apiextensions.ConversionResponse.Builder setConvertedObjects(int index, Runtime.RawExtension.Builder builderForValue)
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty. The webhook is expected to set `apiVersion` of these objects to the `request.desiredAPIVersion`. The list must also have the same size as the input list with the same objects in the same order (equal kind, metadata.uid, metadata.name and metadata.namespace). The webhook is allowed to mutate labels and annotations. Any other change to the metadata is silently ignored.
repeated .k8s.io.apimachinery.pkg.runtime.RawExtension convertedObjects = 2;public V1beta1Apiextensions.ConversionResponse.Builder addConvertedObjects(Runtime.RawExtension value)
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty. The webhook is expected to set `apiVersion` of these objects to the `request.desiredAPIVersion`. The list must also have the same size as the input list with the same objects in the same order (equal kind, metadata.uid, metadata.name and metadata.namespace). The webhook is allowed to mutate labels and annotations. Any other change to the metadata is silently ignored.
repeated .k8s.io.apimachinery.pkg.runtime.RawExtension convertedObjects = 2;public V1beta1Apiextensions.ConversionResponse.Builder addConvertedObjects(int index, Runtime.RawExtension value)
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty. The webhook is expected to set `apiVersion` of these objects to the `request.desiredAPIVersion`. The list must also have the same size as the input list with the same objects in the same order (equal kind, metadata.uid, metadata.name and metadata.namespace). The webhook is allowed to mutate labels and annotations. Any other change to the metadata is silently ignored.
repeated .k8s.io.apimachinery.pkg.runtime.RawExtension convertedObjects = 2;public V1beta1Apiextensions.ConversionResponse.Builder addConvertedObjects(Runtime.RawExtension.Builder builderForValue)
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty. The webhook is expected to set `apiVersion` of these objects to the `request.desiredAPIVersion`. The list must also have the same size as the input list with the same objects in the same order (equal kind, metadata.uid, metadata.name and metadata.namespace). The webhook is allowed to mutate labels and annotations. Any other change to the metadata is silently ignored.
repeated .k8s.io.apimachinery.pkg.runtime.RawExtension convertedObjects = 2;public V1beta1Apiextensions.ConversionResponse.Builder addConvertedObjects(int index, Runtime.RawExtension.Builder builderForValue)
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty. The webhook is expected to set `apiVersion` of these objects to the `request.desiredAPIVersion`. The list must also have the same size as the input list with the same objects in the same order (equal kind, metadata.uid, metadata.name and metadata.namespace). The webhook is allowed to mutate labels and annotations. Any other change to the metadata is silently ignored.
repeated .k8s.io.apimachinery.pkg.runtime.RawExtension convertedObjects = 2;public V1beta1Apiextensions.ConversionResponse.Builder addAllConvertedObjects(Iterable<? extends Runtime.RawExtension> values)
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty. The webhook is expected to set `apiVersion` of these objects to the `request.desiredAPIVersion`. The list must also have the same size as the input list with the same objects in the same order (equal kind, metadata.uid, metadata.name and metadata.namespace). The webhook is allowed to mutate labels and annotations. Any other change to the metadata is silently ignored.
repeated .k8s.io.apimachinery.pkg.runtime.RawExtension convertedObjects = 2;public V1beta1Apiextensions.ConversionResponse.Builder clearConvertedObjects()
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty. The webhook is expected to set `apiVersion` of these objects to the `request.desiredAPIVersion`. The list must also have the same size as the input list with the same objects in the same order (equal kind, metadata.uid, metadata.name and metadata.namespace). The webhook is allowed to mutate labels and annotations. Any other change to the metadata is silently ignored.
repeated .k8s.io.apimachinery.pkg.runtime.RawExtension convertedObjects = 2;public V1beta1Apiextensions.ConversionResponse.Builder removeConvertedObjects(int index)
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty. The webhook is expected to set `apiVersion` of these objects to the `request.desiredAPIVersion`. The list must also have the same size as the input list with the same objects in the same order (equal kind, metadata.uid, metadata.name and metadata.namespace). The webhook is allowed to mutate labels and annotations. Any other change to the metadata is silently ignored.
repeated .k8s.io.apimachinery.pkg.runtime.RawExtension convertedObjects = 2;public Runtime.RawExtension.Builder getConvertedObjectsBuilder(int index)
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty. The webhook is expected to set `apiVersion` of these objects to the `request.desiredAPIVersion`. The list must also have the same size as the input list with the same objects in the same order (equal kind, metadata.uid, metadata.name and metadata.namespace). The webhook is allowed to mutate labels and annotations. Any other change to the metadata is silently ignored.
repeated .k8s.io.apimachinery.pkg.runtime.RawExtension convertedObjects = 2;public Runtime.RawExtensionOrBuilder getConvertedObjectsOrBuilder(int index)
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty. The webhook is expected to set `apiVersion` of these objects to the `request.desiredAPIVersion`. The list must also have the same size as the input list with the same objects in the same order (equal kind, metadata.uid, metadata.name and metadata.namespace). The webhook is allowed to mutate labels and annotations. Any other change to the metadata is silently ignored.
repeated .k8s.io.apimachinery.pkg.runtime.RawExtension convertedObjects = 2;getConvertedObjectsOrBuilder in interface V1beta1Apiextensions.ConversionResponseOrBuilderpublic List<? extends Runtime.RawExtensionOrBuilder> getConvertedObjectsOrBuilderList()
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty. The webhook is expected to set `apiVersion` of these objects to the `request.desiredAPIVersion`. The list must also have the same size as the input list with the same objects in the same order (equal kind, metadata.uid, metadata.name and metadata.namespace). The webhook is allowed to mutate labels and annotations. Any other change to the metadata is silently ignored.
repeated .k8s.io.apimachinery.pkg.runtime.RawExtension convertedObjects = 2;getConvertedObjectsOrBuilderList in interface V1beta1Apiextensions.ConversionResponseOrBuilderpublic Runtime.RawExtension.Builder addConvertedObjectsBuilder()
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty. The webhook is expected to set `apiVersion` of these objects to the `request.desiredAPIVersion`. The list must also have the same size as the input list with the same objects in the same order (equal kind, metadata.uid, metadata.name and metadata.namespace). The webhook is allowed to mutate labels and annotations. Any other change to the metadata is silently ignored.
repeated .k8s.io.apimachinery.pkg.runtime.RawExtension convertedObjects = 2;public Runtime.RawExtension.Builder addConvertedObjectsBuilder(int index)
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty. The webhook is expected to set `apiVersion` of these objects to the `request.desiredAPIVersion`. The list must also have the same size as the input list with the same objects in the same order (equal kind, metadata.uid, metadata.name and metadata.namespace). The webhook is allowed to mutate labels and annotations. Any other change to the metadata is silently ignored.
repeated .k8s.io.apimachinery.pkg.runtime.RawExtension convertedObjects = 2;public List<Runtime.RawExtension.Builder> getConvertedObjectsBuilderList()
convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty. The webhook is expected to set `apiVersion` of these objects to the `request.desiredAPIVersion`. The list must also have the same size as the input list with the same objects in the same order (equal kind, metadata.uid, metadata.name and metadata.namespace). The webhook is allowed to mutate labels and annotations. Any other change to the metadata is silently ignored.
repeated .k8s.io.apimachinery.pkg.runtime.RawExtension convertedObjects = 2;public boolean hasResult()
result contains the result of conversion with extra details if the conversion failed. `result.status` determines if the conversion failed or succeeded. The `result.status` field is required and represents the success or failure of the conversion. A successful conversion must set `result.status` to `Success`. A failed conversion must set `result.status` to `Failure` and provide more details in `result.message` and return http status 200. The `result.message` will be used to construct an error message for the end user.
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 3;hasResult in interface V1beta1Apiextensions.ConversionResponseOrBuilderpublic Meta.Status getResult()
result contains the result of conversion with extra details if the conversion failed. `result.status` determines if the conversion failed or succeeded. The `result.status` field is required and represents the success or failure of the conversion. A successful conversion must set `result.status` to `Success`. A failed conversion must set `result.status` to `Failure` and provide more details in `result.message` and return http status 200. The `result.message` will be used to construct an error message for the end user.
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 3;getResult in interface V1beta1Apiextensions.ConversionResponseOrBuilderpublic V1beta1Apiextensions.ConversionResponse.Builder setResult(Meta.Status value)
result contains the result of conversion with extra details if the conversion failed. `result.status` determines if the conversion failed or succeeded. The `result.status` field is required and represents the success or failure of the conversion. A successful conversion must set `result.status` to `Success`. A failed conversion must set `result.status` to `Failure` and provide more details in `result.message` and return http status 200. The `result.message` will be used to construct an error message for the end user.
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 3;public V1beta1Apiextensions.ConversionResponse.Builder setResult(Meta.Status.Builder builderForValue)
result contains the result of conversion with extra details if the conversion failed. `result.status` determines if the conversion failed or succeeded. The `result.status` field is required and represents the success or failure of the conversion. A successful conversion must set `result.status` to `Success`. A failed conversion must set `result.status` to `Failure` and provide more details in `result.message` and return http status 200. The `result.message` will be used to construct an error message for the end user.
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 3;public V1beta1Apiextensions.ConversionResponse.Builder mergeResult(Meta.Status value)
result contains the result of conversion with extra details if the conversion failed. `result.status` determines if the conversion failed or succeeded. The `result.status` field is required and represents the success or failure of the conversion. A successful conversion must set `result.status` to `Success`. A failed conversion must set `result.status` to `Failure` and provide more details in `result.message` and return http status 200. The `result.message` will be used to construct an error message for the end user.
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 3;public V1beta1Apiextensions.ConversionResponse.Builder clearResult()
result contains the result of conversion with extra details if the conversion failed. `result.status` determines if the conversion failed or succeeded. The `result.status` field is required and represents the success or failure of the conversion. A successful conversion must set `result.status` to `Success`. A failed conversion must set `result.status` to `Failure` and provide more details in `result.message` and return http status 200. The `result.message` will be used to construct an error message for the end user.
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 3;public Meta.Status.Builder getResultBuilder()
result contains the result of conversion with extra details if the conversion failed. `result.status` determines if the conversion failed or succeeded. The `result.status` field is required and represents the success or failure of the conversion. A successful conversion must set `result.status` to `Success`. A failed conversion must set `result.status` to `Failure` and provide more details in `result.message` and return http status 200. The `result.message` will be used to construct an error message for the end user.
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 3;public Meta.StatusOrBuilder getResultOrBuilder()
result contains the result of conversion with extra details if the conversion failed. `result.status` determines if the conversion failed or succeeded. The `result.status` field is required and represents the success or failure of the conversion. A successful conversion must set `result.status` to `Success`. A failed conversion must set `result.status` to `Failure` and provide more details in `result.message` and return http status 200. The `result.message` will be used to construct an error message for the end user.
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 3;getResultOrBuilder in interface V1beta1Apiextensions.ConversionResponseOrBuilderpublic final V1beta1Apiextensions.ConversionResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.ConversionResponse.Builder>public final V1beta1Apiextensions.ConversionResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.ConversionResponse.Builder>Copyright © 2023. All rights reserved.