Package io.kubernetes.client.proto
Interface V1beta1Apiextensions.ConversionResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1beta1Apiextensions.ConversionResponse,V1beta1Apiextensions.ConversionResponse.Builder
- Enclosing class:
- V1beta1Apiextensions
public static interface V1beta1Apiextensions.ConversionResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetConvertedObjects(int index) convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty.intconvertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty.convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty.getConvertedObjectsOrBuilder(int index) convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty.List<? extends Runtime.RawExtensionOrBuilder>convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty.result contains the result of conversion with extra details if the conversion failed.result contains the result of conversion with extra details if the conversion failed.getUid()uid is an identifier for the individual request/response.com.google.protobuf.ByteStringuid is an identifier for the individual request/response.booleanresult contains the result of conversion with extra details if the conversion failed.booleanhasUid()uid is an identifier for the individual request/response.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasUid
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; -
getUid
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; -
getUidBytes
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; -
getConvertedObjectsList
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; -
getConvertedObjects
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
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; -
getConvertedObjectsOrBuilderList
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; -
getConvertedObjectsOrBuilder
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; -
hasResult
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; -
getResult
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; -
getResultOrBuilder
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;
-