public static final class V1beta1Apiextensions.ConversionResponse extends com.google.protobuf.GeneratedMessageV3 implements V1beta1Apiextensions.ConversionResponseOrBuilder
ConversionResponse describes a conversion response.Protobuf type
k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.ConversionResponse| Modifier and Type | Class and Description |
|---|---|
static class |
V1beta1Apiextensions.ConversionResponse.Builder
ConversionResponse describes a conversion response.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
CONVERTEDOBJECTS_FIELD_NUMBER |
static com.google.protobuf.Parser<V1beta1Apiextensions.ConversionResponse> |
PARSER
Deprecated.
|
static int |
RESULT_FIELD_NUMBER |
static int |
UID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Runtime.RawExtension |
getConvertedObjects(int index)
`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.
|
static V1beta1Apiextensions.ConversionResponse |
getDefaultInstance() |
V1beta1Apiextensions.ConversionResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<V1beta1Apiextensions.ConversionResponse> |
getParserForType() |
Meta.Status |
getResult()
`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.
|
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
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() |
static V1beta1Apiextensions.ConversionResponse.Builder |
newBuilder() |
static V1beta1Apiextensions.ConversionResponse.Builder |
newBuilder(V1beta1Apiextensions.ConversionResponse prototype) |
V1beta1Apiextensions.ConversionResponse.Builder |
newBuilderForType() |
protected V1beta1Apiextensions.ConversionResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1beta1Apiextensions.ConversionResponse |
parseDelimitedFrom(InputStream input) |
static V1beta1Apiextensions.ConversionResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1beta1Apiextensions.ConversionResponse |
parseFrom(byte[] data) |
static V1beta1Apiextensions.ConversionResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1beta1Apiextensions.ConversionResponse |
parseFrom(ByteBuffer data) |
static V1beta1Apiextensions.ConversionResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1beta1Apiextensions.ConversionResponse |
parseFrom(com.google.protobuf.ByteString data) |
static V1beta1Apiextensions.ConversionResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1beta1Apiextensions.ConversionResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1beta1Apiextensions.ConversionResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1beta1Apiextensions.ConversionResponse |
parseFrom(InputStream input) |
static V1beta1Apiextensions.ConversionResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1beta1Apiextensions.ConversionResponse> |
parser() |
V1beta1Apiextensions.ConversionResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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 UID_FIELD_NUMBER
public static final int CONVERTEDOBJECTS_FIELD_NUMBER
public static final int RESULT_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1beta1Apiextensions.ConversionResponse> 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 hasUid()
`uid` is an identifier for the individual request/response. This should be copied over from the corresponding AdmissionRequest.
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 AdmissionRequest.
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 AdmissionRequest.
optional string uid = 1;getUidBytes in interface V1beta1Apiextensions.ConversionResponseOrBuilderpublic 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 ConversionRequest.desiredAPIVersion. The list must also has the same size as input list with the same objects in the same order(i.e. equal UIDs and object meta)
repeated .k8s.io.apimachinery.pkg.runtime.RawExtension convertedObjects = 2;getConvertedObjectsList 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 ConversionRequest.desiredAPIVersion. The list must also has the same size as input list with the same objects in the same order(i.e. equal UIDs and object meta)
repeated .k8s.io.apimachinery.pkg.runtime.RawExtension convertedObjects = 2;getConvertedObjectsOrBuilderList 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 ConversionRequest.desiredAPIVersion. The list must also has the same size as input list with the same objects in the same order(i.e. equal UIDs and object meta)
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 ConversionRequest.desiredAPIVersion. The list must also has the same size as input list with the same objects in the same order(i.e. equal UIDs and object meta)
repeated .k8s.io.apimachinery.pkg.runtime.RawExtension convertedObjects = 2;getConvertedObjects in interface V1beta1Apiextensions.ConversionResponseOrBuilderpublic 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 ConversionRequest.desiredAPIVersion. The list must also has the same size as input list with the same objects in the same order(i.e. equal UIDs and object meta)
repeated .k8s.io.apimachinery.pkg.runtime.RawExtension convertedObjects = 2;getConvertedObjectsOrBuilder in interface V1beta1Apiextensions.ConversionResponseOrBuilderpublic 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 represent 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 represent 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 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 represent 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 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 V1beta1Apiextensions.ConversionResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1beta1Apiextensions.ConversionResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1beta1Apiextensions.ConversionResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1beta1Apiextensions.ConversionResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1beta1Apiextensions.ConversionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1beta1Apiextensions.ConversionResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1beta1Apiextensions.ConversionResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1beta1Apiextensions.ConversionResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1beta1Apiextensions.ConversionResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1beta1Apiextensions.ConversionResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1beta1Apiextensions.ConversionResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1beta1Apiextensions.ConversionResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1beta1Apiextensions.ConversionResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1beta1Apiextensions.ConversionResponse.Builder newBuilder()
public static V1beta1Apiextensions.ConversionResponse.Builder newBuilder(V1beta1Apiextensions.ConversionResponse prototype)
public V1beta1Apiextensions.ConversionResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1beta1Apiextensions.ConversionResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1beta1Apiextensions.ConversionResponse getDefaultInstance()
public static com.google.protobuf.Parser<V1beta1Apiextensions.ConversionResponse> parser()
public com.google.protobuf.Parser<V1beta1Apiextensions.ConversionResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1beta1Apiextensions.ConversionResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019. All rights reserved.