private Object convertValue(Descriptors.FieldDescriptor fieldDescriptor, Object value) {
        switch (fieldDescriptor.getType()) {
            case STRING:
                return value.toString();
            case INT32:
                return Integer.parseInt(value.toString());
            case INT64:
                return Long.parseLong(value.toString());
            case BOOL:
                return Boolean.parseBoolean(value.toString());
            case BYTES:
                return ByteString.copyFromUtf8(value.toString());
            default:
                throw new IllegalArgumentException("Unsupported field type: " + fieldDescriptor.getType());
        }
    }
Decode the base64-encoded proto description into a Descriptor

@param base64ProtoDescription The base64-encoded proto description
@return The dynamic Descriptor
inlong-sdk/transform-sdk/src/main/java/org/apache/inlong/sdk/transform/encode/PbSinkEncoder.java